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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x5e60eb
sub esp, 0x88
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x5e57b2
xor ecx, ecx
xor ebx, ebx
mov esi, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
xor eax, eax
jmp 0x5e57e4
mov eax, dword [edx]
mov dword [esp], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 8], ebx
call eax
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
movzx edi, byte [edx + 5]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5e60d8
mov dword [esp + 0x40], esi
mov dword [esp + 0x64], ebp
mov byte [esp + 0x23], al
test ecx, ecx
jne 0x5e5872
movzx edi, byte [edx + 4]
xchg edi, eax
test al, al
xchg edi, eax
je 0x5e5872
test esi, esi
jne 0x5e5872
lea eax, [0x70dda0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov ecx, dword [0x9eca70]
test ecx, ecx
jne 0x5e5840
mov ecx, dword [esp + 0x64]
jmp 0x5e584b
call fcn.00468450
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea edx, [0x731e6c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x8c]
mov ebp, ecx
mov esi, dword [esp + 0x40]
lea ecx, [0x7ab5dc]
mov ebx, eax
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x68]
xor eax, eax
call fcn.004686f8
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x34]
jmp 0x5e58a9
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x64]
mov ecx, ebx
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x7c]
lea ebp, [esp + 0x68]
cmp dword [ebp + 4], edi
jle 0x5e5be1
mov byte [esp + 0x23], al
mov dword [esp], ebp
call fcn.005e6a80
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5e5979
mov edx, dword [esp + 0x34]
test edx, edx
je 0x5e58fa
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
lea ebp, [0x731e6c]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
jmp 0x5e596f
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5e5923
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
lea ebp, [0x731e6c]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
jmp 0x5e596f
lea eax, [0x70dda0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov edx, dword [0x9eca70]
test edx, edx
jne 0x5e594c
mov edx, dword [esp + 0x64]
jmp 0x5e5957
call fcn.00468450
mov edx, dword [esp + 0x64]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x731e6c]
mov dword [eax + 8], ebp
lea ebx, [0x7ab5dc]
movzx esi, byte [esp + 0x23]
jmp 0x5e5b49
mov edx, dword [esp + 4]
cmp ecx, 4
jge 0x5e5986
xor eax, eax
jmp 0x5e59b5
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], edx
mov dword [esp], edx
lea eax, [0x732379]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.00403590
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
test al, al
jne 0x5e59fd
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x5e59c9
mov ecx, ebx
mov ebx, dword [esp + 0x54]
jmp 0x5e59e8
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.005e6e80
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
movzx edx, byte [esp + 0x23]
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x8c]
jmp 0x5e5b35
cmp ecx, 4
jb 0x5e60bd
lea eax, [ecx - 4]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 4
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005e7320
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5e5a5b
mov edx, dword [esp + 0x34]
test edx, edx
je 0x5e5a39
mov eax, edx
mov ebx, dword [esp + 0x54]
jmp 0x5e5a3d
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
lea ebp, [0x731e6c]
movzx esi, byte [esp + 0x23]
mov edi, ebx
mov ebx, eax
mov eax, edi
jmp 0x5e5b49
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x5e5a7b
mov edx, 1
jmp 0x5e5a9a
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005ded80
mov eax, dword [esp + 8]
test eax, eax
setne al
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x23], dl
lea ebx, [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005e6b60
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5e5ac7
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x54]
jmp 0x5e5b05
mov ebx, dword [esp + 0x8c]
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x5e5adb
mov ecx, dword [esp + 0x54]
jmp 0x5e5b05
mov eax, dword [edx]
mov dword [esp], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x24]
mov dword [esp + 8], ebp
call eax
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x8c]
test eax, eax
jne 0x5e5b30
mov dword [esp], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.005e6e80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x8c]
movzx edx, byte [esp + 0x23]
lea ebp, [0x731e6c]
mov esi, edx
mov ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x84]
lea ebp, [edi + 1]
mov dword [esp + 0x84], ebp
mov edx, dword [esp + 0x70]
test edx, edx
je 0x5e5ba2
mov ecx, dword [esp + 0x74]
cmp ecx, ebp
jle 0x5e5b8c
mov dword [esp + 0x60], eax
lea eax, [ecx - 1]
cmp eax, ebp
jne 0x5e5b99
cmp ecx, ebp
jbe 0x5e60b6
lea eax, [edx + edi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5e5b99
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x7c], ecx
jmp 0x5e5894
mov eax, dword [esp + 0x60]
jmp 0x5e5894
mov edx, dword [esp + 0x80]
lea ebp, [edx + 1]
mov dword [esp + 0x7c], ebp
mov edi, dword [esp + 0x6c]
lea ecx, [edi - 1]
cmp ecx, ebp
jne 0x5e5894
cmp edi, ebp
jbe 0x5e60ad
mov ecx, dword [esp + 0x68]
lea ecx, [edx + ecx + 1]
cmp byte [ecx], 0x2e
jne 0x5e5894
mov dword [esp + 0x7c], edi
jmp 0x5e5894
test al, al
je 0x5e5c13
mov eax, dword [edx + 0x14]
test eax, eax
je 0x5e5c13
test ecx, ecx
jne 0x5e5c13
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
jmp 0x5e5f7f
movzx eax, byte [esp + 0x98]
test al, al
je 0x5e5c42
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
jmp 0x5e5d8e
mov ebp, dword [esp + 0x70]
test ebp, ebp
jne 0x5e5c56
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
test al, al
jmp 0x5e5ca9
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x7a8318]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00489580
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
movzx eax, byte [esp + 0x98]
test al, al
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x5c]
je 0x5e5d57
movzx eax, byte [edx + 4]
test al, al
je 0x5e5d4d
test ecx, ecx
je 0x5e5ccc
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x5e5d5f
test ebp, ebp
je 0x5e5ce2
lea eax, [ebp + esi - 1]
cmp byte [eax], 0x2e
jne 0x5e5ce0
lea eax, [ebp - 1]
test ebp, ebp
jmp 0x5e5ce4
test ebp, ebp
mov eax, ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], ebp
je 0x5e5cf5
cmp eax, 0xfd
jle 0x5e5d43
lea eax, [0x70dda0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov edx, dword [0x9eca70]
test edx, edx
jne 0x5e5d1e
mov edx, dword [esp + 0x44]
jmp 0x5e5d29
call fcn.00468450
mov edx, dword [esp + 0x44]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x731e6c]
mov dword [eax + 8], ebp
lea ebx, [0x7ab5dc]
jmp 0x5e5d5f
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x5e5d5f
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x5e5d5f
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], eax
add esp, 0x88
ret
movzx eax, byte [esp + 0x98]
mov ecx, edx
mov edx, ebp
mov ebp, dword [esp + 0x7c]
lea esi, [esp + 0x68]
cmp dword [esi + 4], ebp
jle 0x5e5c42
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], ecx
mov dword [esp], esi
call fcn.005e6a80
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
xor edx, edx
jmp 0x5e5f4d
lea edx, [0x732379]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.005e7c40
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5e5ded
mov ecx, eax
mov ebx, dword [esp + 0x58]
jmp 0x5e5df5
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
lea ebp, [esp + 0x68]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005e6b60
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
jmp 0x5e5e3b
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x8c]
movzx esi, byte [ebp + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5e5eb6
test edx, edx
jne 0x5e5eb6
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x5e5e61
cmp ecx, 0x3f
jle 0x5e5eb6
lea eax, [0x70dda0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x9eca70]
test ecx, ecx
jne 0x5e5e8a
mov edx, dword [esp + 0x4c]
jmp 0x5e5e95
call fcn.00468450
mov edx, dword [esp + 0x4c]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x731e6c]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x8c]
lea edx, [0x7ab5dc]
mov ebx, eax
mov esi, dword [esp + 0x84]
lea eax, [esi + 1]
mov dword [esp + 0x84], eax
mov edi, dword [esp + 0x70]
test edi, edi
je 0x5e5f11
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jle 0x5e5ef8
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x5e5f05
cmp ecx, eax
jbe 0x5e5f67
lea eax, [edi + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5e5f05
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
jmp 0x5e5d82
mov ebp, dword [esp + 0x8c]
jmp 0x5e5d82
mov esi, dword [esp + 0x80]
lea eax, [esi + 1]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x6c]
lea edi, [ecx - 1]
cmp edi, eax
jne 0x5e5d82
cmp ecx, eax
jbe 0x5e5f62
mov eax, dword [esp + 0x68]
lea eax, [esi + eax + 1]
cmp byte [eax], 0x2e
jne 0x5e5d82
mov dword [esp + 0x7c], ecx
jmp 0x5e5d82
inc edx
cmp edx, ecx
jge 0x5e5e33
lea ebx, [edx + eax]
cmp byte [ebx], 0x80
jb 0x5e5f4c
jmp 0x5e5dbf
call fcn.004684c0
call fcn.004684c0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
lea ebp, [esp + 0x68]
cmp dword [ebp + 4], eax
jle 0x5e5c13
mov dword [esp], ebp
call fcn.005e6a80
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x5e6049
mov edx, dword [esp + 0x84]
lea eax, [edx + 1]
mov dword [esp + 0x84], eax
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x5e600e
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jle 0x5e6001
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x5e5f6c
cmp ecx, eax
jbe 0x5e60a8
lea eax, [ebx + edx*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5e5f6c
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
jmp 0x5e5f6c
mov edx, dword [esp + 0x80]
lea eax, [edx + 1]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x6c]
lea ebx, [ecx - 1]
cmp ebx, eax
jne 0x5e5f6c
cmp ecx, eax
jbe 0x5e60a3
mov eax, dword [esp + 0x68]
lea eax, [edx + eax + 1]
cmp byte [eax], 0x2e
jne 0x5e5f6c
mov dword [esp + 0x7c], ecx
jmp 0x5e5f6c
lea eax, [0x70dda0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [0x9eca70]
test ecx, ecx
jne 0x5e6072
mov ecx, dword [esp + 0x64]
jmp 0x5e607d
call fcn.00468450
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 1
lea edx, [0x7a84a4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x8c]
lea ecx, [0x7ab5dc]
mov ebx, eax
jmp 0x5e5c13
call fcn.004684c0
call fcn.004684c0
mov eax, ebp
mov ecx, edi
call fcn.004684c0
mov eax, ebp
call fcn.004684c0
mov eax, 4
call fcn.00468520
dec esi
mov edi, esi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
add ebp, edi
test esi, esi
je 0x5e57f9
cmp byte [ebp], 0x2e
je 0x5e60c7
jmp 0x5e57f9
call fcn.00467050
jmp fcn.005e5770