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

Disassembly:
sub esp, 0xa4
mov eax, dword [0x4ba858]
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.004295f0
test eax, eax
jne 0x43f595
test esi, esi
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
jne 0x43f397
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x34]
lea ecx, [eax*4 + 4]
push ecx
push 0x40
call ebp
mov esi, eax
test esi, esi
je case.0x43f62a.8
push esi
push edi
call fcn.00429830
test byte [esp + 0x30], 2
je 0x43f52c
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.004812ca
mov edi, eax
mov eax, dword [str.graph]
lea edx, [esp + 0x8c]
push edx
push eax
push 0x58cfc0
push 0x49ab08
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [str.archive.dat]
push ecx
push edi
call fcn.00431110
push edi
mov esi, eax
call fcn.0048134d
add esp, 0x24
test esi, esi
je case.0x43f62a.8
push esi
call fcn.00430c00
add esp, 4
push eax
push 0
call ebp
mov edi, eax
test edi, edi
jne 0x43f43d
push esi
call fcn.00430c50
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048181f
add esp, 0xa4
ret
push edi
push esi
call fcn.00430b80
add esp, 8
test eax, eax
push esi
jne 0x43f464
call fcn.00430c50
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x43f62a.8
call fcn.00430c10
push esi
call fcn.00430c50
add esp, 8
lea edx, [esp + 0x30]
push edx
push edi
call fcn.004295f0
test eax, eax
jne case.0x43f62a.8
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x34]
lea ecx, [eax*4 + 4]
push ecx
push 0x40
call ebp
mov esi, eax
push esi
push edi
call fcn.00429830
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 0x43f516
lea esp, [esp]
mov eax, dword [esp + 0x1c]
push eax
push ebx
push ebp
call fcn.004827d0
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 0x43f4f0
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 0x43f568
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
push esi
mov edi, esi
call fcn.0043f260
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 0x43f572
mov ecx, dword [esp + 0x34]
mov dword [ebx], ecx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43f580
mov edx, dword [esp + 0x38]
mov dword [eax], edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43f58e
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, esi
jmp 0x43f424
mov al, byte [edi]
cmp al, 0x42
jne 0x43f5b2
cmp byte [edi + 1], 0x4d
jne 0x43f5b2
mov esi, dword [edi + 0xa]
mov ebp, dword [edi + 0x12]
mov edx, dword [edi + 0x16]
movzx eax, word [edi + 0x1c]
add esi, edi
jmp 0x43f5e6
cmp al, 0x54
jne 0x43f5d7
cmp byte [edi + 1], 0x48
jne 0x43f5d7
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 0x43f5f0
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 0x43f60f
mov ecx, dword [esp + 0x10]
imul ecx, ebp
lea edx, [ecx*4 + 4]
push edx
push 0x40
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.0x43f62a.8
movzx eax, byte [eax + 0x43f790]
jmp dword [eax*4 + 0x43f780]
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 0x43f718
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 0x43f6a2
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 0x43f670
mov edx, dword [esp + 0x2c]
add esi, ebx
add ecx, edx
sub dword [esp + 0x14], 1
jne 0x43f665
jmp 0x43f718
test bl, bl
je 0x43f6e8
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 0x43f718
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
call fcn.004827d0
add esp, 0xc
add esi, ebx
sub edi, ebx
sub dword [esp + 0x14], 1
jne 0x43f6d0
jmp 0x43f718
cmp dword [esp + 0x10], 0
mov ebx, dword [esp + 0x18]
lea edi, [ebp*4]
jle 0x43f718
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
push edi
push esi
push ebx
call fcn.004827d0
add esp, 0xc
add esi, edi
add ebx, edi
sub dword [esp + 0x14], 1
jne 0x43f702
cmp dword [esp + 0xb8], 0
je 0x43f74f
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.0043f260
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 0x43f759
mov dword [eax], ebp
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43f767
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43f775
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov eax, dword [esp + 0x18]
jmp 0x43f424