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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
mov ebx, edx
xor eax, eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], edi
cmp dword [ebx + 0x44], eax
je 0x4acaf5
cmp dword [ebx + 0x34], eax
jne 0x4acaf5
test dword [ebx + 4], 0x100000
jne 0x4acaf5
cmp byte [edi + 0xd8], 2
jae 0x4acaf5
mov eax, dword [edi + 8]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4ac51b
cmp dword [edi + 0x78], eax
jne 0x4ac512
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x4ac512
mov byte [edi + 0x17], 1
call fcn.00436f50
mov dword [esp + 0x20], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x40], ecx
push 0
push 0x40
test eax, eax
je 0x4ac56a
mov ecx, eax
call fcn.00413890
mov esi, eax
mov dword [esp + 0x24], esi
jmp 0x4ac575
call fcn.00413230
mov esi, eax
mov dword [esp + 0x24], eax
add esp, 8
test esi, esi
je 0x4acad4
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x44], edi
xorps xmm0, xmm0
mov dword [esp + 0x48], 0x457b20
mov edx, ebx
movlpd qword [esp + 0x50], xmm0
lea ecx, [esp + 0x44]
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x4c], fcn.0040c9e0
call fcn.0044a2d0
test byte [ebx + 4], 8
mov dword [esp + 0x10], esi
jne 0x4ac610
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x48], 0x4ac480
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], esi
test eax, eax
je 0x4ac610
mov esi, dword [eax]
lea ebx, [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
test esi, esi
jle 0x4ac60c
mov dword [esp + 0x10], eax
mov edx, dword [ebx]
lea ecx, [esp + 0x44]
call fcn.0044a2c0
test eax, eax
jne 0x4ac60c
dec esi
add ebx, 0x14
test esi, esi
jg 0x4ac5f5
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 4]
xor edx, edx
mov esi, dword [esp + 0x18]
and eax, 0xfffffff7
or eax, 0x100000
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov ecx, edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 4], eax
push 1
push dword [esi + 8]
call fcn.004ac280
push 1
push dword [esi + 0xc]
mov edx, eax
mov ecx, edi
call fcn.004ac280
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x4ac6a6
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4ac6a6
mov eax, dword [eax]
mov esi, dword [ecx]
cmp eax, esi
jg 0x4ac6a6
mov dword [ecx], eax
mov edx, dword [ebx + 0x30]
push 0xffffffffffffffff
call fcn.004573b0
add esp, 4
test eax, eax
jne 0x4ac6a0
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x4ac699
mov ecx, dword [esp + 0x14]
call fcn.00450000
mov dword [ebx + 0x30], 0
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov ecx, dword [esp + 0x18]
mov edx, ecx
mov eax, dword [edi + 0x28]
mov esi, dword [esp + 0x1c]
mov dword [ecx + 0x30], eax
lea eax, [esp + 0xc]
add dword [edi + 0x28], 4
mov ecx, edi
push eax
push esi
push dword [ebx + 0x1c]
push dword [esp + 0x30]
call fcn.004ac1e0
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
push esi
push dword [ebx + 0x30]
mov ebx, dword [esp + 0x34]
mov edx, ebx
push dword [esp + 0x40]
call fcn.004ac1e0
mov edx, dword [esp + 0x2c]
add esp, 0x20
test edx, edx
je 0x4ac6f7
mov eax, dword [edx]
jmp 0x4ac6f9
xor eax, eax
push 0
push dword [ebx + 8]
mov ecx, edi
mov dword [ebx + 0x4c], eax
call fcn.004ac280
push 0
push dword [ebx + 0xc]
mov edx, eax
mov ecx, edi
call fcn.004ac280
mov esi, eax
add esp, 0x10
mov dword [esp + 0xc], esi
mov edx, ebx
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x2c]
test dword [eax + 4], 0x100000
je 0x4ac769
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
push ecx
push dword [esp + 0x30]
mov ecx, edi
call fcn.004ac1e0
mov esi, dword [esp + 0x1c]
add esp, 0x10
test esi, esi
je 0x4ac75e
mov eax, dword [esi]
mov dword [ebx + 0x50], eax
mov byte [ebx + 0x60], 1
jmp 0x4ac78b
xor eax, eax
mov byte [ebx + 0x60], 1
mov dword [ebx + 0x50], eax
jmp 0x4ac78b
test esi, esi
je 0x4ac771
mov eax, dword [esi]
jmp 0x4ac773
xor eax, eax
push 0
push ecx
mov edx, esi
mov dword [ebx + 0x50], eax
mov ecx, edi
call fcn.004ac280
mov esi, eax
add esp, 8
mov dword [esp + 0xc], esi
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x4ac7f8
mov ecx, dword [esp + 0x14]
push 0
push 0
call fcn.0044efb0
add esp, 8
mov edx, eax
test esi, esi
jne 0x4ac7b3
mov ecx, dword [edi]
call fcn.0044fb40
mov esi, eax
jmp 0x4ac7f4
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esp + 0xc], ecx
cmp dword [esi + 4], ecx
jge 0x4ac7d2
mov ecx, dword [edi]
push edx
mov edx, esi
call fcn.0044fbb0
add esp, 4
mov esi, eax
jmp 0x4ac7f4
movups xmm0, xmmword [0x4f940c]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*4]
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, dword [0x4f941c]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edx
mov dword [esp + 0xc], esi
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x34], eax
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4ac82f
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, eax
call fcn.00437140
add esp, 0xc
jmp 0x4ac868
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, edi
mov edi, dword [esp + 0x30]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [ebx + 0x24]
mov edx, dword [esp + 0x18]
test ebx, ebx
jne 0x4ac721
test esi, esi
jne 0x4ac907
xor ebx, ebx
lea edx, [esp + 0x20]
mov ecx, 0x5020b0
mov dword [esp + 0x20], ebx
call fcn.004183e0
test eax, eax
mov ecx, 2
push esi
cmove ebx, ecx
mov ecx, dword [esp + 0x18]
lea eax, [ebx + 0x34]
push eax
call fcn.00413890
mov esi, eax
add esp, 8
test esi, esi
je 0x4ac8fc
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x9b
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
jne 0x4ac8ea
mov eax, dword [esp + 0x20]
mov ecx, 0x20800800
test eax, eax
mov dword [esi + 8], eax
mov edx, 0x10800800
cmovne ecx, edx
or dword [esi + 4], ecx
jmp 0x4ac8f5
lea eax, [esi + 0x34]
mov dword [esi + 8], eax
mov word [eax], 0x30
mov dword [esi + 0x18], 1
mov ecx, dword [edi]
mov edx, esi
call fcn.0044fb40
mov esi, eax
push 0
push 0
push dword [esp + 0x34]
mov edx, esi
mov ecx, edi
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x3c]
call fcn.00481c50
mov ecx, dword [edi]
add esp, 0x1c
mov ebx, eax
push 0
push 0x50
call fcn.00413890
mov esi, eax
add esp, 8
mov dword [esp + 0x3c], esi
test esi, esi
jne 0x4ac992
mov esi, dword [esp + 0x28]
mov dword [esi + 0x20], eax
test ebx, ebx
je 0x4ac960
mov ecx, dword [esp + 0x14]
mov edx, ebx
push 1
call fcn.00481b00
add esp, 4
xor ecx, ecx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, 7
push 0
push 0xc
cmp byte [eax + 0x57], 0
cmovne ecx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x4aca8d
call fcn.00413890
jmp 0x4aca92
push 0x48
lea eax, [esi + 8]
mov dword [esi + 4], 1
push 0
push eax
mov dword [esi], 1
call sub.VCRUNTIME140.dll_memset
mov dword [esi + 0x34], 0xffffffff
add esp, 0xc
mov eax, dword [esi]
mov ecx, edi
lea eax, [eax + eax*8]
mov dword [esi + eax*8 - 0x38], 0
mov dword [esi + eax*8 - 0x3c], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x20], eax
mov dword [eax + 0x1c], ebx
mov eax, dword [esi + 0x20]
or dword [eax + 0x30], 8
mov edx, dword [esi + 0x20]
call fcn.00467bf0
or dword [ebx + 4], 0x8000040
mov edx, ebx
push 0x40
mov ecx, edi
call fcn.00485e90
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x40]
and eax, 8
or dword [ebx + 4], eax
test ecx, ecx
jne 0x4aca19
mov ecx, 7
jmp 0x4ac962
movups xmm0, xmmword [ecx]
mov edx, dword [esp + 0x1c]
movups xmmword [edx], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [edx + 0x30], xmm0
or dword [edx + 0x1c], 0x4000
mov eax, dword [esi + 0x20]
xorps xmm0, xmm0
mov esi, ecx
lea ecx, [esp + 0x44]
mov dword [eax + 0x18], edx
mov edx, ebx
mov dword [esp + 0x44], 0
movlpd qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x48], 0x4ac450
mov dword [esp + 0x4c], 0x44a4b0
mov dword [esp + 0x50], 0x44a4c0
call fcn.0044a2d0
xor ecx, ecx
jmp 0x4ac966
call fcn.00413230
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4acabe
mov eax, dword [edi + 0x84]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x84], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], fcn.00413560
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push dword [edi]
call fcn.00413560
mov eax, dword [esp + 0x34]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4acaf0
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x4acaf0
inc dword [eax + 0x24]
mov dword [eax + 0xc], 7
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret