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

Disassembly:
push 0xffffffffffffffff
push 0x4d03d7
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe4]
mov ebx, dword [esp + 0xe0]
mov edi, dword [esp + 0xf0]
push 0x28
mov esi, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.004a84f2
add esp, 4
mov dword [esp + 0x3c], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0xd8], ebp
je 0x43f8dd
push eax
call fcn.00424820
mov ebp, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xf4]
mov dword [esp + 0xd8], 0xffffffff
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0xec]
mov dword [ebx + 8], eax
sub eax, 1
mov dword [ebx], edx
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], edi
je 0x43f9dd
sub eax, 1
je 0x43f99d
sub eax, 1
jne 0x43f936
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 0x43f94c
test ebp, ebp
je 0x43f945
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
xor eax, eax
jmp 0x43fd38
call fcn.0043d120
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43f97d
test ebp, ebp
je 0x43f96f
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43fd38
mov edi, dword [ebp]
push eax
add edi, 8
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [edi]
push eax
mov ecx, ebp
call edx
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x43fa7d
mov edx, esi
lea eax, [esp + 0x5c]
call fcn.00404fb0
mov dword [esp + 0xd8], 4
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0x74], 8
jb 0x43fa7d
mov ecx, dword [esp + 0x60]
jmp 0x43fa74
mov edx, esi
lea eax, [esp + 0x40]
call fcn.00404fb0
lea ecx, [esp + 0x40]
lea esi, [esp + 0xb0]
mov dword [esp + 0xd8], 1
call fcn.0041fcc0
mov byte [esp + 0xd8], 3
cmp dword [esp + 0x58], 8
jb 0x43fa1f
mov edx, dword [esp + 0x44]
push edx
call fcn.004a85e6
add esp, 4
xor eax, eax
mov esi, 0x10
cmp dword [esp + 0xc8], esi
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x58], 7
jae 0x43fa4e
lea eax, [esp + 0xb4]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0xc8], esi
jb 0x43fa7d
mov ecx, dword [esp + 0xb4]
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 edi, edi
cmp esi, edi
je 0x43f93a
cmp dword [esp + 0x18], edi
je 0x43fd08
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x98]
push eax
mov ecx, ebp
call edx
push 4
push str.Root
mov dword [esp + 0xe0], 5
mov eax, dword [esp + 0xb0]
push edi
lea ecx, [esp + 0xa0]
call fcn.00406120
test eax, eax
jne 0x43fcc7
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], edi
mov word [esp + 0x7c], di
mov byte [esp + 0xd8], 6
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
push esi
mov ecx, ebp
call edx
mov esi, eax
cmp esi, edi
je 0x43fc38
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push esi
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebp
call edx
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0xa0]
mov byte [esp + 0xe4], 7
call fcn.00405240
mov edi, 8
mov byte [esp + 0xd8], 6
cmp dword [esp + 0x74], edi
jb 0x43fb5b
mov eax, dword [esp + 0x60]
push eax
call fcn.004a85e6
add esp, 4
mov eax, dword [esp + 0xa8]
push 6
push 0x4db688
push 0
lea ecx, [esp + 0xa0]
call fcn.00406120
test eax, eax
jne 0x43fc21
mov edx, str.name
lea eax, [esp + 0x20]
call fcn.00404fb0
push 0
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xe0], 8
mov edx, dword [ebp]
mov edx, dword [edx + 0x3c]
lea ecx, [esp + 0x28]
push ecx
push esi
mov ecx, ebp
call edx
mov byte [esp + 0xd8], 6
cmp dword [esp + 0x38], edi
jb 0x43fbc7
mov eax, dword [esp + 0x24]
push eax
call fcn.004a85e6
add esp, 4
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.0041fca0
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 9
call fcn.004155c0
mov byte [esp + 0xd8], 6
cmp dword [esp + 0x38], 8
mov byte [esp + 0x17], al
jb 0x43fc05
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004a85e6
add esp, 4
xor eax, eax
cmp byte [esp + 0x17], al
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
jne 0x43fc97
lea edi, [eax + 8]
mov edx, dword [ebp]
mov eax, dword [edx + 0x30]
push esi
mov ecx, ebp
call eax
mov esi, eax
test esi, esi
jne 0x43fb12
jmp 0x43fc3d
mov edi, 8
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
cmp dword [esp + 0x90], edi
jb 0x43fc5e
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004a85e6
add esp, 4
xor eax, eax
cmp dword [esp + 0xac], edi
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], eax
mov word [esp + 0x7c], ax
jb 0x43fc90
mov edx, dword [esp + 0x98]
push edx
call fcn.004a85e6
add esp, 4
xor eax, eax
jmp 0x43fd38
cmp dword [esp + 0x90], 8
jb 0x43fcae
mov eax, dword [esp + 0x7c]
push eax
call fcn.004a85e6
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], eax
mov word [esp + 0x7c], ax
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0xac], 8
jb 0x43fcec
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004a85e6
add esp, 4
xor eax, eax
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], eax
mov word [esp + 0x98], ax
mov edx, dword [esp + 0xe8]
push edx
push esi
push ebp
mov ecx, ebx
call fcn.00440eb0
mov ecx, dword [esp + 0x1c]
push 1
push ecx
push eax
push ebx
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 + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004a85d7
add esp, 0xc8
ret 0x18