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

Disassembly:
call 0x4d5997
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4ac364
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.004a791f
push 0x47ba48
lea eax, [ebx + 0x2d8]
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.004a48ef
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 0x4cf4ff
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 0x4abea3
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 0x4ac294
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004bf47f
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 0x4abeee
push esi
lea ecx, [esp + 0x20]
call fcn.004a4c0f
mov edx, dword [esp + 0x1c]
lea ecx, [esi + 1]
push ecx
push edx
call 0x4f40fd
add esp, 8
test esi, esi
jl 0x4ac373
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax - 8]
jg 0x4ac373
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.004bf47f
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 0x4abf5a
push esi
lea ecx, [esp + 0x1c]
call fcn.004a4c0f
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call 0x4f40fd
add esp, 8
test esi, esi
jl 0x4ac373
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x4ac373
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.004bf47f
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 0x4abfc6
push esi
lea ecx, [esp + 0x18]
call fcn.004a4c0f
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call 0x4f40fd
add esp, 8
test esi, esi
jl 0x4ac373
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4ac373
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 0x4ac225
mov ebp, dword [ebx + 0x23c]
xor esi, esi
test ebp, ebp
jle 0x4ac04f
mov edi, edi
test esi, esi
jl 0x4ac36e
cmp esi, dword [ebx + 0x23c]
jge 0x4ac36e
mov eax, dword [ebx + 0x238]
mov ebx, dword [eax + esi*4]
mov eax, dword [ebx + 0x1d8]
push edi
push eax
call 0x4f388a
push ecx
js 0x4ac03c
invalid
add esp, 8
test eax, eax
je 0x4ac128
mov ebx, dword [esp + 0x74]
add esi, 1
cmp esi, ebp
jl 0x4ac00f
add ebx, 0x25c
push edi
call fcn.004add8f
test eax, eax
jne 0x4ac0a7
mov esi, dword [esp + 0x74]
lea ebx, [esi + 0x284]
push edi
call int.004addef
test eax, eax
jne 0x4ac0a7
lea ebx, [esi + 0x270]
push edi
call fcn.004ade4f
test eax, eax
jne 0x4ac0a7
lea ebx, [esi + 0x248]
push edi
call fcn.004adeaf
test eax, eax
invalid
jne 0x4ac0a7
lea ebx, [esi + 0x2ac]
push edi
call fcn.004adf0f
test eax, eax
je 0x4ac35d
mov edi, eax
test edi, edi
je 0x4ac221
call 0x4d5997
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4ac364
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 0x4ac12f
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004a482f
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0xe
call fcn.004a4d1f
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 0x4ac1e8
mov edi, ebx
jmp 0x4ac0a9
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.004a482f
push 0x47b14c
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x84], 0xf
call fcn.004a48ef
lea edx, [esp + 0x30]
push edx
push eax
lea eax, [esp + 0x60]
mov bl, 0x10
push eax
mov byte [esp + 0x90], bl
call fcn.004a482f
add esp, 0x24
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0x11
call fcn.004a4d1f
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 0x4ac1aa
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 0x4ac1cf
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 0x4ac1f4
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 0x4ce95f
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 0x4ac221
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 0x4ac24a
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 0x4ac26f
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 0x4ac294
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 0x4ac2b9
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 0x4ac2de
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 0x4abe05
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 3
call 0x4e0847
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 0x4ac31f
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 0x4ac347
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 0x4ac225
push 0x80004005
call fcn.004a4b6f
call 0x4d5df6
push 0x80070057
call fcn.004a4b6f
int3