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

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x428671
cmp byte [esi + 0x25], 0
je 0x428671
mov eax, dword [esi + 0x50]
xor edx, edx
mov ecx, dword [esi + 0x78]
push ebp
mov dword [esp + 0x20], eax
lea ebp, [esi + 0x58]
mov eax, dword [esi + 0x54]
push ebx
mov dword [esp + 0x14], ecx
lea ecx, [esi + 0x3c]
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], edx
push edi
nop
mov eax, dword [esi + 0x38]
cmp eax, dword [ecx]
jne 0x4284b5
test edx, edx
jne 0x4284b5
mov dword [ecx], edx
mov dword [esi + 0x38], edx
mov edx, dword [esp + 0x3c]
push ecx
push dword [esi + 0x2c]
push dword [esi + 0x40]
mov eax, dword [edx]
push edx
call dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov edi, dword [esi + 0x74]
mov ecx, edi
mov eax, dword [esp + 0x18]
sub ecx, eax
mov edx, dword [esi + 0x28]
mov ebx, dword [esi + 0x78]
cmp ecx, edx
jbe 0x4284cd
lea edi, [edx + eax]
xor edx, edx
sub edi, ebx
cmp byte [esi + 0x26], dl
je 0x4284f9
mov ecx, dword [esi + 0x48]
sub ecx, dword [ebp]
mov eax, dword [esi + 0x4c]
sbb eax, dword [ebp + 4]
cmp edx, eax
jb 0x4284f9
ja 0x4284ec
cmp edi, ecx
jb 0x4284f9
cmp byte [esi + 0x24], dl
mov eax, 1
mov edi, ecx
cmovne edx, eax
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x38]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x40]
add eax, dword [esi + 0x38]
push eax
lea eax, [edi + ebx]
push eax
lea eax, [esi + 0x60]
push eax
call fcn.004061a0
mov ecx, dword [esi + 0x78]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
add dword [esi + 0x38], eax
add dword [esi + 0x50], eax
mov dword [esi + 0x34], edx
adc dword [esi + 0x54], 0
sub ecx, ebx
add dword [ebp], ecx
adc dword [ebp + 4], 0
cmp byte [esi + 0x26], 0
je 0x428563
mov eax, dword [ebp + 4]
cmp eax, dword [esi + 0x4c]
jb 0x428563
ja 0x42855f
mov eax, dword [ebp]
cmp eax, dword [esi + 0x48]
jb 0x428563
mov bh, 1
jmp 0x428565
xor bh, bh
cmp dword [esp + 0x1c], 0
jne 0x42858d
cmp dword [esp + 0x14], 0
jne 0x428577
test ecx, ecx
je 0x42858d
cmp edx, 1
je 0x42858d
test bh, bh
je 0x428585
cmp edx, 3
jne 0x42858d
xor bl, bl
cmp ecx, edi
jb 0x4285c6
jmp 0x42858f
mov bl, 1
mov eax, dword [esi + 0x78]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esi + 0x70]
add eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x48]
call fcn.00425bc0
mov ecx, dword [esi + 0x78]
cmp ecx, dword [esi + 0x74]
jne 0x4285b7
mov dword [esi + 0x78], 0
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x42860a
test bl, bl
jne 0x428614
mov ebx, dword [esp + 0x44]
lea ecx, [esi + 0x3c]
mov edx, dword [esp + 0x10]
test ebx, ebx
je 0x428490
mov ecx, dword [esi + 0x50]
sub ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x54]
sbb eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x30]
push ebp
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0xc]
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x3c]
test eax, eax
je 0x428490
pop edi
pop ebx
pop ebp
pop esi
add esp, 0x28
ret 0xc
cmp dword [esp + 0x1c], 0
jne 0x428640
mov eax, dword [esp + 0x20]
cmp eax, 1
jne 0x42864f
cmp byte [esi + 0x24], 0
je 0x428663
cmp byte [esi + 0x26], 0
je 0x428663
mov eax, dword [esi + 0x48]
cmp eax, dword [ebp]
jne 0x428640
mov eax, dword [esi + 0x4c]
cmp eax, dword [ebp + 4]
je 0x428663
pop edi
pop ebx
pop ebp
mov eax, 1
pop esi
add esp, 0x28
ret 0xc
test bh, bh
je 0x428640
cmp eax, 3
je 0x428640
cmp byte [esi + 0x24], 0
je 0x428663
cmp eax, 4
jne 0x428640
mov eax, dword [esp + 0x10]
pop edi
pop ebx
pop ebp
pop esi
add esp, 0x28
ret 0xc
mov eax, 1
pop esi
add esp, 0x28
ret 0xc