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

Disassembly:
sub esp, 0x68
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
push ebp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x1b54]
push edi
mov edi, dword [esi + 0x3adf4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x3adec]
mov dword [esp + 0x40], edx
add edx, 0xe0
imul edi, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x34], ecx
mov ebp, dword [esp + 0x84]
add edi, ebx
lea eax, [eax + edi*4]
mov dword [edx + 0xfd0], eax
mov eax, dword [esi + 0x3ade8]
movzx esi, byte [eax + 0x1059cc3c]
mov eax, ecx
cdq
idiv esi
mov ecx, eax
mov eax, dword [esp + 0x28]
imul ecx, dword [eax + 0x3abd8]
mov eax, ebx
cdq
idiv esi
mov edx, dword [esp + 0x28]
add ecx, eax
mov esi, dword [esp + 0x34]
imul eax, ecx, 0x54
mov ecx, dword [esp + 0x40]
add eax, dword [edx + 0x3abd0]
mov dword [ecx + 0x3174], eax
mov eax, dword [edx + 0x3adf8]
add eax, edi
mov edi, dword [esp + 0x4c]
mov dword [edi + 0xfe8], eax
mov eax, dword [edx + 0x3adf4]
mov dword [edi + 0xfec], eax
mov eax, dword [edi + 0xfd0]
push dword [edx + 0x3add8]
push dword [edx + 0x3add4]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
movzx eax, byte [ecx + 0x1059cc3c]
push eax
movzx eax, byte [ecx + 0x1059cc54]
push ebx
push eax
push esi
push ebp
push edi
call fcn.10075640
mov eax, dword [esp + 0x48]
and esi, 0x1f
mov ecx, dword [ebp + 0x10]
mov ebp, dword [esp + 0x68]
push ebp
mov eax, dword [eax + 0x3ea14]
push dword [esp + 0x64]
mov eax, dword [eax + ecx*4]
add eax, ebx
mov dword [edi + 0x109c], eax
lea eax, [edi + 0x10a4]
add eax, esi
mov dword [edi + 0x10a0], eax
mov ebx, dword [esp + 0x50]
push ebx
call fcn.10077990
mov esi, dword [esp + 0x7c]
add esp, 0x2c
xor edx, edx
mov eax, dword [ebx + 0x3e7a8]
xor ecx, ecx
mov dword [esp + 0x20], edx
cmp byte [eax + 0x4d], cl
mov eax, 2
sete cl
lea ecx, [ecx*2 + 1]
cmp ecx, 2
cmova ecx, eax
cmp edx, ecx
jge 0x10078166
mov al, byte [edx + esi + 0x86]
mov byte [esp + 0x12], al
test al, al
je 0x10078160
mov eax, dword [esi]
mov edx, dword [edi + 0xffc]
movzx ecx, byte [eax + 0x1059cc84]
movzx eax, byte [eax + 0x1059cc6c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test edx, edx
js 0x10078077
mov edx, ecx
jmp 0x1007807c
sar edx, 3
add edx, ecx
mov ebx, dword [edi + 0xff4]
test ebx, ebx
js 0x1007808a
mov ebx, eax
jmp 0x1007808f
sar ebx, 3
add ebx, eax
imul eax, dword [esp + 0x20], 0x538
mov ecx, dword [eax + edi + 0x18]
sar dword [esp + 0x1c], cl
mov dword [esp + 0x34], ecx
lea ecx, [eax + 0x14]
mov eax, dword [esp + 0x20]
add ecx, edi
mov dword [esp + 0x2c], ecx
test eax, eax
jle 0x100780d7
mov ecx, dword [ecx]
sar dword [esp + 0x18], cl
cmp dword [esp + 0x18], 4
jge 0x100780d3
mov dword [esp + 0x18], 2
mov dword [esp + 0x30], 2
jmp 0x100780ef
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], 0
test eax, eax
jle 0x10078116
cmp dword [esp + 0x1c], 4
jge 0x10078116
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
sar edx, cl
mov ecx, dword [esp + 0x2c]
add edx, 2
mov ecx, dword [ecx]
sar ebx, cl
add ebx, dword [esp + 0x30]
add eax, 0x294e
jmp 0x10078140
mov ecx, dword [esp + 0x34]
sar edx, cl
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
sar ebx, cl
add ebx, dword [esp + 0x18]
test eax, eax
je 0x10078137
mov eax, dword [esp + 0x14]
add eax, 0x294e
jmp 0x10078140
mov eax, dword [esp + 0x14]
add eax, 0x26d8
push eax
movzx eax, byte [esp + 0x16]
imul edx, ebx
push edx
push eax
push dword [esp + 0x6c]
push ebp
call fcn.10074cd0
mov edx, dword [esp + 0x34]
add esp, 0x14
mov ebx, dword [esp + 0x28]
inc edx
jmp 0x10078012
mov al, byte [esi + 0x9f]
test al, al
js 0x1007817a
cmp byte [esi + 0x14], 0
jg 0x1007817a
xor ecx, ecx
jmp 0x1007817f
mov ecx, 1
mov dl, byte [esi + 0x88]
and al, 7
cmp byte [ebx + 0x3adb4], 2
jne 0x10078719
cmp dword [esp + 0x24], 0
jle 0x10078719
test ecx, ecx
je 0x100781ab
test dl, dl
jne 0x10078721
movzx eax, al
cmp dword [edi + eax*4 + 0x1a9c], 0
jne 0x10078719
mov eax, dword [edi + 0xfd0]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x1007857e
movzx eax, byte [eax + 0x9f]
and eax, 7
cmp dword [edi + eax*4 + 0x1a9c], 0
mov eax, dword [esp + 0x24]
je 0x100781ec
xor cl, cl
jmp 0x100781f2
mov cl, byte [eax + 0x1059cdd8]
movzx edx, byte [eax + 0x1059cc3c]
movzx ebx, cl
mov byte [esp + 0x2c], cl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], edx
mov ecx, dword [ebx*4 + 0x1059cf40]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx*4 + 0x1059cef0]
mov dword [esp + 0x5c], ecx
movzx ecx, byte [eax + 0x1059cc54]
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x1007851f
nop word [eax + eax]
mov dword [esp + 0x18], 0
test edx, edx
je 0x1007850f
mov eax, dword [esi]
mov al, byte [eax + 0x1059cc84]
mov byte [esp + 0x12], al
movzx edx, al
mov eax, dword [edi + 0xffc]
test eax, eax
jns 0x10078273
mov ecx, dword [edi + 0x18]
add ecx, 3
sar eax, cl
add edx, eax
mov eax, dword [esi]
mov ecx, dword [edi + 0xff4]
sar edx, 2
mov dword [esp + 0x24], ecx
mov al, byte [eax + 0x1059cc6c]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x14], eax
test ecx, ecx
jns 0x100782a5
mov ecx, dword [edi + 0x14]
add ecx, 3
sar dword [esp + 0x24], cl
add eax, dword [esp + 0x24]
cmp dword [esp + 0x1c], edx
jge 0x100784ef
mov ecx, dword [esp + 0x18]
sar eax, 2
cmp ecx, eax
jge 0x100784ef
mov eax, dword [edi + 0x109c]
movzx eax, byte [ecx + eax]
cmp al, byte [ebx*4 + 0x1059ce50]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x10a0]
sbb edx, edx
neg edx
movzx eax, byte [ecx + eax]
mov ecx, 0x15
cmp al, byte [ebx*4 + 0x1059cea0]
sbb eax, eax
neg eax
cmp byte [esp + 0x2c], 0
mov dword [esp + 0x30], eax
ja 0x10078300
xor eax, eax
jmp 0x1007836f
mov al, byte [esp + 0x12]
cmp byte [esp + 0x13], al
jbe 0x10078310
mov eax, dword [esp + 0x14]
jmp 0x10078313
movzx eax, al
add eax, 0xfffffff8
cmp eax, 0x78
ja case.0x10078322.9
movzx eax, byte [eax + 0x10078880]
jmp dword [eax*4 + 0x1007886c]
mov al, 4
jmp 0x10078337
mov al, 3
jmp 0x10078337
mov al, 2
jmp 0x10078337
mov al, 1
cmp byte [ebx + 0x1059d180], al
je 0x1007834b
mov dword [esp + 0x14], 1
cmp al, 1
ja 0x10078353
mov dword [esp + 0x14], 0
movzx eax, al
mov ecx, 4
sub ecx, eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x30]
lea eax, [eax + ecx*2]
add eax, ecx
add eax, edx
mov esi, dword [esi]
lea eax, [eax + eax*2]
mov ecx, dword [edi + 0x1a74]
lea eax, [eax + 0x16c3]
mov edx, dword [esp + 0x1c]
push 2
lea eax, [ecx + eax*2]
movzx ecx, byte [esi + 0x1059d520]
sar edx, cl
movzx ecx, byte [esi + 0x1059d538]
shl edx, cl
movzx ecx, byte [esi + 0x1059d508]
mov esi, dword [esp + 0x54]
add edx, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
sar eax, cl
mov cl, byte [esp + 0x34]
cmp cl, byte [eax + edx + 0x8a]
jne 0x100783f4
push 0
push ebp
call fcn.10072110
mov eax, dword [esp + 0x3c]
push eax
push eax
mov eax, dword [edi + 0x10a0]
add eax, dword [esp + 0x34]
push eax
mov eax, dword [edi + 0x109c]
add eax, dword [esp + 0x34]
push eax
call fcn.10075940
add esp, 0x20
jmp 0x100784ef
mov bl, byte [ebx + 0x1059ce10]
movzx eax, bl
push 1
push dword [esp + 0x54]
mov byte [esp + 0x64], bl
mov ebp, dword [eax*4 + 0x1059cef0]
mov eax, dword [eax*4 + 0x1059cf40]
mov dword [esp + 0x68], eax
call fcn.10072110
add esp, 0x10
test bl, bl
jne 0x1007844e
push dword [esp + 0x2c]
mov eax, dword [edi + 0x10a0]
add eax, dword [esp + 0x20]
push 0
push eax
mov eax, dword [edi + 0x109c]
add eax, dword [esp + 0x24]
push eax
call fcn.10075940
add esp, 0x10
jmp 0x100784e7
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x24], 0
cmp dword [ebx*4 + 0x1059cf40], 0
jle 0x100784eb
mov eax, dword [ebx*4 + 0x1059cef0]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
xor edi, edi
test eax, eax
jle 0x100784c8
mov esi, dword [esp + 0x18]
nop dword [eax]
push dword [esp + 0x48]
push esi
push ecx
push 1
push dword [esp + 0x64]
push dword [esp + 0x64]
push ebx
call fcn.1007acb0
mov eax, dword [esp + 0x3c]
add edi, ebp
mov ecx, dword [esp + 0x4c]
add esp, 0x1c
add esi, ebp
mov eax, dword [eax*4 + 0x1059cef0]
cmp edi, eax
jl 0x10078490
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add esi, dword [esp + 0x58]
add ecx, dword [esp + 0x58]
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], ecx
cmp esi, dword [edx*4 + 0x1059cf40]
jl 0x10078483
mov esi, dword [esp + 0x50]
mov edi, ebx
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
cmp eax, edx
jl 0x10078250
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x10078240
mov ebx, dword [esp + 0x28]
cmp byte [esi + 0x88], 0
jne 0x10078858
push ebp
call fcn.100b7340
mov dword [esp + 0x34], eax
add esp, 4
lea eax, [ebx + 0x3abf0]
mov ebx, dword [esp + 0x40]
mov ecx, dword [ebx + 0x10b0]
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov cl, byte [edx + 0x9f]
mov edi, dword [edx]
test cl, cl
js 0x10078751
cmp byte [edx + 0x14], 0
jg 0x10078751
push edi
push ebp
push ebx
push eax
call fcn.100bf0b0
add esp, 0x10
jmp 0x10078845
mov edx, dword [eax]
test edx, edx
jle 0x100786b5
mov al, byte [eax + 0x89]
xor ebx, ebx
mov byte [esp + 0x3f], al
movzx eax, byte [edx + 0x1059cdd8]
mov ecx, dword [eax*4 + 0x1059ce50]
mov eax, dword [eax*4 + 0x1059cea0]
mov dword [esp + 0x14], eax
mov al, byte [edi + 0xfd4]
mov byte [esp + 0x12], al
mov eax, dword [edi + 0x109c]
mov dword [esp + 0x38], ecx
movzx eax, byte [eax]
cmp eax, ecx
mov eax, dword [edi + 0x10a0]
setge bl
xor ecx, ecx
movzx eax, byte [eax]
cmp eax, dword [esp + 0x14]
setge cl
cmp byte [esp + 0x12], 0
je 0x10078610
mov eax, dword [edi + 0xfdc]
mov al, byte [eax + 0x9f]
test al, al
mov eax, dword [edi + 0xfdc]
js 0x100785fe
cmp byte [eax + 0x14], 0
jle 0x10078610
mov eax, dword [eax]
xor ebx, ebx
movzx eax, byte [eax + 0x1059cc6c]
cmp eax, dword [esp + 0x38]
setge bl
mov al, byte [edi + 0xfd5]
test al, al
je 0x1007864e
mov eax, dword [edi + 0xfd8]
mov al, byte [eax + 0x9f]
test al, al
mov eax, dword [edi + 0xfd8]
js 0x10078636
cmp byte [eax + 0x14], 0
jle 0x10078648
mov eax, dword [eax]
xor ecx, ecx
movzx eax, byte [eax + 0x1059cc84]
cmp eax, dword [esp + 0x14]
setge cl
mov al, byte [edi + 0xfd5]
cmp byte [esp + 0x12], 0
je 0x1007865d
test al, al
je 0x10078664
add ebx, ecx
jmp 0x10078664
xor ebx, ebx
test al, al
cmovne ebx, ecx
mov al, byte [edx + 0x1059cdd8]
xor edx, edx
mov cl, byte [esp + 0x3f]
cmp cl, al
je 0x10078682
movzx eax, al
inc edx
mov al, byte [eax + 0x1059ce10]
cmp cl, al
jne 0x10078674
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
movzx eax, byte [ecx + 0x1059d560]
movzx ecx, byte [ecx + 0x1059d578]
inc eax
push eax
lea eax, [ebx + ecx*2]
add eax, ecx
lea eax, [eax*8 + 0x3a8e]
add eax, dword [edi + 0x1a74]
push eax
push edx
push ebp
call fcn.10072110
add esp, 0x10
movzx ecx, byte [esi + 0x89]
movzx edx, byte [edi + 0x1154]
movzx ebx, byte [edi + 0x1155]
movzx eax, byte [ecx*4 + 0x1059ce50]
mov byte [esp + 0x38], al
movzx eax, byte [ecx*4 + 0x1059cea0]
mov byte [esp + 0x44], al
test edx, edx
je 0x100786f9
push edx
push dword [esp + 0x3c]
push dword [edi + 0x109c]
call fcn.10513d40
add esp, 0xc
test ebx, ebx
je 0x1007851f
push ebx
push dword [esp + 0x48]
push dword [edi + 0x10a0]
call fcn.10513d40
add esp, 0xc
jmp 0x1007851f
test dl, dl
je 0x10078728
test ecx, ecx
je 0x10078728
mov eax, 1
jmp 0x1007872a
xor eax, eax
push edi
push eax
movzx eax, byte [edi + 0x1155]
push eax
movzx eax, byte [edi + 0x1154]
push eax
movzx eax, byte [esi + 0x89]
push eax
call fcn.100758c0
add esp, 0x14
jmp 0x10078523
movzx esi, byte [edi + 0x1059cc3c]
mov ecx, 0x10
movzx edi, byte [edi + 0x1059cc54]
cmp esi, ecx
mov eax, dword [eax + 0x3bb8]
xorps xmm0, xmm0
cmovb ecx, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x58], ecx
cmp edi, 0x10
mov ecx, 0x10
movq qword [esp + 0x68], xmm0
cmovb ecx, edi
mov dword [esp + 0x70], 0
mov dword [esp + 0x4c], ecx
xor ecx, ecx
cmp byte [eax + 0x4d], cl
mov dword [esp + 0x54], esi
sete cl
mov dword [esp + 0x34], edi
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [ecx*2 + 1]
mov dword [esp + 0x44], ecx
test edi, edi
je 0x10078845
mov ecx, ebx
xor ebx, ebx
test esi, esi
je 0x10078835
nop dword [eax]
xor esi, esi
lea edi, [esp + 0x68]
test esi, esi
je 0x100787e3
cmp byte [ecx + 0xec], 0
je 0x10078825
push esi
push edi
push ebx
push eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x78]
mov eax, dword [esp + 0x40]
push dword [esp + 0x78]
add eax, 0x3abf0
push ebp
push edx
push dword [esp + 0x64]
push eax
call fcn.100767f0
mov eax, dword [esp + 0x40]
inc esi
mov edx, dword [esp + 0x88]
add esp, 0x2c
mov ecx, dword [esp + 0x40]
add edi, 4
cmp esi, dword [esp + 0x44]
jl 0x100787d6
add ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
cmp ebx, esi
jl 0x100787d0
mov edi, dword [esp + 0x34]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
cmp eax, edi
jl 0x100787c6
mov ebx, dword [esp + 0x40]
push ebp
call fcn.100b7340
sub eax, dword [esp + 0x34]
add esp, 4
add dword [ebx + 0x24a1c], eax
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x68
ret