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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6b88
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x10]
sub eax, 1
mov ebx, 0
jne 0x43148a
lea ecx, [esi + 4]
call fcn.004235e0
mov dword [esi + 0x20], ebx
mov dword [esp + 0x50], 0x4a39a2
mov dword [esp + 0x54], 0x4a3cd1
mov dword [esp + 0x58], fcn.004a38c5
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0x8000
mov dword [esp + 0x4c], 0x4dba34
mov dword [esp + 0x64], ebx
mov byte [esp + 0x68], bl
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x78], ebx
cmp byte [eax + 0x11c], 0
je 0x4314d3
add eax, 0xc
jmp 0x4314d6
mov eax, dword [eax + 8]
mov esi, dword [ebp + 8]
lea edx, [eax + 4]
push esi
lea ecx, [esp + 0x50]
call fcn.0043db30
test al, al
jne 0x43154e
mov ecx, esi
call fcn.004384d0
push 0x51e970
push case.0x44a944.0
mov edx, eax
call fcn.004397d0
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x64]
add esp, 8
mov dword [esp + 0x4c], 0x4db6c4
cmp eax, ebx
je 0x431537
mov eax, dword [esp + 0x64]
cmp eax, ebx
jne 0x4315ce
xor esi, esi
mov dword [esp + 0x10], ebx
cmp esi, ebx
jne 0x431639
mov ecx, dword [ebp + 8]
call fcn.004384d0
push 0x51e980
push case.0x44a944.0
mov edx, eax
call fcn.004397d0
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x64]
add esp, 8
mov dword [esp + 0x4c], 0x4db6c4
cmp eax, ebx
je 0x4315b7
jmp 0x4315a0
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x60], ecx
call dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
add esp, 4
cmp eax, ebx
jne 0x4315a0
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea edi, [esp + 0x2c]
mov dword [esp + 0x24], str.PNG:
call fcn.00414b30
cmp eax, ebx
je 0x4315f7
mov esi, dword [eax + 4]
jmp 0x4315f9
xor esi, esi
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x431558
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x1c]
mov dword [esp + 0x24], 0x51e94c
call fcn.00414b30
cmp eax, ebx
je 0x431558
mov edx, dword [eax + 4]
mov dword [esp + 0x10], edx
jmp 0x43155c
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x30]
mov eax, esi
mov dword [esp + 0x24], 0x51937c
call fcn.00414b30
cmp eax, ebx
je 0x431664
cmp dword [eax + 4], ebx
jne 0x431697
push esi
mov eax, 0x519398
call fcn.0043da10
cmp eax, ebx
je 0x431687
push eax
call fcn.004ab7b1
add esp, 4
test eax, eax
jle 0x431687
push 0x4e0b3c
jmp 0x43168c
push 0x4e0b44
push 0x51937c
push esi
call fcn.0043d4e0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edi, [esp + 0x34]
mov eax, esi
mov dword [esp + 0x24], 0
or ebx, 0xffffffff
mov dword [esp + 0x28], 0x519180
call fcn.00414b30
test eax, eax
je 0x4316ce
cmp dword [eax + 4], 0
jne 0x431719
push esi
mov eax, 0x519168
call fcn.0043da10
mov dword [esp + 0x18], eax
test eax, eax
je 0x431706
push eax
call fcn.004ab7b1
mov ebx, eax
add esp, 4
test ebx, ebx
jl 0x431709
cmp ebx, 2
je 0x431709
cmp ebx, 3
je 0x431709
cmp ebx, 4
je 0x431709
push 0x4e0b44
jmp 0x43170e
or ebx, 0xffffffff
push 0x4e0b3c
push 0x519180
push esi
call fcn.0043d4e0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edi, [esp + 0x2c]
mov eax, esi
mov dword [esp + 0x28], 0x51919c
call fcn.00414b30
test eax, eax
je 0x431745
cmp dword [eax + 4], 0
jne 0x43178b
cmp dword [esp + 0x18], 0
jne 0x431766
push esi
mov eax, 0x519168
call fcn.0043da10
test eax, eax
je 0x43177b
push eax
call fcn.004ab7b1
add esp, 4
mov ebx, eax
test ebx, ebx
jl 0x43177b
cmp ebx, 3
je 0x43177b
cmp ebx, 4
je 0x43177b
push 0x4e0b44
jmp 0x431780
push 0x4e0b3c
push 0x51919c
push esi
call fcn.0043d4e0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edi, [esp + 0x2c]
mov eax, esi
mov dword [esp + 0x28], 0x51b2dc
call fcn.00414b30
test eax, eax
je 0x4317b7
push es