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

Disassembly:
push 0xffffffffffffffff
push 0x5eff26
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x638190]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x638190]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc8]
mov eax, dword [esi]
mov ebp, dword [esp + 0xcc]
mov edx, dword [eax + 0x5c]
mov ecx, esi
mov dword [esp + 0x30], ebp
xor edi, edi
call edx
dec eax
cmp eax, 0x31
ja case.0x5ac699.2
movzx eax, byte [eax + 0x5ac9d4]
jmp dword [eax*4 + 0x5ac9c0]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x28]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
test word [esi + 0x20], 0xfff9
mov edx, dword [esi + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
mov ecx, edi
sete cl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x24]
cmp dword [esp + 0xd0], edi
je 0x5ac71b
push ebp
push ecx
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call fcn.005c95a0
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
add esp, 0x18
mov ecx, esi
call eax
mov edi, eax
jmp case.0x5ac699.2
push ecx
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.005c9370
add esp, 0x14
mov edi, eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
mov dword [esp + 0x30], edi
call fcn.005145c0
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x5ac78d
mov ebx, dword [esp + 0xc4]
mov eax, dword [ebp + 4]
xor edi, edi
call fcn.005abf80
push 8
mov edi, eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x5ac776
mov dword [eax], 0
mov dword [eax + 4], edi
jmp 0x5ac778
xor eax, eax
mov ecx, dword [esp + 0x30]
push eax
call fcn.005144d0
mov ebp, dword [ebp]
test ebp, ebp
jne 0x5ac751
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x5ac7a1
mov ecx, edi
call fcn.00514660
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
mov edi, eax
jmp case.0x5ac699.2
mov edx, dword [esi + 0xc]
mov ebx, dword [esi + 4]
cmp ebx, edx
jne 0x5ac7c7
mov ecx, dword [esi + 8]
cmp ecx, dword [esi + 0x10]
je case.0x5ac699.2
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
push eax
push edx
mov edx, dword [esp + 0xcc]
push ecx
push ebx
push 0
push edx
call fcn.005abe50
push 8
mov edi, eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x1c
test eax, eax
je 0x5ac7fb
mov dword [eax], 0
mov dword [eax + 4], edi
jmp 0x5ac7fd
xor eax, eax
push eax
mov ecx, ebp
call fcn.005144d0
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
mov ecx, esi
call edx
mov edi, eax
jmp case.0x5ac699.2
lea ecx, [esp + 0x68]
mov edi, 1
call fcn.004f1250
lea eax, [esp + 0x68]
push eax
mov ecx, esi
mov dword [esp + 0xc0], 0
call fcn.00588ba0
mov ebx, dword [esp + 0xd4]
test ebx, ebx
je 0x5ac8b6
cmp dword [esp + 0xd8], 0
je 0x5ac860
mov ecx, dword [esp + 0x88]
and ecx, 0xfffffff9
test cx, cx
je 0x5ac870
jmp 0x5ac8b6
mov edx, dword [esp + 0x88]
and edx, 0xfffffff9
cmp dx, 1
jne 0x5ac8b6
push esi
lea ecx, [esp + 0x40]
call fcn.00588b20
add dword [esp + 0x58], ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 1
call fcn.00587a30
test eax, eax
je 0x5ac8a3
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x40]
call fcn.00588ba0
jmp 0x5ac8a5
xor edi, edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.00587670
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xc4]
push 0
push 0
push ecx
push ebp
lea edx, [esp + 0x78]
push edx
push eax
call fcn.005ac630
add esp, 0x18
test eax, eax
jne 0x5ac8e7
xor edi, edi
lea ecx, [esp + 0x68]
jmp 0x5ac986
neg edi
sbb edi, edi
and edi, 0x30
inc edi
lea ecx, [esp + 0x68]
jmp 0x5ac986
lea ecx, [esp + 0x8c]
call fcn.004f1250
lea ecx, [esp + 0x8c]
push ecx
mov ebx, 2
mov ecx, esi
mov dword [esp + 0xc0], ebx
call fcn.00588ba0
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x44]
call fcn.004f8540
mov edx, dword [esp + 0xc4]
push 0
push 0
push 0
push ebp
lea ecx, [esp + 0x4c]
push ecx
push edx
mov byte [esp + 0xd4], 3
call fcn.005ac630
add esp, 0x18
test eax, eax
jne 0x5ac964
xor edi, edi
jmp 0x5ac96f
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
mov ecx, esi
call edx
mov edi, eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], bl
call fcn.004f85b0
lea ecx, [esp + 0x8c]
mov dword [esp + 0xbc], 0xffffffff
call fcn.004f1b60
mov eax, edi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.005c3bb6
add esp, 0xac
ret