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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x5eab35
sub esp, 0xf8
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax]
mov dword [esp + 0xd4], ecx
movzx edx, word [ecx + 0x28]
mov ebx, dword [eax + 0x14]
mov ebp, dword [eax + 0x4c]
mov esi, dword [eax + 0x50]
mov edi, dword [eax + 0x54]
mov dword [esp + 0xc8], edi
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx + 0x10]
mov dword [esp + 0xf4], edi
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0xc4], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xf0], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc0], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xbc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0xb8], eax
mov eax, dword [ebx + 0xc]
mov word [esp], dx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
call fcn.00608820
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0xe0], ebp
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
mov dword [esp + 0xdc], edi
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xa0], eax
test edx, edx
je 0x5ea986
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], 0
call ecx
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x8c], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xcc], ebp
mov esi, dword [esp + 0xd8]
mov dword [esp], esi
mov esi, dword [esp + 0x94]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x98]
mov dword [esp + 8], esi
call ecx
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x90], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0xd0], ebp
mov esi, dword [esp + 0xe0]
mov dword [esp], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 4], esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 8], esi
mov esi, dword [esp + 0xdc]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x14], esi
mov byte [esp + 0x18], 1
call ecx
mov eax, dword [esp + 0xfc]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xac], ecx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xe4], ebx
mov ebp, dword [esp + 0xe8]
mov dword [esp], ebp
mov ebp, dword [esp + 0xb0]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xb4]
mov dword [esp + 8], ebp
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0xe4]
mov edi, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xd0]
jmp 0x5eaa4f
mov edx, dword [ecx + 0x20]
mov eax, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x14], ecx
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xcc], ecx
test eax, eax
je 0x5ea9c8
mov eax, dword [eax + 4]
mov dword [esp + 0xec], eax
mov ecx, dword [esp + 0xfc]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx]
mov ebx, dword [esp + 0xe0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x14], ebx
call ecx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5eaa2c
mov eax, dword [eax + 4]
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
mov edx, dword [esp + 0xcc]
xor ebp, ebp
mov esi, dword [esp + 0xec]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x80], ecx
xor ecx, ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0xd4]
movzx ebp, word [ecx + 0x28]
mov word [ecx + 0xdc], bp
mov dword [ecx + 0x108], eax
mov eax, dword [0x9aef70]
test eax, eax
je 0x5eaa9f
mov eax, edi
call fcn.0046c8c0
mov dword [edi], ebx
mov ebp, dword [ecx + 0x10c]
mov dword [edi + 4], ebp
mov dword [edi + 8], eax
mov ebp, dword [ecx + 0x114]
mov dword [edi + 0xc], ebp
mov edi, eax
mov dword [ecx + 0x10c], ebx
mov eax, dword [esp + 0x80]
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], edi
movzx eax, word [ecx + 0x28]
mov word [ecx + 0x138], ax
mov dword [ecx + 0x164], esi
mov eax, dword [0x9aef70]
test eax, eax
jne 0x5eaadc
mov eax, dword [esp + 0xd0]
jmp 0x5eaaff
call fcn.0046c8c0
mov dword [edi], edx
mov eax, dword [ecx + 0x168]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xd0]
mov dword [edi + 8], eax
mov ebx, dword [ecx + 0x170]
mov dword [edi + 0xc], ebx
mov dword [ecx + 0x168], edx
mov edx, dword [esp + 0x90]
mov dword [ecx + 0x16c], edx
mov dword [ecx + 0x170], eax
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
add esp, 0xf8
ret
call fcn.0046b490
jmp fcn.005ea660