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

Disassembly:
push 0xffffffffffffffff
push 0x628156
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x67dc50]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
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.0055f1e0
cmp eax, 1
jle 0x5c83a5
push esi
call fcn.005c7510
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 0x5c8055
push fcn.0048f310
push fcn.00513f30
push ebp
lea edi, [eax + 4]
push 0xc
push edi
mov dword [eax], ebp
call fcn.005f6257
mov ebx, edi
mov dword [esp + 0x14], ebx
jmp 0x5c805b
mov dword [esp + 0x14], ecx
mov ebx, ecx
or edi, 0xffffffff
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1d0], edi
call fcn.00405fd0
lea ecx, [esp + 0x34]
mov dword [esp + 0x1d0], 1
call fcn.00513f30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d0], 2
call fcn.00513f30
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1d4], 3
call fcn.005ccf30
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x1d0], 4
cmp ecx, dword [esp + 0x68]
ja 0x5c82d4
jmp 0x5c80c0
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
mov esi, ecx
call eax
cmp eax, 0x16
jne 0x5c80d7
mov eax, dword [esi + 0x14]
jmp 0x5c8112
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x11
jne 0x5c80ea
mov eax, dword [esi + 0x24]
jmp 0x5c8112
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x31
jne 0x5c80fd
mov eax, dword [esi + 0x20]
jmp 0x5c8112
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x20
jne 0x5c8110
mov eax, dword [esi + 0x24]
jmp 0x5c8112
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.005c7400
mov ebp, eax
push esi
mov edx, ebp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], ebp
call fcn.005c7b30
add esp, 0x18
cmp dword [esp + 0x34], 0
mov ebx, eax
mov dword [esp + 0x18], 0
jle 0x5c829b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx*4]
test ebx, ebx
jne 0x5c8169
cmp edi, 0xffffffff
jne 0x5c81e8
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 0x5c81e8
cmp dword [esp + 0x1ec], 0
je 0x5c81e8
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x20
je 0x5c81e8
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x11
jne 0x5c81b1
mov ecx, dword [esi + 0x24]
cmp ecx, dword [esi + 0x28]
jne 0x5c81e8
xor edi, edi
cmp dword [esp + 0x1c], 0
jle 0x5c8245
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 0x5c8229
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.005616b0
mov ebp, eax
jmp 0x5c822b
cmp edi, 1
jne 0x5c81b3
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 6
jne 0x5c820b
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 4]
jne 0x5c820b
mov edx, dword [esi + 0x10]
cmp edx, dword [esi + 8]
je 0x5c821d
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x20]
call fcn.005ee1f0
mov dword [eax], esi
jmp 0x5c8288
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
jmp 0x5c8288
xor ebp, ebp
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push edx
mov byte [esp + 0x1d4], 4
call fcn.005ee1f0
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 0x5c8263
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 4]
jne 0x5c8263
mov ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 8]
je 0x5c8275
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x20]
call fcn.005ee1f0
mov dword [eax], esi
jmp 0x5c827f
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea ecx, [esp + 0x1c]
call fcn.00513f80
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
jl 0x5c8155
push 0
lea ecx, [esp + 0x38]
call fcn.005ee1f0
mov dword [esp + 0x34], 0
test ebx, ebx
je 0x5c82b5
or edi, 0xffffffff
lea ecx, [esp + 0x58]
call fcn.0056dbf0
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x14]
cmp eax, dword [esp + 0x68]
jbe 0x5c80c0
mov ebp, dword [esp + 0x48]
lea ecx, [esp + 0x58]
mov byte [esp + 0x1d0], 3
call fcn.005cc070
cmp dword [esp + 0x1c], 0
jle 0x5c832e
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 0x5c8316
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.005616b0
mov esi, eax
jmp 0x5c8318
xor esi, esi
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push edx
mov byte [esp + 0x1d4], 3
call fcn.005ee1f0
mov dword [eax], esi
lea ecx, [esp + 0x1c]
call fcn.00513f80
test ebx, ebx
je 0x5c836f
test ebp, ebp
jle 0x5c8352
mov esi, ebx
mov edi, ebp
mov ecx, esi
call fcn.00513f80
add esi, 0xc
sub edi, 1
jne 0x5c8343
mov eax, dword [ebx - 4]
push fcn.0048f310
lea esi, [ebx - 4]
push eax
push 0xc
push ebx
call fcn.005f61f4
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.0048f310
lea ecx, [esp + 0x34]
mov byte [esp + 0x1d0], 1
call fcn.0048f310
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1d0], 0xffffffff
call fcn.005ee4c0
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.005f617e
add esp, 0x1c0
ret