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

Disassembly:
push 0xffffffffffffffff
push 0x464f21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x64]
mov ebp, dword [esi + 0x78]
cmp eax, 0xc
mov dword [esp + 0xc], ebp
jne 0x6064b5
test ebp, ebp
jle 0x6064a0
mov eax, ebp
test eax, eax
jne 0x60648c
mov ecx, dword [esi + 0x104]
xor eax, eax
push eax
call fcn.0064485a
jmp 0x6065ee
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x104]
push eax
call fcn.0064485a
jmp 0x6065ee
mov ecx, dword [esi + 0x104]
push 0x58a3dc
call fcn.0064485a
jmp 0x6065ee
mov eax, dword [esi + 0x80]
xor ebx, ebx
sub eax, ebx
je 0x6064fa
dec eax
jne 0x6065ee
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x6065ee
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x6064eb
xor eax, eax
push ebp
push eax
call fcn.0060b520
jmp 0x6065ee
mov eax, dword [esi + 0x70]
push ebp
push eax
call fcn.0060b520
jmp 0x6065ee
cmp ebp, 0x258
jle 0x60650e
mov dword [esp + 0xc], 0x258
mov ebp, dword [esp + 0xc]
mov eax, dword [esi + 0x78]
push edi
cmp eax, ebx
jne 0x60651a
xor edi, edi
jmp 0x60651d
mov edi, dword [esi + 0x70]
lea ecx, [esp + 0x1c]
call fcn.005eccd0
cmp ebp, ebx
mov dword [esp + 0xa0], ebx
jle 0x60657e
dec ebp
xor eax, eax
mov al, byte [edi]
inc edi
push eax
lea eax, [esp + 0x34]
push 0x575a4c
push eax
call dword [fcn.004688e4]
lea ecx, [esp + 0x3c]
push ecx
call fcn.005ed720
add esp, 0x10
lea edx, [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
push edx
call fcn.005ed400
cmp ebx, ebp
je 0x606573
push 0x2c
lea ecx, [esp + 0x20]
call fcn.005ecfe0
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x606532
mov ebp, eax
mov eax, dword [esi + 0x78]
pop edi
cmp ebp, eax
jge 0x6065ad
push 0x2020
lea ecx, [esp + 0x1c]
call fcn.005ecfa0
push 0x2e2e
lea ecx, [esp + 0x1c]
call fcn.005ecfa0
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.005ecfe0
push 0
lea ecx, [esp + 0x1c]
call fcn.005ecfe0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x104]
neg eax
sbb eax, eax
and eax, edx
push eax
call fcn.0064485a
lea ecx, [esp + 0x18]
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x18], 0x560888
call fcn.005eced0
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x78]
cmp ecx, 0xc
jne 0x606613
test eax, eax
jle 0x606613
mov ecx, eax
test ecx, ecx
jne 0x606607
xor ecx, ecx
jmp 0x60660a
mov ecx, dword [esi + 0x70]
mov dl, byte [ecx + eax - 1]
test dl, dl
jne 0x606613
dec eax
push eax
lea eax, [esp + 0x64]
push 0x575a38
push eax
call dword [fcn.004688e4]
add esp, 0xc
lea ecx, [esp + 0x60]
lea edx, [esi + 0x60]
lea eax, [esp + 0x10]
push ecx
push edx
push eax
call fcn.00644b96
mov ebx, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x9c], ebx
call fcn.0064470a
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 2
push ecx
mov ecx, esi
call fcn.00644878
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [0x468804]
add esp, 8
test eax, eax
je 0x606686
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0064485a
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], bl
call fcn.006446fe
lea ecx, [esp + 0x10]
mov dword [esp + 0x9c], 0xffffffff
call fcn.006446fe
mov ecx, dword [esp + 0x94]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret