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

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5cf490
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
mov ebx, dword [edx + 0x5c]
mov ebp, dword [edx + 0x60]
mov edx, dword [edx + 0x64]
mov esi, dword [ecx]
mov esi, dword [esi + 0x18]
mov ecx, dword [ecx + 4]
mov edi, dword [eax]
mov dword [esp + 0x64], edi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call esi
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5cf443
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x14]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004f8d30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x5cf3f6
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0xa4]
movzx ebp, byte [eax + 0x38]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
mov ebx, dword [eax + 0x1c]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5cedd5
mov ecx, dword [eax + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.005e6f40
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
lea ecx, [0x660e7e]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 7
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.005e6e20
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
call fcn.005e6f40
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0xa4]
mov ebp, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x40]
mov edi, dword [ebx + 0x44]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ebp, [0x661fd2]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call fcn.005e6e20
mov eax, dword [esp + 0x64]
test byte [eax], al
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x4c], ebx
lea ebp, [eax + 0x128]
mov esi, dword [esp + 0xa4]
mov edi, dword [esi + 0x3c]
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], 2
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.005bd380
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x40]
mov dword [esp + 0xc], esi
lea edi, [0x661fde]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
call fcn.005e6e20
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x64]
lea ebp, [ebx + 0xcc]
mov esi, dword [esp + 0xa4]
mov edi, dword [esi + 0x3c]
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005bd380
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5cf1de
mov ecx, dword [eax + 0x1bc]
cmp dword [eax + 0x1b4], ecx
je 0x5cefb8
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005c1e10
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x3c]
movzx edx, word [edx]
lea edi, [esp + 0x88]
mov ebx, eax
xor eax, eax
call fcn.0046bbaa
mov dword [esp + 0x88], 2
mov dword [esp + 0x8c], 2
mov word [esp + 0x9c], dx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x94], edx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x98], ebp
mov esi, dword [ebx + 0x10]
mov edi, dword [esi + 8]
mov ebp, dword [esi + 4]
inc ebp
mov edx, dword [esi]
cmp edi, ebp
jae 0x5cf085
mov dword [esp + 0x6c], esi
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x646c60]
mov dword [esp + 0x10], eax
call fcn.00450140
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 8], eax
mov eax, dword [0x82b968]
test eax, eax
je 0x5cf073
call fcn.0046b940
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
xor eax, eax
mov esi, ebx
mov ebp, edx
mov edx, ecx
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [esi + 4], ebp
mov esi, dword [0x82b968]
lea ebp, [ebp + ebp*2]
lea edi, [edx + ebp*8 - 0x18]
test esi, esi
je 0x5cf0c9
mov dword [esp + 0x68], edi
lea eax, [0x646c60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea ecx, [esp + 0x88]
mov dword [esp + 8], ecx
call fcn.00412430
xor eax, eax
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
lea esi, [esp + 0x88]
call fcn.0046c084
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x3c]
movzx edx, word [edx]
lea edi, [esp + 0x70]
call fcn.0046bbaa
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], 2
mov word [esp + 0x84], dx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x7c], edx
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x80], ebp
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
inc edi
mov ebp, dword [eax]
cmp esi, edi
jae 0x5cf191
mov dword [esp + 0x6c], eax
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x646c60]
mov dword [esp + 0x10], eax
call fcn.00450140
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 8], eax
mov eax, dword [0x82b968]
test eax, eax
je 0x5cf17d
call fcn.0046b940
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, dword [esp + 0x64]
mov edi, edx
mov ebp, ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edi
mov eax, dword [0x82b968]
lea esi, [edi + edi*2]
lea edi, [ebp + esi*8 - 0x18]
test eax, eax
je 0x5cf1d3
mov dword [esp + 0x68], edi
lea eax, [0x646c60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
call fcn.00412430
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
lea esi, [esp + 0x70]
call fcn.0046c084
jmp 0x5cf1e0
mov ebx, eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x10]
mov ebp, dword [edx + 0x10]
mov esi, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [esp], eax
lea eax, [0x66954c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1f
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
call fcn.005bcaa0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5cf3bc
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x10]
mov ebp, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x18]
mov dword [esp], ecx
lea ecx, [0x66956b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1f
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
call fcn.005bcaa0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5cf382
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
lea ecx, [0x660e7e]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 7
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.005e6e20
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
call fcn.005e6f40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], ecx
mov eax, dword [0x82b968]
test eax, eax
je 0x5cf362
call fcn.0046b940
mov dword [edi], edx
mov eax, dword [ebx + 0x48]
mov dword [edi + 4], eax
mov dword [ebx + 0x48], edx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0xa0
ret
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov byte [esp + 4], 0x50
call fcn.005c1e10
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov byte [esp + 4], 0x50
call fcn.005c1e10
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005c1e10
lea eax, [0x639500]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x668808]
mov dword [eax], ecx
lea ecx, [0x6b96cc]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005c1e10
lea eax, [0x639500]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x668808]
mov dword [eax], ecx
lea ecx, [0x6b96cc]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
call fcn.0046a530
jmp fcn.005cecd0