Function at 0x43f1d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa4
mov eax, dword [0x4ba850]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
push ebx
mov ebx, dword [esp + 0xb4]
push ebp
push esi
mov esi, dword [esp + 0xc8]
push edi
mov edi, dword [esp + 0xbc]
lea edx, [esp + 0x30]
push edx
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], esi
call fcn.00429550
test eax, eax
jne 0x43f455
test esi, esi
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
jne 0x43f257
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x34]
lea ecx, [eax*4 + 4]
push ecx
push pe_nt_image_headers32
call ebp
mov esi, eax
test esi, esi
je case.0x43f4ea.8
push esi
push edi
call fcn.00429790
test byte [esp + 0x30], 2
je 0x43f3ec
mov ebx, esi
mov ecx, 0x10
lea esi, [esp + 0x30]
lea edi, [esp + 0x70]
push 0x104
mov dword [esp + 0x18], ebx
rep movsd dword es:[edi], dword [esi]
call fcn.004810fa
mov edi, eax
mov eax, dword [0x4b4634]
lea edx, [esp + 0x8c]
push edx
push eax
push 0x58cfc0
push 0x49aaf8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x4b45f8]
push ecx
push edi
call fcn.00431070
push edi
mov esi, eax
call fcn.0048117d
add esp, 0x24
test esi, esi
je case.0x43f4ea.8
push esi
call fcn.00430b60
add esp, 4
push eax
push 0
call ebp
mov edi, eax
test edi, edi
jne 0x43f2fd
push esi
call fcn.00430bb0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048164f
add esp, 0xa4
ret
push edi
push esi
call fcn.00430ae0
add esp, 8
test eax, eax
push esi
jne 0x43f324
call fcn.00430bb0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x43f4ea.8
call fcn.00430b70
push esi
call fcn.00430bb0
add esp, 8
lea edx, [esp + 0x30]
push edx
push edi
call fcn.00429550
test eax, eax
jne case.0x43f4ea.8
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x34]
lea ecx, [eax*4 + 4]
push ecx
push pe_nt_image_headers32
call ebp
mov esi, eax
push esi
push edi
call fcn.00429790
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x74]
add edi, edi
add edi, edi
imul ecx, edi
lea eax, [edx*4]
mov edx, dword [esp + 0xa8]
add ecx, esi
cmp dword [esp + 0x78], 0
mov dword [esp + 0x1c], eax
lea ebp, [ecx + edx*4]
mov dword [esp + 0x18], 0
jle 0x43f3d6
lea esp, [esp]
mov eax, dword [esp + 0x1c]
push eax
push ebx
push ebp
call fcn.00482600
mov eax, dword [esp + 0x24]
add ebx, dword [esp + 0x28]
add eax, 1
add esp, 0xc
add ebp, edi
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x18], eax
jl 0x43f3b0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0xb8], 0
je 0x43f428
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
push esi
mov edi, esi
call fcn.0043f120
add esp, 0xc
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 2
add dword [esp + 0x34], eax
add dword [esp + 0x38], eax
test ebx, ebx
je 0x43f432
mov ecx, dword [esp + 0x34]
mov dword [ebx], ecx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43f440
mov edx, dword [esp + 0x38]
mov dword [eax], edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43f44e
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, esi
jmp 0x43f2e4
mov al, byte [edi]
cmp al, 0x42
jne 0x43f472
cmp byte [edi + 1], 0x4d
jne 0x43f472
mov esi, dword [edi + 0xa]
mov ebp, dword [edi + 0x12]
mov edx, dword [edi + 0x16]
movzx eax, word [edi + 0x1c]
add esi, edi
jmp 0x43f4a6
cmp al, 0x54
jne 0x43f497
cmp byte [edi + 1], 0x48
jne 0x43f497
movzx ecx, word [edi + 0xc]
movzx ebp, word [edi + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0x20
lea esi, [edi + 0x10]
xor bl, bl
jmp 0x43f4b0
movzx ebp, word [edi + 0xc]
movzx edx, word [edi + 0xe]
movsx eax, byte [edi + 0x10]
lea esi, [edi + 0x12]
mov bl, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x43f4cf
mov ecx, dword [esp + 0x10]
imul ecx, ebp
lea edx, [ecx*4 + 4]
push edx
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff8
cmp eax, 0x18
ja case.0x43f4ea.8
movzx eax, byte [eax + 0x43f650]
jmp dword [eax*4 + 0x43f640]
mov ecx, dword [esp + 0x10]
lea eax, [ebp + ebp*2]
lea ebx, [eax + 3]
and ebx, 0xfffffffc
sub ebx, eax
add eax, ebp
test ecx, ecx
jle 0x43f5d8
add ecx, 0xffffffff
imul ecx, eax
mov edx, eax
mov eax, dword [esp + 0x10]
neg edx
add ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], eax
test ebp, ebp
mov eax, ecx
jle 0x43f562
mov edi, ebp
lea ecx, [ecx]
movzx edx, byte [esi]
mov byte [eax], dl
movzx edx, byte [esi + 1]
add esi, 1
add eax, 1
mov byte [eax], dl
movzx edx, byte [esi + 1]
add esi, 1
add eax, 1
mov byte [eax], dl
add eax, 1
mov byte [eax], 0xff
add esi, 1
add eax, 1
sub edi, 1
jne 0x43f530
mov edx, dword [esp + 0x2c]
add esi, ebx
add ecx, edx
sub dword [esp + 0x14], 1
jne 0x43f525
jmp 0x43f5d8
test bl, bl
je 0x43f5a8
mov eax, dword [esp + 0x10]
lea ebx, [ebp*4]
lea edi, [eax - 1]
imul edi, ebx
add edi, dword [esp + 0x18]
test eax, eax
jle 0x43f5d8
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
call fcn.00482600
add esp, 0xc
add esi, ebx
sub edi, ebx
sub dword [esp + 0x14], 1
jne 0x43f590
jmp 0x43f5d8
cmp dword [esp + 0x10], 0
mov ebx, dword [esp + 0x18]
lea edi, [ebp*4]
jle 0x43f5d8
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
push edi
push esi
push ebx
call fcn.00482600
add esp, 0xc
add esi, edi
add ebx, edi
sub dword [esp + 0x14], 1
jne 0x43f5c2
cmp dword [esp + 0xb8], 0
je 0x43f60f
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.0043f120
add esp, 0xc
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
add ebp, 2
add dword [esp + 0x10], 2
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43f619
mov dword [eax], ebp
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43f627
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43f635
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov eax, dword [esp + 0x18]
jmp 0x43f2e4