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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5045f2
push eax
mov eax, dword [esp + 0x20]
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0xbc]
push edi
cmp eax, ebp
mov edi, ecx
jne 0x4ac07d
cmp esi, ebp
jne 0x4ac07d
xor al, al
jmp 0x4ac43d
lea ecx, [esp + 0x5c]
call fcn.004ad3c0
mov ebx, dword [esp + 0xbc]
lea eax, [esp + 0x5c]
push ebx
push eax
mov ecx, edi
mov dword [esp + 0xbc], ebp
call fcn.004ab9c0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x60]
call fcn.004ad7d0
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0xb8], 1
call fcn.004dbf35
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 3
call fcn.004dbec1
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x18]
push edx
push eax
push esi
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.004ad060
lea eax, [esp + 0x1c]
lea ecx, [edi + 8]
push eax
push 8
mov byte [esp + 0xbc], 4
mov dword [esp + 0x24], ebp
call fcn.004ad240
test eax, eax
je 0x4ac139
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 8], 8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov ebp, ecx
je 0x4ac139
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x5c]
call fcn.004ad850
test al, al
je 0x4ac1c1
test ebp, ebp
je 0x4ac154
mov edx, dword [ebp]
push 0
mov ecx, ebp
call dword [edx + 8]
mov eax, dword [esp + 0x10]
push eax
call fcn.004b3dc0
mov esi, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.004ad860
push eax
push esi
call fcn.004b0240
add esp, 8
test ebp, ebp
je 0x4ac184
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xc]
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 3
call fcn.004dbec1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.004dbec1
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.004ad440
mov al, 1
jmp 0x4ac43d
test ebp, ebp
je 0x4ac1d2
mov ecx, dword [esp + 0x78]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 8]
push ebx
mov ecx, edi
call fcn.004abb40
test al, al
jne 0x4ac21b
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 3
call fcn.004dbec1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.004dbec1
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.004ad440
xor al, al
jmp 0x4ac43d
mov eax, dword [0x574900]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
mov byte [esp + 0xb8], 9
mov dword [esp + 0x34], 0x518dfc
call fcn.004b3a30
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0xb8], 0xa
call fcn.004ac700
mov eax, dword [eax]
mov byte [esp + 0xb4], 0xb
push eax
call fcn.004b3dc0
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 0xa
call fcn.004dbec1
mov dword [esp + 0x48], 0x518dc4
mov ecx, dword [esp + 0x10]
push 0x1021
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 0xc
call fcn.004dc82f
mov dword [esp + 0x48], 0x518d8c
mov dword [esp + 0x4c], 0x518d38
mov edx, dword [esp + 0xcc]
push 0
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbc], 0xd
call fcn.004ada60
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xb4], 0xe
mov dword [esp + 0x14], 0
push eax
mov eax, dword [esp + 0x2c]
push eax
mov ecx, edi
call fcn.004abd30
mov esi, eax
test esi, esi
je 0x4ac321
mov ecx, dword [esp + 0x28]
push esi
push ecx
lea ecx, [esp + 0x54]
call fcn.004dcae3
test ebp, ebp
je 0x4ac321
mov edx, dword [ebp]
push esi
mov ecx, ebp
call dword [edx + 0x10]
test al, al
je 0x4ac32b
mov eax, dword [esp + 0x2c]
cmp esi, eax
jne 0x4ac353
jmp 0x4ac2ee
cmp esi, dword [esp + 0x2c]
jne 0x4ac34b
mov eax, dword [esp + 0x28]
push 1
push eax
mov ecx, edi
call fcn.004abd30
test eax, eax
mov dword [esp + 0x14], 0x69
jne 0x4ac353
mov dword [esp + 0x14], 0x6a
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.004abee0
cmp eax, 1
sete bl
test bl, bl
jne 0x4ac378
cmp dword [esp + 0x14], 0x6a
jne 0x4ac378
mov dword [esp + 0x14], 0x69
test ebp, ebp
je 0x4ac384
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xc]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4ac3d2
mov esi, dword [esp + 0x10]
push 0x10
call fcn.004dbbfa
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xb4], 0xf
je 0x4ac3b5
push esi
push edi
mov ecx, eax
call fcn.004b0790
jmp 0x4ac3b7
xor eax, eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 0x531810
push eax
mov byte [esp + 0xbc], 0xe
call fcn.004c03d5
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0xd
call fcn.004ada90
lea ecx, [esp + 0x48]
mov byte [esp + 0xb4], 0xa
call fcn.004b3950
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 4
call fcn.004b39b0
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 3
call fcn.004dbec1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.004dbec1
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.004ad440
mov al, bl
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 0x14