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

Disassembly:
push 0xffffffffffffffff
push 0x62c0c6
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x682d00]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x1e0]
mov eax, dword [esp + 0x1d8]
mov esi, dword [esp + 0x1dc]
mov edx, dword [esp + 0x1e8]
mov dword [esp + 0x2c], ecx
mov ecx, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], edx
call fcn.00562690
cmp eax, 1
jle 0x5cba05
push esi
call fcn.005cab70
mov ebp, eax
xor ecx, ecx
mov edx, 0xc
mul edx
seto cl
mov dword [esp + 0x4c], ebp
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 8
mov dword [esp + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x1d0], ecx
cmp eax, ecx
je 0x5cb6b5
push fcn.004925b0
push fcn.00516940
push ebp
lea edi, [eax + 4]
push 0xc
push edi
mov dword [eax], ebp
call fcn.005f9bc7
mov ebx, edi
mov dword [esp + 0x14], ebx
jmp 0x5cb6bb
mov dword [esp + 0x14], ecx
mov ebx, ecx
or edi, 0xffffffff
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1d0], edi
call fcn.005f1fa0
lea ecx, [esp + 0x34]
mov dword [esp + 0x1d0], 1
call fcn.00516940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d0], 2
call fcn.00516940
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1d4], 3
call fcn.005d0590
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x1d0], 4
cmp ecx, dword [esp + 0x68]
ja 0x5cb934
jmp 0x5cb720
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
mov esi, ecx
call eax
cmp eax, 0x16
jne 0x5cb737
mov eax, dword [esi + 0x14]
jmp 0x5cb772
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x11
jne 0x5cb74a
mov eax, dword [esi + 0x24]
jmp 0x5cb772
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x31
jne 0x5cb75d
mov eax, dword [esi + 0x20]
jmp 0x5cb772
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x20
jne 0x5cb770
mov eax, dword [esi + 0x24]
jmp 0x5cb772
xor eax, eax
mov ecx, dword [esp + 0x1e4]
push ecx
lea edx, [esp + 0x50]
push edx
push ebx
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.005caa60
mov ebp, eax
push esi
mov edx, ebp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], ebp
call fcn.005cb190
add esp, 0x18
cmp dword [esp + 0x34], 0
mov ebx, eax
mov dword [esp + 0x18], 0
jle 0x5cb8fb
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx*4]
test ebx, ebx
jne 0x5cb7c9
cmp edi, 0xffffffff
jne 0x5cb848
mov eax, dword [esp + 0x2c]
push eax
push esi
push ebp
call dword [esp + 0x50]
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
neg edi
test ebx, ebx
je 0x5cb848
cmp dword [esp + 0x1ec], 0
je 0x5cb848
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x20
je 0x5cb848
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x11
jne 0x5cb811
mov ecx, dword [esi + 0x24]
cmp ecx, dword [esi + 0x28]
jne 0x5cb848
xor edi, edi
cmp dword [esp + 0x1c], 0
jle 0x5cb8a5
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0x1d0], 5
test eax, eax
je 0x5cb889
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00564b60
mov ebp, eax
jmp 0x5cb88b
cmp edi, 1
jne 0x5cb813
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 6
jne 0x5cb86b
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 4]
jne 0x5cb86b
mov edx, dword [esi + 0x10]
cmp edx, dword [esi + 8]
je 0x5cb87d
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x20]
call fcn.005f1b40
mov dword [eax], esi
jmp 0x5cb8e8
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
jmp 0x5cb8e8
xor ebp, ebp
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push edx
mov byte [esp + 0x1d4], 4
call fcn.005f1b40
mov dword [eax], ebp
mov ebp, dword [esp + 0x28]
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
mov ecx, esi
call edx
cmp eax, 6
jne 0x5cb8c3
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 4]
jne 0x5cb8c3
mov ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 8]
je 0x5cb8d5
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x20]
call fcn.005f1b40
mov dword [eax], esi
jmp 0x5cb8df
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea ecx, [esp + 0x1c]
call fcn.00516990
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
jl 0x5cb7b5
push 0
lea ecx, [esp + 0x38]
call fcn.005f1b40
mov dword [esp + 0x34], 0
test ebx, ebx
je 0x5cb915
or edi, 0xffffffff
lea ecx, [esp + 0x58]
call fcn.005710d0
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x14]
cmp eax, dword [esp + 0x68]
jbe 0x5cb720
mov ebp, dword [esp + 0x48]
lea ecx, [esp + 0x58]
mov byte [esp + 0x1d0], 3
call fcn.005cf6d0
cmp dword [esp + 0x1c], 0
jle 0x5cb98e
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0x1d0], 6
test eax, eax
je 0x5cb976
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00564b60
mov esi, eax
jmp 0x5cb978
xor esi, esi
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push edx
mov byte [esp + 0x1d4], 3
call fcn.005f1b40
mov dword [eax], esi
lea ecx, [esp + 0x1c]
call fcn.00516990
test ebx, ebx
je 0x5cb9cf
test ebp, ebp
jle 0x5cb9b2
mov esi, ebx
mov edi, ebp
mov ecx, esi
call fcn.00516990
add esi, 0xc
sub edi, 1
jne 0x5cb9a3
mov eax, dword [ebx - 4]
push fcn.004925b0
lea esi, [ebx - 4]
push eax
push 0xc
push ebx
call fcn.005f9b64
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d0], 2
call fcn.004925b0
lea ecx, [esp + 0x34]
mov byte [esp + 0x1d0], 1
call fcn.004925b0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1d0], 0xffffffff
call fcn.005f1f90
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.005f9aee
add esp, 0x1c0
ret