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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5eacd1
sub esp, 0x94
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.004716f7
lea edi, [esp + 0x5c]
call fcn.004716f7
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
call fcn.005ef660
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5ea971
mov edx, dword [0x8e2600]
xor ebx, ebx
jmp 0x5ea9a4
mov edx, dword [ecx + 0x28c]
cmp edx, eax
jb 0x5eacc9
mov ebx, dword [ecx + 0x290]
sub edx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp edx, 3
jbe 0x5eacbd
mov ebp, dword [ecx + 0x288]
mov ebx, dword [ebx + ebp]
xor edx, edx
test edx, edx
jne 0x5eaa07
mov dword [esp + 0x2c], eax
mov edx, ebx
and ebx, 7
mov byte [esp + 0x5c], bl
mov ebx, edx
and edx, 0xf8
shr edx, 3
mov byte [esp + 0x5d], dl
mov edx, ebx
and ebx, 0xff00
shr ebx, 8
mov byte [esp + 0x5e], bl
mov ebx, edx
and edx, 0xff0000
shr edx, 0x10
mov byte [esp + 0x5f], dl
mov edx, ebx
and ebx, 0xf00000
shr ebx, 0x18
mov byte [esp + 0x60], bl
and edx, 0xf0000000
shr edx, 0x1c
lea edx, [edx + edx*2]
shl edx, 1
mov byte [esp + 0x61], dl
xor edx, edx
jmp 0x5eaa32
lea edi, [esp + 0xa0]
lea esi, [esp + 0x5c]
call fcn.00471bb6
add esp, 0x94
ret
lea esi, [esp + 0x4c]
call fcn.00471be8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x98]
movzx ebx, byte [esp + 0x5f]
movzx ebp, bl
cmp edx, ebp
jge 0x5eab73
mov dword [esp + 0x30], edx
lea ebx, [eax + edx*2 + 4]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
movzx ebp, byte [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
xchg ebp, eax
mov byte [esp + 8], al
xchg ebp, eax
call fcn.005e9ee0
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x84]
lea esi, [esp + 0xc]
call fcn.00471be8
lea edi, [esp + 0x4c]
lea esi, [esp + 0x84]
call fcn.00471be8
test eax, eax
je 0x5eab5c
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
inc edx
mov ebx, dword [esp + 0x64]
cmp ecx, edx
jae 0x5eab08
mov dword [esp + 0x38], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x69b540]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], edx
mov ecx, dword [0x90f128]
dec edx
shl edx, 4
lea edi, [ebx + edx]
mov edx, dword [esp + 0x30]
add edx, eax
test ecx, ecx
je 0x5eaa1e
mov dword [esp + 0x80], edi
mov dword [esp + 0x3c], edx
lea eax, [0x69b540]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.0040eab0
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x80]
jmp 0x5eaa1e
lea edi, [esp + 0xa0]
lea esi, [esp + 0x5c]
call fcn.00471bb6
add esp, 0x94
ret
lea ebp, [eax + 4]
test bl, 1
je 0x5eab7e
lea ebp, [eax + 6]
movzx ebx, byte [esp + 0x5d]
test bl, 1
jne 0x5eab8d
test bl, 2
je 0x5eabcf
test bl, 4
jne 0x5eabcf
lea eax, [ebp + edx*2]
mov ebx, dword [ecx + 0x28c]
cmp ebx, eax
jb 0x5eacb6
mov esi, dword [ecx + 0x290]
sub ebx, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebx, 3
jbe 0x5eacaa
mov eax, dword [ecx + 0x288]
mov eax, dword [esi + eax]
mov dword [esp + 0x70], eax
movzx eax, byte [esp + 0x5d]
test al, 4
je 0x5eac7c
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x68fde0]
mov dword [esp], eax
lea eax, [ebp + edx*2]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.004e1200
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
lea ecx, [0x663660]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.005f0300
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5eac93
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
lea edi, [esp + 0xa0]
lea esi, [esp + 0x5c]
call fcn.00471bb6
add esp, 0x94
ret
lea edi, [esp + 0xa0]
lea esi, [esp + 0x5c]
call fcn.00471bb6
add esp, 0x94
ret
mov eax, 3
mov ecx, ebx
call fcn.004714e0
mov ecx, ebx
call fcn.00471550
mov eax, 3
mov ecx, edx
call fcn.004714e0
mov ecx, edx
call fcn.00471550
nop
call fcn.00470060
jmp fcn.005ea900