Function at 0x43f340
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d0467
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xec]
mov eax, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xf0]
push 0x28
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.004a84f2
add esp, 4
mov dword [esp + 0x40], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0xdc], ebp
je 0x43f3c6
push eax
call fcn.00424820
mov ebp, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xdc], 0xffffffff
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 0x10], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov eax, ebx
sub eax, 1
je 0x43f4c5
sub eax, 1
je 0x43f485
sub eax, 1
jne 0x43f41e
call fcn.0043d120
mov eax, dword [eax + 0x38]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x43f434
test ebp, ebp
je 0x43f42d
mov eax, dword [ebp]
mov edx, dword [eax]
push 1
mov ecx, ebp
call edx
xor eax, eax
jmp 0x43f828
call fcn.0043d120
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43f465
test ebp, ebp
je 0x43f457
mov eax, dword [ebp]
mov edx, dword [eax]
push 1
mov ecx, ebp
call edx
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43f828
mov edi, dword [ebp]
push eax
add edi, 8
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 0x43f565
mov edx, esi
lea eax, [esp + 0x60]
call fcn.00404fb0
mov dword [esp + 0xdc], 4
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov dword [esp + 0xdc], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x43f565
mov ecx, dword [esp + 0x64]
jmp 0x43f55c
mov edx, esi
lea eax, [esp + 0x44]
call fcn.00404fb0
lea ecx, [esp + 0x44]
lea esi, [esp + 0xb4]
mov dword [esp + 0xdc], 1
call fcn.0041fcc0
mov byte [esp + 0xdc], 3
cmp dword [esp + 0x5c], 8
jb 0x43f507
mov edx, dword [esp + 0x48]
push edx
call fcn.004a85e6
add esp, 4
xor eax, eax
mov esi, 0x10
cmp dword [esp + 0xcc], esi
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x5c], 7
jae 0x43f536
lea eax, [esp + 0xb8]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov dword [esp + 0xdc], 0xffffffff
cmp dword [esp + 0xcc], esi
jb 0x43f565
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.004a85e6
add esp, 4
mov edx, dword [ebp]
mov eax, dword [edx + 0x54]
mov ecx, ebp
call eax
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x43f589
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
xor eax, eax
jmp 0x43f828
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x43f805
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x9c]
push eax
mov ecx, ebp
call edx
push 4
push str.Root
mov dword [esp + 0xe4], 5
mov eax, dword [esp + 0xb4]
push ebx
lea ecx, [esp + 0xa4]
call fcn.00406120
test eax, eax
jne 0x43f7c4
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov byte [esp + 0xdc], 6
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
push esi
mov ecx, ebp
call edx
mov esi, eax
cmp esi, ebx
je 0x43f729
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push esi
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebp
call edx
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0xa4]
mov byte [esp + 0xe8], 7
call fcn.00405240
mov ebx, 8
mov byte [esp + 0xdc], 6
cmp dword [esp + 0x78], ebx
jb 0x43f656
mov eax, dword [esp + 0x64]
push eax
call fcn.004a85e6
add esp, 4
mov eax, dword [esp + 0xac]
push 6
push 0x4db688
push 0
lea ecx, [esp + 0xa4]
call fcn.00406120
test eax, eax
jne 0x43f714
mov edx, str.name
lea eax, [esp + 0x24]
call fcn.00404fb0
push 0
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xe4], 8
mov edx, dword [ebp]
mov edx, dword [edx + 0x3c]
lea ecx, [esp + 0x2c]
push ecx
push esi
mov ecx, ebp
call edx
mov byte [esp + 0xdc], 6
cmp dword [esp + 0x3c], ebx
jb 0x43f6c5
mov eax, dword [esp + 0x28]
push eax
call fcn.004a85e6
add esp, 4
lea eax, [esp + 0x24]
call fcn.0041fca0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xdc], 9
call fcn.004155c0
mov byte [esp + 0xdc], 6
cmp dword [esp + 0x3c], 8
mov bl, al
jb 0x43f6fd
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004a85e6
add esp, 4
xor eax, eax
test bl, bl
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], eax
mov word [esp + 0x28], ax
jne 0x43f78e
mov edx, dword [ebp]
mov eax, dword [edx + 0x30]
push esi
mov ecx, ebp
call eax
mov esi, eax
test esi, esi
jne 0x43f60d
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
mov esi, 8
cmp dword [esp + 0x94], esi
jb 0x43f752
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004a85e6
add esp, 4
xor eax, eax
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
jb 0x43f787
mov edx, dword [esp + 0x9c]
push edx
call fcn.004a85e6
add esp, 4
xor eax, eax
jmp 0x43f828
cmp dword [esp + 0x94], 8
jb 0x43f7a8
mov eax, dword [esp + 0x80]
push eax
call fcn.004a85e6
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov dword [esp + 0xdc], 0xffffffff
cmp dword [esp + 0xb0], 8
jb 0x43f7e9
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004a85e6
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], eax
mov word [esp + 0x9c], ax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push 0
push edx
push esi
push eax
mov ecx, ebp
call fcn.0043dec0
mov edx, dword [ebp]
mov esi, eax
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
mov eax, esi
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.004a85d7
add esp, 0xcc
ret 0x14