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

Disassembly:
push 0xffffffffffffffff
push 0x5e9596
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x62fda0]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62fda0]
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.0052c760
cmp eax, 1
jle 0x5b6da5
push esi
call fcn.005b5f10
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 0x5b6a55
push fcn.00467410
push fcn.004f6ca0
push ebp
lea edi, [eax + 4]
push 0xc
push edi
mov dword [eax], ebp
call fcn.005bd55c
mov ebx, edi
mov dword [esp + 0x14], ebx
jmp 0x5b6a5b
mov dword [esp + 0x14], ecx
mov ebx, ecx
or edi, 0xffffffff
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1d0], edi
call fcn.005bbf60
lea ecx, [esp + 0x34]
mov dword [esp + 0x1d0], 1
call fcn.004f6ca0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d0], 2
call fcn.004f6ca0
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1d4], 3
call fcn.00588450
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x1d0], 4
cmp ecx, dword [esp + 0x68]
ja 0x5b6cd4
jmp 0x5b6ac0
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
mov esi, ecx
call eax
cmp eax, 0x16
jne 0x5b6ad7
mov eax, dword [esi + 0x14]
jmp 0x5b6b12
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x11
jne 0x5b6aea
mov eax, dword [esi + 0x24]
jmp 0x5b6b12
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x31
jne 0x5b6afd
mov eax, dword [esi + 0x20]
jmp 0x5b6b12
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x20
jne 0x5b6b10
mov eax, dword [esi + 0x24]
jmp 0x5b6b12
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.005b5e00
mov ebp, eax
push esi
mov edx, ebp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], ebp
call fcn.005b6530
add esp, 0x18
cmp dword [esp + 0x34], 0
mov ebx, eax
mov dword [esp + 0x18], 0
jle 0x5b6c9b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx*4]
test ebx, ebx
jne 0x5b6b69
cmp edi, 0xffffffff
jne 0x5b6be8
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 0x5b6be8
cmp dword [esp + 0x1ec], 0
je 0x5b6be8
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x20
je 0x5b6be8
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 0x11
jne 0x5b6bb1
mov ecx, dword [esi + 0x24]
cmp ecx, dword [esi + 0x28]
jne 0x5b6be8
xor edi, edi
cmp dword [esp + 0x1c], 0
jle 0x5b6c45
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 0x5b6c29
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0052e650
mov ebp, eax
jmp 0x5b6c2b
cmp edi, 1
jne 0x5b6bb3
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
cmp eax, 6
jne 0x5b6c0b
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 4]
jne 0x5b6c0b
mov edx, dword [esi + 0x10]
cmp edx, dword [esi + 8]
je 0x5b6c1d
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x20]
call fcn.005bbe80
mov dword [eax], esi
jmp 0x5b6c88
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
jmp 0x5b6c88
xor ebp, ebp
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push edx
mov byte [esp + 0x1d4], 4
call fcn.005bbe80
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 0x5b6c63
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 4]
jne 0x5b6c63
mov ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 8]
je 0x5b6c75
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x20]
call fcn.005bbe80
mov dword [eax], esi
jmp 0x5b6c7f
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea ecx, [esp + 0x1c]
call fcn.004f6cf0
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
jl 0x5b6b55
push 0
lea ecx, [esp + 0x38]
call fcn.005bbe80
mov dword [esp + 0x34], 0
test ebx, ebx
je 0x5b6cb5
or edi, 0xffffffff
lea ecx, [esp + 0x58]
call fcn.00535020
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x14]
cmp eax, dword [esp + 0x68]
jbe 0x5b6ac0
mov ebp, dword [esp + 0x48]
lea ecx, [esp + 0x58]
mov byte [esp + 0x1d0], 3
call fcn.00587590
cmp dword [esp + 0x1c], 0
jle 0x5b6d2e
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 0x5b6d16
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0052e650
mov esi, eax
jmp 0x5b6d18
xor esi, esi
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push edx
mov byte [esp + 0x1d4], 3
call fcn.005bbe80
mov dword [eax], esi
lea ecx, [esp + 0x1c]
call fcn.004f6cf0
test ebx, ebx
je 0x5b6d6f
test ebp, ebp
jle 0x5b6d52
mov esi, ebx
mov edi, ebp
mov ecx, esi
call fcn.004f6cf0
add esi, 0xc
sub edi, 1
jne 0x5b6d43
mov eax, dword [ebx - 4]
push fcn.00467410
lea esi, [ebx - 4]
push eax
push 0xc
push ebx
call fcn.005bd4f9
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.00467410
lea ecx, [esp + 0x34]
mov byte [esp + 0x1d0], 1
call fcn.00467410
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1d0], 0xffffffff
call fcn.005b9680
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.005bd2c6
add esp, 0x1c0
ret