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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
seta byte [esp + 0xf]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [esp + 0x1c], ebx
jle 0x4acd26
mov dword [esp + 0x18], ebx
jmp 0x4acb0c
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x4acb3e
jb 0x4acb31
call fcn.00589a8c
mov edi, dword [edi + 0xc]
add edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jmp 0x4acb4b
mov ecx, edi
call fcn.004aca50
mov dword [esp + 0x14], eax
mov edi, eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4acb6b
call fcn.00589a8c
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x18]
mov ecx, edi
call fcn.004d51a0
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
call fcn.004d51a0
mov ecx, dword [eax]
cmp ebx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jg 0x4acbdb
cmp edi, eax
jg 0x4acbdf
xor eax, eax
lea ecx, [esp + 0x40]
push ecx
push esi
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edi
call fcn.0050b050
jmp 0x4acc36
cmp eax, edi
jge 0x4acbe5
lea edx, [esp + 0x24]
jmp 0x4acbe9
lea edx, [esp + 0x2c]
cmp ecx, ebx
lea eax, [esp + 0x20]
jl 0x4acbf5
lea eax, [esp + 0x28]
mov ecx, dword [edx]
mov eax, dword [eax]
xor edx, edx
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
push esi
lea edx, [esp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], edi
call fcn.004e1d50
add esp, 0x10
cmp byte [esp + 0x13], 0
je 0x4accf6
cmp dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
jle 0x4accba
mov ecx, dword [esp + 0x14]
lea eax, [ebx - 1]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], eax
push edx
lea eax, [esp + 0x84]
mov dword [esp + 0x38], ecx
push eax
mov ecx, esi
call fcn.004d5ca0
cmp ebx, dword [esp + 0x20]
mov edi, ebx
jge 0x4acca7
mov edi, edi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], ecx
push eax
mov ecx, esi
mov dword [esp + 0x40], edi
call fcn.004d60d0
inc edi
cmp edi, dword [esp + 0x20]
jl 0x4acc80
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jl 0x4acc53
mov edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x24]
mov ebx, edi
jge 0x4accf6
dec edi
mov dword [esp + 0x14], edi
mov ecx, esi
call fcn.004d5620
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
mov edi, eax
call fcn.004d5640
push edi
push eax
push ebx
mov ecx, esi
call fcn.004d5640
push eax
call fcn.0058a7d0
inc ebx
add esp, 0xc
cmp ebx, dword [esp + 0x24]
jl 0x4accc7
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov esi, dword [esp + 0x1c]
add dword [esp + 0x18], 0x48
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x4acb05
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8