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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5cbdbb
sub esp, 0x74
lea eax, [0x6a80e0]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.00409a40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x5cb30f
lea eax, [0x69be80]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x400
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
lea ecx, [0x6b4240]
mov dword [esp], ecx
call fcn.0040be50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x78]
mov dword [eax], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x5cb2c8
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
jmp 0x5cb2d8
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x7c]
call fcn.00465d80
mov eax, ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0x400
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x5cb2f9
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
jmp 0x5cb309
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.00465d80
mov eax, ecx
lea ecx, [0x785318]
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
call fcn.0040ca70
mov eax, dword [esp]
mov dword [esp + 0x64], eax
lea ecx, [0x6d8a00]
mov dword [esp], ecx
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x5cb359
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x28], ecx
jmp 0x5cb373
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00465d80
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x64]
call fcn.00465d80
lea eax, [0x69be80]
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call fcn.0044bce0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x68], edx
mov ebx, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], 8
mov dword [esp + 0xc], 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test edx, edx
je 0x5cb444
mov ebp, dword [0x1e84bbc]
cmp dword [0x1e84bb8], eax
jne 0x5cb427
mov dword [esp + 0x40], edx
mov dword [esp + 0x58], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00403940
movzx eax, byte [esp + 0xc]
test al, al
je 0x5cb41f
mov edx, dword [0x1e84be0]
mov ebx, dword [0x1e84be4]
jmp 0x5cb427
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
add esp, 0x74
ret
mov ecx, dword [esp + 0x68]
cmp dword [ecx], 0x2a4949
jne 0x5cb482
lea edx, [0x78734c]
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 8], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cb472
lea eax, [0x1eaa804]
mov dword [ebx + 0xc], eax
jmp 0x5cb4be
lea edi, [ebx + 0xc]
lea eax, [0x1eaa804]
call fcn.00465d80
jmp 0x5cb4be
cmp dword [ecx], 0x2a004d4d
jne 0x5cb621
lea edx, [0x787320]
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 8], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cb4b0
lea eax, [0x1eaa804]
mov dword [ebx + 0xc], eax
jmp 0x5cb4be
lea edi, [ebx + 0xc]
lea eax, [0x1eaa804]
call fcn.00465d80
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov eax, dword [eax + 0x24]
mov dword [esp], edx
lea edx, [ecx + 4]
mov dword [esp + 4], edx
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov ebx, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 8], 2
mov dword [esp + 0xc], 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
call ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x5cb604
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x3c]
add edx, 2
mov dword [esp + 0x4c], edx
mov ebx, 0
adc ebx, 0
mov dword [esp + 0x48], ebx
mov ebp, dword [eax + 0xc]
mov ecx, dword [ecx + 0x20]
mov dword [esp], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 4], ebp
mov dword [esp + 8], 2
mov dword [esp + 0xc], 8
call ecx
movzx eax, word [esp + 0x10]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [eax + eax*2]
shl eax, 2
mov edx, eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
call fcn.005c8ad0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x5cb5e7
mov dword [esp + 0x54], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov edi, dword [esp + 0x5c]
xor eax, eax
mov ecx, 0xffffffff
jmp 0x5cb664
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x74
ret
mov dword [esp + 0x80], 0
lea eax, [0x785de0]
mov dword [esp + 0x84], eax
lea eax, [0x784a98]
mov dword [esp + 0x88], eax
add esp, 0x74
ret
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [esp + 0x44]
cmp eax, ebx
jge 0x5cb716
lea ebx, [eax + 0xc]
cmp ebp, ebx
jb 0x5cbdb1
cmp eax, ebx
ja 0x5cbdaa
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], ecx
mov dword [esp], edi
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, esi
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], edx
call fcn.005c93e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x5cb6f9
mov ebx, dword [esp + 0x30]
cmp ebx, eax
jl 0x5cb64a
mov dword [esp + 0x80], 0
lea eax, [0x785de0]
mov dword [esp + 0x84], eax
lea eax, [0x784aa0]
mov dword [esp + 0x88], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
add esp, 0x74
ret
mov eax, dword [edi + 0x28]
lea ecx, [0x69daa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x100
call fcn.0040ec00
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
jne 0x5cb744
xor eax, eax
jmp 0x5cb746
mov eax, dword [eax]
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x18], eax
mov eax, dword [ecx + 0x28]
lea edx, [0x69daa0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x101
call fcn.0040ec00
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
jne 0x5cb77b
xor eax, eax
jmp 0x5cb77d
mov eax, dword [eax]
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ecx + 0x28]
lea edx, [0x69daa0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x102
call fcn.0040ed50
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5cb814
lea eax, [0x695ea0]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov dword [eax], 1
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x28]
lea ebx, [0x69daa0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], 0x102
call fcn.0040eeb0
mov edi, dword [esp + 0xc]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x1eaa9f0]
test eax, eax
jne 0x5cb80b
mov eax, dword [esp + 0x60]
mov dword [edi], eax
jmp 0x5cb814
mov eax, dword [esp + 0x60]
call fcn.00465d80
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x28]
lea edx, [0x69daa0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x102
call fcn.0040ec00
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
jne 0x5cb846
xor eax, eax
jmp 0x5cb848
mov eax, dword [eax]
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x24], eax
cmp eax, 1
ja 0x5cb881
test eax, eax
jne 0x5cb88f
mov dword [esp + 0x80], 0
lea eax, [0x785de0]
mov dword [esp + 0x84], eax
lea eax, [0x784aa8]
mov dword [esp + 0x88], eax
add esp, 0x74
ret
cmp eax, 8
je 0x5cb88f
cmp eax, 0x10
jne 0x5cba83
mov eax, dword [ecx + 0x28]
lea edx, [0x69daa0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x106
call fcn.0040ec00
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
jne 0x5cb8bd
xor ecx, ecx
jmp 0x5cb8bf
mov ecx, dword [eax]
cmp ecx, 1
jbe 0x5cb9b3
cmp ecx, 2
jne 0x5cb931
mov eax, dword [esp + 0x5c]
cmp dword [eax + 0x24], 0x10
jne 0x5cb904
mov ecx, dword [eax + 0x28]
lea edx, [0x69daa0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x102
call fcn.0040ec00
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
jmp 0x5cbd71
mov ecx, dword [eax + 0x28]
lea edx, [0x69daa0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x102
call fcn.0040ec00
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
jmp 0x5cbb3b
cmp ecx, 3
jne 0x5cb98a
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x20], 1
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
mov ebx, dword [eax + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004098b0
mov eax, dword [esp + 0xc]
lea ecx, [0x785ea8]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x5cb97d
mov dword [edx + 0x14], eax
jmp 0x5cbb19
lea edi, [edx + 0x14]
call fcn.00465d80
jmp 0x5cbb19
mov dword [esp + 0x80], 0
lea eax, [0x785df4]
mov dword [esp + 0x84], eax
lea eax, [0x784a60]
mov dword [esp + 0x88], eax
add esp, 0x74
ret
test ecx, ecx
jne 0x5cba1d
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x20], 3
cmp dword [ecx + 0x24], 0x10
jne 0x5cb9f0
mov eax, dword [0x1e84b14]
mov edx, dword [0x1e84b10]
mov dword [ecx + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cb9e6
mov dword [ecx + 0x14], eax
jmp 0x5cba16
lea edi, [ecx + 0x14]
call fcn.00465d80
jmp 0x5cba16
mov eax, dword [0x1e84b1c]
mov edx, dword [0x1e84b18]
mov dword [ecx + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cba0e
mov dword [ecx + 0x14], eax
jmp 0x5cba16
lea edi, [ecx + 0x14]
call fcn.00465d80
mov edx, ecx
jmp 0x5cbb19
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x20], 2
cmp dword [ecx + 0x24], 0x10
jne 0x5cba56
mov eax, dword [0x1e84b14]
mov edx, dword [0x1e84b10]
mov dword [ecx + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cba4c
mov dword [ecx + 0x14], eax
jmp 0x5cba7c
lea edi, [ecx + 0x14]
call fcn.00465d80
jmp 0x5cba7c
mov eax, dword [0x1e84b1c]
mov edx, dword [0x1e84b18]
mov dword [ecx + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cba74
mov dword [ecx + 0x14], eax
jmp 0x5cba7c
lea edi, [ecx + 0x14]
call fcn.00465d80
mov edx, ecx
jmp 0x5cbb19
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [ecx + 0x24]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69bd80]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x6f524b]
mov dword [esp], eax
mov dword [esp + 4], 0x13
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004d09e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409830
mov eax, dword [esp + 8]
mov dword [esp + 0x80], 0
lea ecx, [0x785df4]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x74
ret
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x74
ret
inc edx
cmp edx, eax
jge 0x5cbb70
lea ebx, [ecx + edx*4]
cmp dword [ebx], 8
je 0x5cbb3a
mov dword [esp + 0x80], 0
lea eax, [0x785de0]
mov dword [esp + 0x84], eax
lea eax, [0x784a50]
mov dword [esp + 0x88], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x28]
lea edx, [0x69daa0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x102
call fcn.0040ec00
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
cmp eax, 3
jne 0x5cbc0a
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x20], 4
cmp dword [ecx + 0x24], 0x10
jne 0x5cbbdc
mov eax, dword [0x1e84b3c]
mov edx, dword [0x1e84b38]
mov dword [ecx + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cbbcf
mov dword [ecx + 0x14], eax
jmp 0x5cbd17
lea edi, [ecx + 0x14]
call fcn.00465d80
jmp 0x5cbd17
mov eax, dword [0x1e84b44]
mov edx, dword [0x1e84b40]
mov dword [ecx + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cbbfd
mov dword [ecx + 0x14], eax
jmp 0x5cbd17
lea edi, [ecx + 0x14]
call fcn.00465d80
jmp 0x5cbd17
cmp eax, 4
jne 0x5cbd47
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x28]
lea edx, [0x69daa0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x152
call fcn.0040ec00
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
jne 0x5cbc45
xor ecx, ecx
jmp 0x5cbc47
mov ecx, dword [eax]
cmp ecx, 1
jne 0x5cbcb3
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x20], 5
cmp dword [ecx + 0x24], 0x10
jne 0x5cbc8b
mov eax, dword [0x1e84b3c]
mov edx, dword [0x1e84b38]
mov dword [ecx + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cbc7e
mov dword [ecx + 0x14], eax
jmp 0x5cbd17
lea edi, [ecx + 0x14]
call fcn.00465d80
jmp 0x5cbd17
mov eax, dword [0x1e84b44]
mov edx, dword [0x1e84b40]
mov dword [ecx + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cbca9
mov dword [ecx + 0x14], eax
jmp 0x5cbd17
lea edi, [ecx + 0x14]
call fcn.00465d80
jmp 0x5cbd17
cmp ecx, 2
jne 0x5cbd1e
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x20], 6
cmp dword [ecx + 0x24], 0x10
jne 0x5cbcf1
mov eax, dword [0x1e84b24]
mov edx, dword [0x1e84b20]
mov dword [ecx + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cbce7
mov dword [ecx + 0x14], eax
jmp 0x5cbd17
lea edi, [ecx + 0x14]
call fcn.00465d80
jmp 0x5cbd17
mov eax, dword [0x1e84b2c]
mov edx, dword [0x1e84b28]
mov dword [ecx + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5cbd0f
mov dword [ecx + 0x14], eax
jmp 0x5cbd17
lea edi, [ecx + 0x14]
call fcn.00465d80
mov edx, ecx
jmp 0x5cbb19
mov dword [esp + 0x80], 0
lea eax, [0x785de0]
mov dword [esp + 0x84], eax
lea eax, [0x784a58]
mov dword [esp + 0x88], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
lea eax, [0x785de0]
mov dword [esp + 0x84], eax
lea eax, [0x784a58]
mov dword [esp + 0x88], eax
add esp, 0x74
ret
inc edx
cmp edx, eax
jge 0x5cbb70
lea ebx, [ecx + edx*4]
cmp dword [ebx], 0x10
je 0x5cbd70
mov dword [esp + 0x80], 0
lea eax, [0x785de0]
mov dword [esp + 0x84], eax
lea eax, [0x784a48]
mov dword [esp + 0x88], eax
add esp, 0x74
ret
mov ecx, ebx
call fcn.00465e60
mov ecx, ebx
mov edx, ebp
call fcn.00465e40
nop
call fcn.004649b0
jmp fcn.005cb230