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

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
mov esi, ecx
je 0x4ace34
mov dword [edi], 0
mov eax, dword [esi + 0x550]
test eax, eax
je 0x4ace58
push 0
lea ecx, [esi + 0x6c8]
mov dword [esi + 0x6c4], eax
push ecx
mov ecx, dword [esi + 0x550]
call fcn.004813b0
mov eax, dword [esi + 0x6c4]
or ebx, 0xffffffff
test eax, eax
je 0x4ace91
mov edx, dword [eax + 4]
mov eax, dword [edx + 0x20]
cmp eax, 0xffffffff
jne 0x4ace8f
mov ecx, dword [esi + 0x6c8]
mov ebx, dword [esi + 0x6d0]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebx, [eax + ebx*2]
jmp 0x4ace91
mov ebx, eax
mov ecx, esi
call fcn.004aa970
mov ecx, esi
call fcn.0049e7f0
mov ebp, eax
test ebp, ebp
jne 0x4acecb
test edi, edi
mov dword [esi + 0x6c4], eax
je 0x4ad028
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
sete cl
lea ecx, [ecx + ecx - 1]
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edi, dword [esi + 0x6c4]
test edi, edi
je 0x4acf05
mov edx, dword [edi + 4]
cmp dword [edx + 0x20], 0xffffffff
je 0x4acf05
mov edx, dword [esi + 0x6dc]
xor eax, eax
test edx, edx
jle 0x4acf05
mov ecx, ebp
lea esp, [esp]
cmp dword [ecx], edi
je 0x4acefe
inc eax
add ecx, 0x18
cmp eax, edx
jl 0x4acef0
jmp 0x4acf05
lea eax, [eax + eax*2]
mov ebx, dword [ebp + eax*8 + 0x14]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4acf72
mov ecx, dword [esi + 0x6dc]
xor eax, eax
test ecx, ecx
jle 0x4acf2c
lea edx, [ebp + 0x14]
lea esp, [esp]
cmp dword [edx], ebx
jg 0x4acf2c
inc eax
add edx, 0x18
cmp eax, ecx
jl 0x4acf20
cmp eax, ecx
mov ecx, dword [esp + 0x18]
jl 0x4acf42
test ecx, ecx
je 0x4acf40
mov dword [ecx], 1
jmp 0x4acf42
xor eax, eax
mov edi, dword [esi + 0x6c4]
lea edx, [eax + eax*2]
mov edx, dword [ebp + edx*8]
cmp edx, edi
jne 0x4acfd8
mov edx, dword [esi + 0x6dc]
inc eax
cmp eax, edx
jl 0x4acfd8
test ecx, ecx
je 0x4acf6e
mov dword [ecx], 1
jmp 0x4acfd8
xor eax, eax
jmp 0x4acfe1
cmp ebx, 0xffffffff
mov eax, dword [esi + 0x6dc]
lea edx, [eax - 1]
mov eax, edx
je 0x4acfd4
test eax, eax
jl 0x4acfa2
lea ecx, [eax + eax*2]
lea ecx, [ebp + ecx*8 + 0x14]
lea ecx, [ecx]
cmp dword [ecx], ebx
jl 0x4acf9e
dec eax
sub ecx, 0x18
test eax, eax
jge 0x4acf90
jmp 0x4acfa2
test eax, eax
jge 0x4acfb4
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4acfb2
mov dword [ecx], 0xffffffff
jmp 0x4acfb4
mov eax, edx
lea edx, [eax + eax*2]
mov ecx, dword [ebp + edx*8]
cmp ecx, dword [esi + 0x6c4]
jne 0x4acfd4
dec eax
jns 0x4acfd4
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4ad02f
mov dword [ecx], 0xffffffff
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4acfe1
cmp dword [ecx], 0
jne 0x4ad01f
lea edx, [eax + eax*2]
mov ecx, dword [ebp + edx*8]
lea eax, [ebp + edx*8]
mov dword [esi + 0x6c4], ecx
add eax, 4
mov ecx, dword [eax]
lea edx, [esi + 0x6c8]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esi + 0x6c4]
mov eax, dword [eax + 0xc]
push ecx
mov ecx, esi
mov dword [edx + 0xc], eax
call fcn.004ac7a0
mov ecx, dword [esi + 0x1c]
push ebp
call fcn.0052a340
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esi + 0x6dc]
dec eax
jmp 0x4acfe1