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

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x5cb143
sub esp, 0xf4
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax]
mov dword [esp + 0xe4], 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 + 0xc4], edi
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx + 0x10]
mov dword [esp + 0xf0], edi
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0xc0], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xec], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xbc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xb8], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0xb4], 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 + 0xc4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
call fcn.005e85b0
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0xcc], ebp
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
mov dword [esp + 0xd0], edi
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
test edx, edx
je 0x5caf98
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x84], 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 + 0xa4]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], 0
call ecx
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb0], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xe0], ebp
mov esi, dword [esp + 0xd8]
mov dword [esp], esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 4], esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 8], esi
call ecx
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xac], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0xdc], ebp
mov esi, dword [esp + 0xcc]
mov dword [esp], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0xd0]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x90]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x14], esi
mov byte [esp + 0x18], 1
call ecx
mov eax, dword [esp + 0xf8]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], ecx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xd4], ebx
mov ebp, dword [esp + 0xc8]
mov dword [esp], ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 8], ebp
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0xd4]
mov edx, eax
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0xac]
mov eax, dword [esp + 0x98]
jmp 0x5cb061
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 + 0xa4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x14], ecx
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xe0], ecx
test eax, eax
je 0x5cafda
mov eax, dword [eax + 4]
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0xf8]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx]
mov ebx, dword [esp + 0xcc]
mov dword [esp], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x14], ebx
call ecx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5cb03e
mov eax, dword [eax + 4]
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
xor edx, edx
xor ebp, ebp
mov esi, dword [esp + 0xe0]
xor edi, edi
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0xb0], ecx
xor ecx, ecx
mov dword [esp + 0xac], edi
mov dword [esp + 0xdc], ebp
mov ebp, dword [esp + 0xe4]
movzx edi, word [ebp + 0x28]
mov word [ebp + 0xdc], di
mov dword [ebp + 0x108], eax
mov eax, dword [0x82b968]
test eax, eax
je 0x5cb0ad
call fcn.0046b960
mov dword [edi], ebx
mov eax, dword [ebp + 0x10c]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov eax, dword [ebp + 0x114]
mov dword [edi + 0xc], eax
mov dword [ebp + 0x10c], ebx
mov dword [ebp + 0x110], edx
mov dword [ebp + 0x114], ecx
movzx eax, word [ebp + 0x28]
mov word [ebp + 0x138], ax
mov eax, dword [esp + 0xb0]
mov dword [ebp + 0x164], eax
mov eax, dword [0x82b968]
test eax, eax
jne 0x5cb0ea
mov eax, dword [esp + 0xdc]
jmp 0x5cb10d
call fcn.0046b960
mov dword [edi], esi
mov eax, dword [ebp + 0x168]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xdc]
mov dword [edi + 8], eax
mov ecx, dword [ebp + 0x170]
mov dword [edi + 0xc], ecx
mov dword [ebp + 0x168], esi
mov ecx, dword [esp + 0xac]
mov dword [ebp + 0x16c], ecx
mov dword [ebp + 0x170], eax
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
add esp, 0xf4
ret
call fcn.0046a530
jmp fcn.005cac80