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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x5ea12a
sub esp, 0xa4
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005e9550
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5e9a67
mov eax, dword [esp + 0xa8]
jmp 0x5e9a95
mov eax, dword [0x9eca70]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5e9a7e
mov eax, dword [esp + 0xa8]
jmp 0x5e9a92
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x20]
mov dword [edi + 4], edx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005e9550
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5e9ab8
mov eax, dword [esp + 0xa8]
jmp 0x5e9ae6
mov eax, dword [0x9eca70]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5e9acf
mov eax, dword [esp + 0xa8]
jmp 0x5e9ae3
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x1c]
mov dword [edi + 4], edx
mov dword [eax + 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x7a8398]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.00489350
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x5e9b3d
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x5ea10d
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0048a780
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00489d90
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5e9b88
mov eax, dword [esp + 0xa8]
lea esi, [0x7ab618]
jmp 0x5e9b2e
mov ecx, dword [esp + 8]
cmp eax, 1
jne 0x5e9b9a
cmp byte [ecx], 0x2a
je 0x5ea062
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00513210
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x5e9c63
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x28]
inc ebx
mov ebp, dword [eax + 0x24]
cmp edx, ebx
jae 0x5e9c33
mov dword [esp + 0x68], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6f0d80]
mov dword [esp + 0x10], eax
call fcn.0044e230
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x2c], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x5e9c26
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [ebx + 0x24]
mov dword [edi + 4], eax
mov dword [ebx + 0x24], ecx
mov eax, ebx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x28], ebx
lea edx, [ebp + ebx*8 - 8]
lea esi, [0x7ab618]
mov dword [edx], esi
mov edx, dword [0x9eca70]
lea ebx, [ebp + ebx*8 - 4]
test edx, edx
je 0x5e9c5c
call fcn.00468460
mov dword [edi], ecx
mov edx, dword [ebx]
mov dword [edi + 4], edx
mov dword [ebx], ecx
jmp 0x5e9b2e
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00514590
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
test eax, eax
jne 0x5e9cd9
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x5e9ca9
mov eax, dword [esp + 0xa8]
lea esi, [0x7ab618]
jmp 0x5e9b2e
mov ebp, dword [esp + 8]
cmp byte [ebp], 0x5b
jne 0x5e9ce1
lea esi, [ebx + ebp - 1]
cmp byte [esi], 0x5d
jne 0x5e9ce1
lea esi, [ebx - 1]
cmp esi, 1
jb 0x5ea11d
add ebx, 0xfffffffe
mov eax, ebx
neg eax
sar eax, 0x1f
and eax, 1
add ebp, eax
jmp 0x5e9ce1
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x6c], ebp
lea eax, [0x6de480]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call fcn.005130d0
movzx eax, byte [esp + 0x18]
lea edi, [esp + 0x40]
lea esi, [esp + 8]
call fcn.00468be8
lea edi, [esp + 0x50]
lea esi, [esp + 0x40]
call fcn.00468be8
mov edi, dword [esp + 0x78]
lea esi, [esp + 0x50]
call fcn.00468be8
test al, al
je 0x5e9d4e
mov eax, dword [esp + 0x78]
mov ecx, 0x10
jmp 0x5e9d52
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x5e9f50
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x5e9d74
mov eax, dword [esp + 0xa8]
lea esi, [0x7ab618]
jmp 0x5e9b2e
cmp edx, 2
jge 0x5e9d7d
xor eax, eax
jmp 0x5e9da4
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x731e7a]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.00403590
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x34]
test al, al
je 0x5e9dbe
lea ebx, [edx - 1]
mov edx, ebx
neg edx
sar edx, 0x1f
and edx, 1
mov esi, dword [esp + 0x6c]
lea ebp, [esi + edx]
jmp 0x5e9dc4
mov ebx, edx
mov ebp, dword [esp + 0x6c]
test ebx, ebx
jbe 0x5ea114
movzx eax, byte [ebp]
mov byte [esp + 0x27], al
cmp al, 0x2e
je 0x5e9e07
mov dword [esp], 0
lea eax, [0x7a8318]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00451c70
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x34], ebx
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.005ea2f0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5e9e35
movzx ecx, byte [esp + 0x27]
cmp cl, 0x2e
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
jmp 0x5e9e45
mov ebp, dword [esp + 8]
mov ebx, dword [esp + 0xc]
movzx ecx, byte [esp + 0x27]
cmp cl, 0x2e
setne cl
mov byte [esp + 0x26], cl
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.004686fb
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x88], ecx
movzx ecx, byte [esp + 0x26]
mov byte [esp + 0x8c], cl
lea ecx, [0x70cda0]
mov dword [esp], ecx
lea edx, [esp + 0x7c]
mov dword [esp + 4], edx
call fcn.00409bb0
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x34]
inc ebx
mov ebp, dword [ecx + 0x30]
mov esi, dword [esp + 8]
cmp edx, ebx
jae 0x5e9f18
mov dword [esp + 0x74], esi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6f0d80]
mov dword [esp + 0x10], eax
call fcn.0044e230
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x38], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x5e9f06
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [ebx + 0x30]
mov dword [edi + 4], eax
mov dword [ebx + 0x30], ecx
mov esi, dword [esp + 0x74]
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x34], ebx
lea eax, [ebp + ebx*8 - 8]
lea edx, [0x7ab640]
mov dword [eax], edx
mov eax, dword [0x9eca70]
lea ebx, [ebp + ebx*8 - 4]
test eax, eax
je 0x5e9f41
call fcn.00468460
mov dword [edi], esi
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], esi
mov eax, ecx
lea esi, [0x7ab618]
jmp 0x5e9b2e
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x90]
mov edx, eax
xor eax, eax
call fcn.004686fb
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], ecx
lea ecx, [0x707860]
mov dword [esp], ecx
lea edx, [esp + 0x90]
mov dword [esp + 4], edx
call fcn.00409bb0
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x28]
inc ebx
mov ebp, dword [ecx + 0x24]
mov esi, dword [esp + 8]
cmp edx, ebx
jae 0x5ea02a
mov dword [esp + 0x74], esi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6f0d80]
mov dword [esp + 0x10], eax
call fcn.0044e230
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x2c], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x5ea018
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [ebx + 0x24]
mov dword [edi + 4], eax
mov dword [ebx + 0x24], ecx
mov esi, dword [esp + 0x74]
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x28], ebx
lea eax, [ebp + ebx*8 - 8]
lea edx, [0x7ab62c]
mov dword [eax], edx
mov eax, dword [0x9eca70]
lea ebx, [ebp + ebx*8 - 4]
test eax, eax
je 0x5ea053
call fcn.00468460
mov dword [edi], esi
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], esi
mov eax, ecx
lea esi, [0x7ab618]
jmp 0x5e9b2e
lea eax, [0x6e2520]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
lea ecx, [0x7ab604]
mov dword [eax], ecx
lea edx, [0x9ec5e0]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], 1
mov ebp, dword [0x9eca70]
test ebp, ebp
je 0x5ea0b1
call fcn.00468460
mov dword [edi], eax
mov ebp, dword [ebx + 0x24]
mov dword [edi + 4], ebp
mov dword [ebx + 0x24], eax
lea eax, [0x6e2520]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
lea ecx, [0x7ab604]
mov dword [eax], ecx
lea ecx, [0x9ec5e0]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x9eca70]
test edx, edx
je 0x5ea103
call fcn.00468460
mov dword [edi], eax
mov edx, dword [ecx + 0x30]
mov dword [edi + 4], edx
mov dword [ecx + 0x30], eax
add esp, 0xa4
ret
add esp, 0xa4
ret
xor eax, eax
mov ecx, eax
call fcn.004684c0
mov eax, 1
xor ecx, ecx
call fcn.00468520
nop
call fcn.00467050
jmp fcn.005e9a20