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

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ac78d
add esp, 0xffffff80
mov ebx, dword [esp + 0x8c]
mov edx, dword [ebx + 4]
mov ebp, dword [ebx]
test edx, edx
jle 0x5ac45e
lea eax, [edx - 1]
cmp edx, eax
jb 0x5ac785
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], edx
lea eax, [edx + ebp - 1]
mov dword [esp], eax
lea eax, [0x6b7adc]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.00403230
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x34]
jmp 0x5ac460
xor eax, eax
test al, al
je 0x5ac470
lea ecx, [edx - 1]
cmp edx, ecx
jae 0x5ac472
jmp 0x5ac780
mov ecx, edx
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.00502090
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5ac48e
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x5ac4a2
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x5ac777
mov edx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x5ac765
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 2
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], 0x10
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], 0xc
lea edi, [esp + 0x20]
xor eax, eax
call fcn.0046bbab
mov dword [esp], 4
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], ecx
call fcn.00504820
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x5ac74f
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5ac735
cmp eax, 0x800b0101
je 0x5ac6c0
cmp eax, 0x800b0109
je 0x5ac64b
cmp eax, 0x800b010f
jne 0x5ac5f6
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x646620]
mov dword [esp], eax
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040a930
mov eax, dword [esp + 8]
lea ecx, [0x6b97e4]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x648da0]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040a930
mov eax, dword [esp + 8]
lea ecx, [0x6b97f8]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x648da0]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040a930
mov eax, dword [esp + 8]
lea ecx, [0x6b97f8]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x648d20]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0040a930
mov eax, dword [esp + 8]
lea ecx, [0x6b97d0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
sub esp, 0xffffff80
ret
xor eax, eax
mov ecx, eax
call fcn.0046b9b0
call fcn.0046b9d0
mov ecx, edx
call fcn.0046ba10
nop
call fcn.0046a530
jmp fcn.005ac3f0