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

Disassembly:
call 0x4d596c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4ac339
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
add esi, 1
push esi
lea ecx, [esp + 0x2c]
push 0x47bd6c
push ecx
mov byte [esp + 0x78], 6
mov dword [esp + 0x58], esi
call fcn.004a78f4
push 0x47ba48
lea eax, [ebx + 0x2d8]
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.004a48c4
add esp, 0x18
mov byte [esp + 0x6c], 7
mov ecx, dword [esp + 0x28]
mov eax, dword [eax]
push 0x47b168
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x40]
call 0x4cf4d4
mov byte [esp + 0x6c], 9
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4abe78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
je 0x4ac269
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004bf454
add esp, 8
mov byte [esp + 0x6c], 0xa
mov edx, dword [esp + 0x1c]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4abec3
push esi
lea ecx, [esp + 0x20]
call fcn.004a4be4
mov edx, dword [esp + 0x1c]
lea ecx, [esi + 1]
push ecx
push edx
call 0x4f40d2
add esp, 8
test esi, esi
jl 0x4ac348
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax - 8]
jg 0x4ac348
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov word [edx + esi*2], 0
call fcn.004bf454
add esp, 8
mov byte [esp + 0x6c], 0xb
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4abf2f
push esi
lea ecx, [esp + 0x1c]
call fcn.004a4be4
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call 0x4f40d2
add esp, 8
test esi, esi
jl 0x4ac348
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x4ac348
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
mov word [ecx + esi*2], 0
call fcn.004bf454
add esp, 8
mov byte [esp + 0x6c], 0xc
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4abf9b
push esi
lea ecx, [esp + 0x18]
call fcn.004a4be4
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call 0x4f40d2
add esp, 8
test esi, esi
jl 0x4ac348
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4ac348
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
mov word [edx + esi*2], 0
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4ac1fa
mov ebp, dword [ebx + 0x23c]
xor esi, esi
test ebp, ebp
jle 0x4ac024
mov edi, edi
test esi, esi
jl 0x4ac343
cmp esi, dword [ebx + 0x23c]
jge 0x4ac343
mov eax, dword [ebx + 0x238]
mov ebx, dword [eax + esi*4]
mov eax, dword [ebx + 0x1d8]
push edi
push eax
call 0x4f385f
push ecx
js 0x4ac011
invalid
add esp, 8
test eax, eax
je 0x4ac0fd
mov ebx, dword [esp + 0x74]
add esi, 1
cmp esi, ebp
jl 0x4abfe4
add ebx, 0x25c
push edi
call fcn.004add64
test eax, eax
jne 0x4ac07c
mov esi, dword [esp + 0x74]
lea ebx, [esi + 0x284]
push edi
call fcn.004addc4
test eax, eax
jne 0x4ac07c
lea ebx, [esi + 0x270]
push edi
call fcn.004ade24
test eax, eax
jne 0x4ac07c
lea ebx, [esi + 0x248]
push edi
call fcn.004ade84
test eax, eax
invalid
jne 0x4ac07c
lea ebx, [esi + 0x2ac]
push edi
call fcn.004adee4
test eax, eax
je 0x4ac332
mov edi, eax
test edi, edi
je 0x4ac1f6
call 0x4d596c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4ac339
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x6c], 0xd
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x4ac104
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004a4804
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0xe
call fcn.004a4cf4
mov byte [esp + 0x6c], 0xd
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4ac1bd
mov edi, ebx
jmp 0x4ac07e
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.004a4804
push 0x47b14c
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x84], 0xf
call fcn.004a48c4
lea edx, [esp + 0x30]
push edx
push eax
lea eax, [esp + 0x60]
mov bl, 0x10
push eax
mov byte [esp + 0x90], bl
call fcn.004a4804
add esp, 0x24
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0x11
call fcn.004a4cf4
mov byte [esp + 0x6c], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac17f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 0xf
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac1a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 0xd
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac1c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x24]
push esi
mov ecx, edi
call 0x4ce934
lea eax, [esi - 0x10]
mov byte [esp + 0x6c], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac1f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x74]
mov byte [esp + 0x6c], 0xb
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac21f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 9
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac269
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac28e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac2b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x4c]
cmp esi, dword [esp + 0x58]
jl 0x4abdda
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 3
call 0x4e081c
mov byte [esp + 0x6c], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac2f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac31c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4
mov ebx, esi
jmp 0x4ac1fa
push 0x80004005
call fcn.004a4b44
call 0x4d5dcb
push 0x80070057
call fcn.004a4b44
int3