Function at 0x41f580
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x485e6c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4a02b4]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a02b4]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe4]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xec]
mov dword [ebp + 0x30], eax
sub eax, 1
mov dword [esp + 0x18], ecx
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x38], ecx
mov dword [ebp + 0x34], edi
je 0x41f6d2
sub eax, 1
je 0x41f665
sub eax, 1
jne 0x41f63a
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 0x41f63a
call fcn.0041d460
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41f641
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x41fa3c
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 0x41f79c
xor edi, edi
mov eax, esi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], di
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41f680
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x60]
call fcn.004020a0
mov dword [esp + 0xd4], 3
mov edx, dword [ebp]
mov edx, dword [edx + 4]
mov eax, esi
push eax
mov ecx, ebp
call edx
mov dword [esp + 0xd4], 0xffffffff
cmp dword [esp + 0x70], 8
jb 0x41f797
mov eax, dword [esp + 0x5c]
push eax
jmp 0x41f78f
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f6f0
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x44]
call fcn.004020a0
mov edi, esi
lea esi, [esp + 0xac]
mov dword [esp + 0xd4], ebx
call fcn.0040e4f0
mov byte [esp + 0xd4], 2
cmp dword [esp + 0x54], 8
jb 0x41f73b
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00468cbd
add esp, 4
mov eax, dword [esp + 0xb0]
mov esi, 0x10
cmp dword [esp + 0xc4], esi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jae 0x41f768
lea eax, [esp + 0xb0]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov dword [esp + 0xd4], 0xffffffff
cmp dword [esp + 0xc4], esi
jb 0x41f797
mov ecx, dword [esp + 0xb0]
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 0x41f63a
cmp dword [esp + 0x18], 0
je 0x41fa2b
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
call edx
mov edi, 4
mov dword [esp + 0xd4], edi
mov eax, dword [esp + 0xa4]
push str.Root
lea ecx, [esp + 0x94]
call fcn.00402710
test eax, eax
jne 0x41f9eb
xor edi, edi
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], edi
mov word [esp + 0x78], di
mov byte [esp + 0xd4], 5
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
push esi
mov ecx, ebp
call edx
mov esi, eax
cmp esi, edi
je 0x41f967
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call edx
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x9c]
mov byte [esp + 0xe0], 6
call fcn.00401e00
mov byte [esp + 0xd4], 5
cmp dword [esp + 0x38], ebx
jb 0x41f874
mov eax, dword [esp + 0x24]
push eax
call fcn.00468cbd
add esp, 4
mov eax, dword [esp + 0xa4]
push str.Window
mov edi, 6
lea ecx, [esp + 0x94]
call fcn.00402710
test eax, eax
jne 0x41f952
mov edx, str.name
lea eax, [esp + 0x20]
call fcn.00401d60
push 0
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0xdc], 7
mov edx, dword [ebp]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0x28]
push ecx
push esi
mov ecx, ebp
call edx
mov byte [esp + 0xd4], 5
cmp dword [esp + 0x38], ebx
jb 0x41f8e1
mov eax, dword [esp + 0x24]
push eax
call fcn.00468cbd
add esp, 4
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.0040e4d0
mov byte [esp + 0xd4], 8
cmp dword [eax + 0x18], ebx
mov edi, dword [eax + 0x14]
jb 0x41f903
mov eax, dword [eax + 4]
jmp 0x41f906
add eax, 4
push eax
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x78]
call fcn.00402710
test eax, eax
sete bl
mov byte [esp + 0xd4], 5
cmp dword [esp + 0x38], 8
jb 0x41f938
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00468cbd
add esp, 4
xor eax, eax
test bl, bl
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
jne 0x41f9b6
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 0x41f830
cmp dword [esp + 0x8c], ebx
jb 0x41f97d
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00468cbd
add esp, 4
xor eax, eax
cmp dword [esp + 0xa8], ebx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], eax
mov word [esp + 0x78], ax
jb 0x41f9af
mov edx, dword [esp + 0x94]
push edx
call fcn.00468cbd
add esp, 4
xor eax, eax
jmp 0x41fa3c
cmp dword [esp + 0x8c], 8
jb 0x41f9cd
mov eax, dword [esp + 0x78]
push eax
call fcn.00468cbd
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], eax
mov word [esp + 0x78], ax
mov ebx, 8
mov dword [esp + 0xd4], 0xffffffff
cmp dword [esp + 0xa8], ebx
jb 0x41fa0f
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00468cbd
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], eax
mov word [esp + 0x94], ax
mov edx, dword [esp + 0x1c]
push 0
push edx
push ebp
mov edx, esi
mov ecx, ebp
call fcn.0041e100
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00468c2b
add esp, 0xc4
ret 0x14