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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov esi, dword [esp + 0x84]
add ebp, 0xe0
imul eax, esi, 0x538
add eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], eax
push edi
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], ecx
mov eax, dword [eax]
lea eax, [edx + eax*2]
lea eax, [ecx + eax*2]
mov ebx, dword [eax*4 + 0x106341d0]
mov eax, dword [ebp + 0xfd0]
mov dword [esp + 0x30], ebx
mov eax, dword [eax]
movzx eax, byte [eax + 0x9f]
and eax, 7
cmp dword [ebp + eax*4 + 0x1a9c], 0
je 0x10076859
xor al, al
jmp 0x10076874
mov al, byte [ebx + 0x1059cdd8]
mov dword [esp + 0x20], eax
test esi, esi
je 0x10076878
push eax
call fcn.10072270
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x20], eax
sar dword [esp + 0x7c], cl
mov byte [esp + 0x24], al
movzx eax, al
mov dword [esp + 0x38], eax
movzx edi, byte [ebx + 0x1059cc3c]
mov esi, dword [eax*4 + 0x1059cf40]
mov eax, dword [eax*4 + 0x1059cef0]
mov dword [esp + 0x54], eax
imul eax, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], eax
lea eax, [ecx + edx*2]
mov esi, dword [eax*4 + 0x10634290]
movzx edx, byte [ebx + 0x1059cc54]
movzx eax, byte [esi + 0x1059cc54]
add eax, dword [esp + 0x7c]
movzx esi, byte [esi + 0x1059cc3c]
cmp eax, edx
cmovge eax, edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
sar edx, cl
mov ecx, dword [esp + 0x7c]
add esi, edx
cmp esi, edi
mov dword [esp + 0x80], edx
cmovge esi, edi
mov dword [esp + 0x34], esi
cmp ecx, dword [esp + 0x2c]
jge 0x10076b89
mov eax, dword [esp + 0x2c]
nop dword [eax + eax]
mov dword [esp + 0x10], edx
cmp edx, esi
jge 0x10076b72
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x84]
nop word [eax + eax]
mov edi, dword [eax]
mov eax, dword [esi + 0x3bb8]
movzx ecx, byte [ebx + 0x1059cc84]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xffc]
test eax, eax
jns 0x10076966
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x18]
add ecx, 3
sar eax, cl
mov ecx, dword [esp + 0x18]
add ecx, eax
movzx eax, byte [ebx + 0x1059cc6c]
sar ecx, 2
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xff4]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jns 0x10076994
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x14]
add ecx, 3
sar dword [esp + 0x1c], cl
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
sar eax, 2
mov dword [esp + 0x1c], eax
cmp ecx, dword [esp + 0x18]
jge 0x10076b4b
cmp edx, eax
jge 0x10076b4b
cmp dword [esp + 0x88], 0
je 0x10076a07
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
lea eax, [eax + ecx*2]
mov eax, dword [eax*4 + 0x106341d0]
mov cl, byte [eax + 0x1059cdd8]
movzx eax, cl
add eax, 0xfffffffc
cmp eax, 0xe
ja case.0x100769f4.5
movzx eax, byte [eax + 0x10076bcc]
jmp dword [eax*4 + 0x10076bbc]
mov cl, 3
jmp case.0x100769f4.5
mov cl, 0xa
jmp case.0x100769f4.5
mov cl, 9
jmp case.0x100769f4.5
mov eax, dword [esp + 0x10]
mov edx, ecx
movzx ecx, byte [ebx + 0x1059d520]
sar edx, cl
movzx ecx, byte [ebx + 0x1059d538]
shl edx, cl
movzx ecx, byte [ebx + 0x1059d508]
sar eax, cl
add edx, dword [esp + 0x68]
mov cl, byte [eax + edx + 0x8a]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x88]
cmp byte [esp + 0x20], cl
je 0x10076b91
test eax, eax
jne 0x10076b91
mov ebp, dword [esp + 0x38]
mov al, byte [ebp + 0x1059ce10]
mov byte [esp + 0x3c], al
movzx eax, al
mov ecx, dword [eax*4 + 0x1059cef0]
mov eax, dword [eax*4 + 0x1059cf40]
mov dword [esp + 0x4c], eax
imul eax, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp*4 + 0x1059cf40]
mov ebp, dword [ebp*4 + 0x1059cef0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x7c]
cmp ecx, eax
cmovge ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, edx
mov dword [esp + 0x18], ecx
cmp ebp, eax
cmovge ebp, eax
xor eax, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x10076b43
mov ebx, dword [esp + 0x7c]
xor esi, esi
add ebx, eax
test ebp, ebp
jle 0x10076b2b
push dword [esp + 0x78]
lea eax, [esi + edx]
push dword [esp + 0x40]
push eax
push ebx
push edi
push dword [esp + 0x54]
push dword [esp + 0x48]
push 0
push dword [esp + 0x88]
push dword [esp + 0x4c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0xa4]
call fcn.10075040
add esi, dword [esp + 0x84]
add esp, 0x3c
add edi, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
cmp esi, ebp
jl 0x10076ac2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x10076ab6
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
add edx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x10], edx
add dword [eax], edi
cmp edx, dword [esp + 0x34]
jl 0x10076930
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x7c], ecx
cmp ecx, eax
jl 0x10076910
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push dword [esp + 0x24]
push edi
push eax
push edx
push dword [esp + 0x8c]
push dword [esp + 0x80]
push dword [esp + 0x7c]
push esi
call fcn.100be860
mov edx, dword [esp + 0x30]
add esp, 0x20
jmp 0x10076b47