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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x89e52c
sub esp, 0x50
mov ecx, dword [esp + 0x5c]
cmp ecx, 2
jb 0x89e521
lea eax, [ecx - 2]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 2
mov ebx, dword [esp + 0x58]
lea ebp, [ebx + eax]
cmp ecx, 2
je 0x89e0b1
movzx eax, byte [ebx + eax]
cmp al, 0x2d
je 0x89e0b1
cmp al, 0x3d
jne 0x89e144
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00409170
mov eax, dword [esp + 8]
lea ecx, [0x95cee0]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea eax, [0x9f476c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0x48]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0089df20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x50
ret
nop
mov dword [esp], ebp
mov dword [esp + 4], edx
lea eax, [0x9e34f7]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 2
call fcn.00510fe0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jbe 0x89e51a
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0089a6d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + 0x30]
lea ebp, [0x964880]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004102a0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
movzx ecx, byte [esp + 0x14]
test cl, cl
je 0x89e384
mov ecx, dword [esp + 0x24]
cmp ecx, 2
jne 0x89e20d
mov ecx, dword [esp + 0x34]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov esi, ebx
mov ebx, ecx
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
jmp 0x89e255
mov ecx, dword [eax + 0x30]
mov ebx, dword [eax + 0x2c]
test ecx, ecx
je 0x89e227
mov esi, ecx
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
jmp 0x89e255
mov ecx, dword [esp + 0x64]
test ecx, ecx
jle 0x89e2e9
mov ebp, dword [esp + 0x60]
mov esi, dword [ebp + 4]
mov ebx, dword [ebp]
mov edi, dword [esp + 0x68]
dec edi
mov edx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 8
add ebp, edi
lea edi, [ecx - 1]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x6c]
mov edi, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov edx, ecx
call edi
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x89e2c2
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebx
mov eax, dword [eax + 0x10]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.0089df20
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebx
add esp, 0x50
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00409170
mov eax, dword [esp + 8]
lea ecx, [0x95cee0]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea eax, [0x9fbe9b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1a
lea eax, [esp + 0x48]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0089df20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x50
ret
mov eax, dword [esp + 0x28]
cmp eax, 4
jne 0x89e3d8
mov ecx, dword [esp + 0x38]
cmp dword [ecx], 0x706c6568
jne 0x89e3dc
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.0089e010
mov eax, dword [0x1284a80]
mov ecx, dword [0x1284a84]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x50
ret
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x54]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x89e487
mov eax, dword [esp + 0x24]
cmp eax, 2
jge 0x89e458
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x89e407
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
jmp 0x89e435
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
test edx, edx
jle 0x89e41f
cmp byte [ebx], 0x2d
jne 0x89e41f
mov edx, dword [esp + 0x68]
jmp 0x89e435
cmp eax, 1
jle 0x89e42f
mov edx, dword [esp + 0x68]
dec edx
add ecx, 8
dec eax
jmp 0x89e435
xor edx, edx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x50
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x50
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409170
mov eax, dword [esp + 8]
lea ecx, [0x95cee0]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea eax, [0x9f3c99]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
lea eax, [esp + 0x48]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0089df20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x50
ret
xor eax, eax
call fcn.0045fa20
mov eax, 2
call fcn.0045fa80
nop
call fcn.0045e560
jmp fcn.0089e060