Function at 0x41fa70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x485dec
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4a02b4]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a02b4]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe4]
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0xdc]
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xec]
mov dword [ebp + 0x30], eax
sub eax, 1
mov dword [esp + 0x14], ecx
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x38], ecx
mov dword [ebp + 0x34], edi
je 0x41fbc2
sub eax, 1
je 0x41fb55
sub eax, 1
jne 0x41fb2a
call fcn.0041d460
mov eax, dword [eax + 0x38]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41fb2a
call fcn.0041d460
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41fb31
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x41ff3d
mov edi, dword [ebp]
mov ebx, 8
push eax
add edi, ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov eax, dword [edi]
mov ecx, ebp
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x41fc8c
xor edi, edi
mov eax, esi
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], edi
mov word [esp + 0x58], di
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41fb70
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x5c]
call fcn.004020a0
mov dword [esp + 0xd0], 3
mov edx, dword [ebp]
mov edx, dword [edx + 4]
mov eax, esi
push eax
mov ecx, ebp
call edx
mov dword [esp + 0xd0], 0xffffffff
cmp dword [esp + 0x6c], 8
jb 0x41fc87
mov eax, dword [esp + 0x58]
push eax
jmp 0x41fc7f
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fbe0
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x40]
call fcn.004020a0
mov edi, esi
lea esi, [esp + 0xa8]
mov dword [esp + 0xd0], ebx
call fcn.0040e4f0
mov byte [esp + 0xd0], 2
cmp dword [esp + 0x50], 8
jb 0x41fc2b
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00468cbd
add esp, 4
mov eax, dword [esp + 0xac]
mov esi, 0x10
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jae 0x41fc58
lea eax, [esp + 0xac]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov dword [esp + 0xd0], 0xffffffff
cmp dword [esp + 0xc0], esi
jb 0x41fc87
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00468cbd
add esp, 4
mov ebx, 8
mov edx, dword [ebp]
mov eax, dword [edx + 0x50]
mov ecx, ebp
call eax
mov esi, eax
test esi, esi
je 0x41fb2a
cmp dword [esp + 0x14], 0
je 0x41ff1b
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x90]
push eax
mov ecx, ebp
call edx
mov edi, 4
mov dword [esp + 0xd0], edi
mov eax, dword [esp + 0xa0]
push str.Root
lea ecx, [esp + 0x90]
call fcn.00402710
test eax, eax
jne 0x41fedb
xor edi, edi
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], edi
mov word [esp + 0x74], di
mov byte [esp + 0xd0], 5
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
push esi
mov ecx, ebp
call edx
mov esi, eax
cmp esi, edi
je 0x41fe57
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call edx
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x98]
mov byte [esp + 0xdc], 6
call fcn.00401e00
mov byte [esp + 0xd0], 5
cmp dword [esp + 0x34], ebx
jb 0x41fd64
mov eax, dword [esp + 0x20]
push eax
call fcn.00468cbd
add esp, 4
mov eax, dword [esp + 0xa0]
push str.Window
mov edi, 6
lea ecx, [esp + 0x90]
call fcn.00402710
test eax, eax
jne 0x41fe42
mov edx, str.name
lea eax, [esp + 0x1c]
call fcn.00401d60
push 0
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0xd8], 7
mov edx, dword [ebp]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0x24]
push ecx
push esi
mov ecx, ebp
call edx
mov byte [esp + 0xd0], 5
cmp dword [esp + 0x34], ebx
jb 0x41fdd1
mov eax, dword [esp + 0x20]
push eax
call fcn.00468cbd
add esp, 4
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
call fcn.0040e4d0
mov byte [esp + 0xd0], 8
cmp dword [eax + 0x18], ebx
mov edi, dword [eax + 0x14]
jb 0x41fdf3
mov eax, dword [eax + 4]
jmp 0x41fdf6
add eax, 4
push eax
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x74]
call fcn.00402710
test eax, eax
sete bl
mov byte [esp + 0xd0], 5
cmp dword [esp + 0x34], 8
jb 0x41fe28
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00468cbd
add esp, 4
xor eax, eax
test bl, bl
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], eax
mov word [esp + 0x20], ax
jne 0x41fea6
lea ebx, [eax + 8]
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
push esi
mov ecx, ebp
call eax
mov esi, eax
test esi, esi
jne 0x41fd20
cmp dword [esp + 0x88], ebx
jb 0x41fe6d
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00468cbd
add esp, 4
xor eax, eax
cmp dword [esp + 0xa4], ebx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
jb 0x41fe9f
mov edx, dword [esp + 0x90]
push edx
call fcn.00468cbd
add esp, 4
xor eax, eax
jmp 0x41ff3d
cmp dword [esp + 0x88], 8
jb 0x41febd
mov eax, dword [esp + 0x74]
push eax
call fcn.00468cbd
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
mov ebx, 8
mov dword [esp + 0xd0], 0xffffffff
cmp dword [esp + 0xa4], ebx
jb 0x41feff
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00468cbd
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], eax
mov word [esp + 0x90], ax
mov edx, dword [esp + 0xe0]
push edx
push esi
push ebp
mov ecx, ebp
call fcn.004210a0
mov ecx, dword [esp + 0x18]
push 1
push ecx
push ebp
mov edx, eax
mov ecx, ebp
call fcn.0041e100
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00468c2b
add esp, 0xc0
ret 0x18