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

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
sub ecx, ebp
mov eax, 0x88888889
imul ecx
add edx, ecx
mov ebx, dword [esp + 0x28]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
push esi
mov ecx, eax
push edi
mov edi, dword [esp + 0x38]
shl ecx, 4
sub ecx, eax
sub esp, 0x14
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x50]
lea esi, [ebp + ecx*8]
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x3c]
add eax, 0xffffff88
push esi
mov ecx, ebp
call fcn.004bad60
add esp, 0x18
cmp ebp, esi
lea eax, [esi + 0x78]
mov dword [esp + 0x10], eax
jae 0x4ba6b9
mov ecx, edi
sub ecx, ebx
mov edx, 0xffffff88
sub edx, ebx
lea eax, [ebx + esi]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
jmp 0x4ba698
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add edx, eax
mov dl, byte [edx + ebx]
cmp dl, byte [ecx + eax]
jb 0x4ba6b9
mov ecx, dword [esp + 0x14]
mov dl, byte [eax]
add ecx, eax
cmp dl, byte [edi + ecx]
jb 0x4ba6b9
sub esi, 0x78
sub eax, 0x78
cmp ebp, esi
jb 0x4ba690
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jae 0x4ba6f0
mov cl, byte [edi + esi]
mov ebp, ebx
add eax, edi
sub ebp, edi
lea esp, [esp]
cmp byte [eax + ebp], cl
jb 0x4ba6f0
mov dl, byte [ebx + esi]
cmp dl, byte [eax]
jb 0x4ba6f0
mov edx, dword [esp + 0x10]
add edx, 0x78
add eax, 0x78
cmp edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
jb 0x4ba6d0
mov ebp, dword [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x14], ecx
lea ebx, [ebx]
cmp ebp, dword [esp + 0x28]
jae 0x4ba752
mov eax, dword [esp + 0x38]
sub eax, ebx
lea edi, [ebx + ebp]
mov dword [esp + 0x18], eax
mov dl, byte [ebx + esi]
cmp dl, byte [edi + eax]
jb 0x4ba746
mov al, byte [edi]
mov edx, dword [esp + 0x38]
cmp al, byte [edx + esi]
jb 0x4ba752
mov eax, dword [esp + 0x10]
mov ecx, eax
add eax, 0x78
mov ebx, ebp
mov dword [esp + 0x10], eax
call fcn.004bacd0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
add ebp, 0x78
add edi, 0x78
cmp ebp, dword [esp + 0x28]
jb 0x4ba713
cmp ecx, dword [esp + 0x24]
jbe 0x4ba7ae
mov eax, dword [esp + 0x30]
lea edi, [eax + esi]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
lea ebx, [ecx - 0x78]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x30]
mov dl, byte [ebx + edx]
cmp dl, byte [edi + eax]
jb 0x4ba79a
mov al, byte [edi]
mov edx, dword [esp + 0x38]
cmp al, byte [ebx + edx]
jb 0x4ba7aa
sub esi, 0x78
mov ecx, esi
sub edi, 0x78
call fcn.004bacd0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub ecx, 0x78
sub ebx, 0x78
cmp dword [esp + 0x24], ecx
mov dword [esp + 0x14], ecx
jb 0x4ba76e
cmp ecx, dword [esp + 0x24]
jne 0x4ba7ea
cmp ebp, dword [esp + 0x28]
je 0x4ba83d
mov ebx, dword [esp + 0x10]
cmp ebx, ebp
je 0x4ba7c9
mov ecx, esi
call fcn.004bacd0
add dword [esp + 0x10], 0x78
mov ebx, ebp
mov ecx, esi
add esi, 0x78
add ebp, 0x78
call fcn.004bacd0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
jmp 0x4ba700
sub ecx, 0x78
cmp ebp, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
jne 0x4ba824
sub esi, 0x78
cmp ecx, esi
je 0x4ba805
mov ebx, esi
call fcn.004bacd0
mov ebx, dword [esp + 0x10]
sub ebx, 0x78
mov ecx, esi
mov dword [esp + 0x10], ebx
call fcn.004bacd0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
jmp 0x4ba700
mov ebx, ecx
mov ecx, ebp
call fcn.004bacd0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
add ebp, 0x78
jmp 0x4ba700
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov dword [eax + 4], ecx
pop ebx
add esp, 0xc
ret