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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x100]
cmp eax, dword [ecx + 8]
jbe 0x5ec265
sub esp, 0x180
lea eax, [0x685740]
mov dword [esp], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004507f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x104], eax
lea ecx, [0x6c2100]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004507f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x100], eax
mov ecx, dword [esp + 0x188]
mov edx, ecx
xor ebx, ebx
jmp 0x5eba97
mov dword [esi + ebp*4], ebx
mov edi, dword [esp + 0xfc]
lea ecx, [edi + 0xc]
lea ebx, [ebp + 1]
mov eax, esi
mov edx, dword [esp + 0x188]
mov ebp, dword [esp + 0x18c]
cmp ebp, ebx
jle 0x5ebd16
mov dword [esp + 0x68], ebx
mov dword [esp + 0xfc], ecx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [0x96ee6c]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005da4d0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5ebc48
mov ebx, dword [esp + 0x10]
mov ebp, dword [ebx]
cmp dword [ebp + 0x4c], 1
jne 0x5ebb3d
mov eax, dword [ebp + 0x50]
lea ecx, [0x6a2740]
cmp eax, ecx
jne 0x5ec24e
mov dword [esp + 0xa8], ebx
mov eax, dword [ebp + 0x54]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004fc700
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.005eb950
movzx eax, byte [esp + 8]
test al, al
je 0x5ebba4
mov ebx, dword [esp + 0xa8]
mov ebp, dword [0x9aef70]
test ebp, ebp
jne 0x5ebb54
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x104]
jmp 0x5ebb6c
call fcn.0046c8a0
mov dword [edi], ebx
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x104]
mov eax, dword [esi + ebp*4]
mov dword [edi + 4], eax
mov dword [esi + ebp*4], ebx
mov edi, dword [0x9aef70]
mov ebx, dword [ebx]
test edi, edi
jne 0x5ebb89
mov eax, esi
mov esi, dword [esp + 0x100]
jmp 0x5eba7e
call fcn.0046c8a0
mov dword [edi], ebx
mov eax, esi
mov esi, dword [esp + 0x100]
mov ecx, dword [esi + ebp*4]
mov dword [edi + 4], ecx
jmp 0x5eba7e
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x184]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e1700
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0040aa30
mov eax, dword [esp + 4]
lea ecx, [0x692c00]
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], eax
lea eax, [0x6e5be7]
mov dword [esp], eax
mov dword [esp + 4], 0x43
lea eax, [esp + 0x178]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], ecx
add esp, 0x180
ret
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0x184]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e1700
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0xe8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6e1d6c]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2e
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00454370
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa4], ecx
lea edx, [0x69de40]
mov dword [esp], edx
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x5ebceb
mov ecx, dword [esp + 0xa4]
jmp 0x5ebcf9
call fcn.0046c890
mov ecx, dword [esp + 0xa4]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x74924c]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
add esp, 0x180
ret
mov ebx, dword [esp + 0x184]
mov esi, dword [ebx + 0x2c]
movzx edi, byte [esi + 0x50]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5ebe6e
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x5ebd3b
lea ecx, [0x6f9fe0]
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0x164]
lea esi, [esp]
call fcn.0046d00e
lea edi, [esp + 0x90]
lea esi, [esp + 0x164]
call fcn.0046d00e
nop
call fcn.0040dcd0
mov eax, dword [esp]
mov dword [esp + 0xf8], eax
call fcn.0040dcd0
mov eax, dword [esp]
mov dword [esp + 0xf4], eax
lea ecx, [0x6b0a20]
mov dword [esp], ecx
call fcn.0040d2a0
mov eax, dword [0x9aef70]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5ebdae
mov edx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xf4]
jmp 0x5ebdc6
call fcn.0046c8a0
mov edx, dword [esp + 0xf8]
mov dword [edi], edx
mov ebx, dword [esp + 0xf4]
mov dword [edi + 4], ebx
mov dword [esp + 0x8c], ecx
mov dword [ecx], edx
mov dword [ecx + 0x10], ebx
lea edi, [esp + 0xac]
xor eax, eax
call fcn.0046cb23
mov ecx, dword [esp + 0x184]
mov edx, dword [ecx + 0x2c]
mov edx, dword [edx + 0x30]
mov dword [esp + 0xb8], edx
lea edi, [esp + 0xbc]
lea esi, [esp + 0x90]
call fcn.0046d00e
mov ecx, dword [esp + 0x184]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [edx + 0x40]
mov edx, dword [edx + 0x44]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x18c]
cmp edx, 1
jb 0x5ec242
lea eax, [edx - 1]
mov dword [esp + 0x88], eax
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 4
mov ebp, dword [esp + 0x100]
add eax, ebp
mov dword [esp + 0xf0], eax
xor esi, esi
jmp 0x5ec136
test ebp, ebp
jbe 0x5ec0e3
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x50]
test ecx, ecx
je 0x5ec055
mov esi, dword [ecx + 8]
cmp esi, 0x6256b0f0
jne 0x5ebe9d
lea esi, [0x6a2740]
cmp ecx, esi
je 0x5ebece
jmp 0x5ec055
cmp esi, 0xc6f8bfa7
jne 0x5ebeb4
lea esi, [0x6bc8a0]
cmp ecx, esi
je 0x5ebece
jmp 0x5ec055
cmp esi, 0xcee30d6a
jne 0x5ec055
lea esi, [0x69ab40]
cmp ecx, esi
jne 0x5ec055
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x64], ebp
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x5ebee7
mov ecx, dword [esp + 0x104]
jmp 0x5ebf04
call fcn.0046c8c0
mov ecx, dword [esp + 0x104]
mov dword [edi], ecx
mov esi, dword [ebx + 0x5c]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov esi, dword [ebx + 0x50]
mov dword [edi + 0xc], esi
mov dword [ebx + 0x5c], ecx
mov dword [ebx + 0x54], ebp
mov dword [ebx + 0x58], ebp
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x5ebf5a
mov ecx, dword [eax]
mov esi, dword [ebx + 0x68]
mov edi, dword [ebx + 0x6c]
mov ebx, dword [ebx + 0x70]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x190]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov edx, eax
call ecx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5ec012
mov ebx, dword [esp + 0x184]
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5ebfb2
mov dword [esp], ebx
call fcn.005e57f0
lea edi, [esp + 0x108]
lea esi, [esp + 4]
call fcn.0046cf5a
mov eax, dword [esp + 0x184]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x84], ecx
lea edi, [esp]
lea esi, [esp + 0x108]
call fcn.0046cf5a
mov ecx, dword [esp + 0x84]
call ecx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x5ebfcf
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
add esp, 0x180
ret
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0x184]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e1700
mov eax, dword [esp + 0x70]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x198], eax
add esp, 0x180
ret
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xe4], eax
mov ecx, dword [esp + 0x184]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e1700
mov eax, dword [esp + 0x74]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x198], eax
add esp, 0x180
ret
mov dword [esp], ebx
mov byte [esp + 4], 0x2b
call fcn.005e1700
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
mov eax, dword [esp + 0x100]
mov eax, dword [eax]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], eax
lea eax, [0x6e62a6]
mov dword [esp], eax
mov dword [esp + 4], 0x48
lea eax, [esp + 0x178]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], ecx
add esp, 0x180
ret
xor eax, eax
mov ecx, eax
call fcn.0046c910
mov dword [esp + 0x80], esi
mov ecx, dword [eax + esi*4]
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005c2840
mov eax, dword [esp + 0x80]
lea esi, [eax + 1]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x18c]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x100]
cmp esi, ebx
jl 0x5ec0ec
mov eax, dword [ebp]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0xac]
call fcn.0046cfbe
call fcn.005d07f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
mov esi, ebp
mov ebp, dword [esp + 0x184]
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], ecx
mov eax, dword [0x9aef70]
test eax, eax
je 0x5ec18f
call fcn.0046c8a0
mov dword [edi], ebx
mov eax, dword [ebp + 0x68]
mov dword [edi + 4], eax
mov dword [ebp + 0x68], ebx
test edx, edx
jne 0x5ec1b2
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x188]
mov ebx, ebp
mov ebp, dword [esp + 0x18c]
jmp 0x5ebe6e
mov dword [esp + 0x78], edx
mov dword [esp + 0xec], esi
mov dword [esp], ebp
mov byte [esp + 4], 0x2a
call fcn.005e1700
lea eax, [0x6a5400]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x18c]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x5ec203
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0xec]
jmp 0x5ec21b
call fcn.0046c8a0
mov ecx, dword [esp + 0x100]
mov dword [edi], ecx
mov edx, dword [esp + 0xec]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
lea ecx, [0x749874]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
add esp, 0x180
ret
mov eax, 1
xor ecx, ecx
call fcn.0046c970
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x693d60]
mov dword [esp + 8], eax
call fcn.0040a760
nop
call fcn.0046b490
jmp fcn.005eba00