Function at 0x10076c70
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf8
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x50]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x15c]
push ebp
mov ebp, dword [ebx]
mov dword [esp + 0xa0], eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x4c]
push esi
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 0x58]
mov dword [esp + 0xac], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x160]
push 0
push 0x1016aa44
mov dword [esp + 0x18], ebx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xb0], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], ecx
call fcn.10009d90
mov esi, dword [ebx + 8]
cmp esi, dword [ebx + 0xc]
mov dword [esp + 0x40], esi
jg 0x10077aff
push edi
jmp 0x10076d12
mov ebx, eax
cmp dword [ebx + 0x164], 0
jne 0x10077afe
mov edx, dword [ebx + 0x24]
imul edx, dword [esp + 0x38]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
call fcn.10102150
lea edi, [ebp + 0x3264]
push 0x3e8
push edi
mov dword [esp + 0x34], 0
call fcn.100443e0
add esp, 0x14
test esi, esi
jl 0x10077b35
mov edx, dword [esp + 0xa8]
cmp esi, dword [edx + 8]
jge 0x10077b35
mov eax, edx
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi*4]
mov edx, dword [ebx + 0x10]
push 0
push edx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x84]
push ecx
push eax
push ebp
call fcn.10070c70
add esp, 0x1c
test eax, eax
push edi
jne 0x10076daa
call fcn.10044470
add esp, 4
jmp 0x10077aea
call fcn.10044470
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [ebx + 0x20]
mov dword [esp + 0xa0], edx
jg 0x10077b17
mov edi, dword [esp + 0x7c]
cmp edi, dword [ebx + 0x24]
jg 0x10077b17
cmp dword [ebx + 0x18], 0
jne 0x10076e17
test edi, edi
jle 0x10076ec3
mov ebx, dword [esp + 0x30]
add edx, 3
mov esi, eax
mov edi, edi
test esi, esi
jle 0x10076e0b
mov eax, edx
mov ecx, esi
jmp 0x10076e00
mov byte [eax], 0
add eax, 4
sub ecx, 1
jne 0x10076e00
add edx, ebx
sub edi, 1
jne 0x10076df0
jmp 0x10076ec3
mov ecx, edi
imul ecx, dword [esp + 0x30]
push ecx
call fcn.100ffe35
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
jne 0x10076e55
cmp dword [ebx + 0x10], eax
jne 0x10076e40
cmp dword [ebp + 0x32fc], eax
jne 0x10077aea
mov edx, dword [esp + 0xa0]
push edx
call fcn.100ffef8
add esp, 4
jmp 0x10077aea
test edi, edi
jle 0x10076ec3
mov ebp, dword [esp + 0xa0]
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x20]
add ebp, 1
mov dword [esp + 0x3c], eax
nop
cmp dword [esp + 0x78], 0
jle 0x10076eb4
mov edi, dword [esp + 0x78]
mov esi, ebx
mov ecx, ebp
nop
movzx eax, byte [ecx + 1]
movzx edx, byte [ecx - 1]
add edx, eax
movzx eax, byte [ecx]
add edx, eax
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [esi], edx
add ecx, 4
add esi, 4
sub edi, 1
jne 0x10076e80
mov eax, dword [esp + 0x30]
add ebx, eax
add ebp, eax
sub dword [esp + 0x3c], 1
jne 0x10076e70
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x18]
add eax, 0x5c
push 0x1016b910
xor ebx, ebx
push eax
mov dword [esp + 0xa8], ebx
call fcn.101026c5
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x88]
movzx ecx, byte [esp + 0xaa]
mov edi, dword [esp + 0x84]
movzx edx, ah
and eax, 0xff
mov dword [esp + 0x7c], eax
mov eax, dword [esi]
mov dword [esp + 0x54], eax
lea eax, [ebp - 1]
imul eax, dword [esp + 0x3c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + edi*4 - 4]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x54]
add esp, 0xc
cmp ebx, ecx
mov dword [esp + 0x64], edx
mov edx, dword [eax + esi]
jne 0x10077069
cmp ecx, edx
jne 0x10077069
lea ecx, [eax + edi*4]
cmp edx, dword [ecx + esi - 4]
jne 0x10077069
xor edx, edx
test ebp, ebp
mov dword [esp + 0x4c], 1
jle 0x10076f8f
xor eax, eax
test edi, edi
jle 0x10076f84
mov ecx, esi
mov edi, edi
cmp dword [ecx], ebx
jne 0x10076f80
add eax, 1
add ecx, 4
cmp eax, edi
jl 0x10076f70
jmp 0x10076f84
cmp eax, edi
jl 0x10076f8f
add esi, dword [esp + 0x30]
add edx, 1
cmp edx, ebp
jl 0x10076f66
xor esi, esi
test ebp, ebp
jle 0x10076fc4
xor edx, edx
lea eax, [edi - 1]
test eax, eax
jl 0x10076fb9
lea ecx, [edx + eax*4]
add ecx, dword [esp + 0x20]
cmp dword [ecx], ebx
jne 0x10076fb5
sub eax, 1
sub ecx, 4
test eax, eax
jge 0x10076fa5
jmp 0x10076fb9
test eax, eax
jge 0x10076fc4
add edx, dword [esp + 0x30]
add esi, 1
cmp esi, ebp
jl 0x10076f97
lea esi, [ebp - 1]
test esi, esi
jl 0x10077017
mov eax, dword [esp + 0x30]
mov edx, esi
imul edx, eax
mov ebx, eax
neg ebx
add edx, dword [esp + 0x20]
lea esp, [esp]
xor eax, eax
test edi, edi
jle 0x10077008
mov ebp, dword [esp + 0x48]
mov ecx, edx
lea esp, [esp]
cmp dword [ecx], ebp
jne 0x10077000
add eax, 1
add ecx, 4
cmp eax, edi
jl 0x10076ff0
jmp 0x10077004
cmp eax, edi
jl 0x10077013
mov ebp, dword [esp + 0x7c]
sub esi, 1
add edx, ebx
test esi, esi
jge 0x10076fe0
jmp 0x10077017
mov ebp, dword [esp + 0x7c]
lea esi, [ebp - 1]
test esi, esi
jl 0x10077069
mov ebx, dword [esp + 0x30]
mov edx, esi
imul edx, ebx
neg ebx
lea esp, [esp]
lea eax, [edi - 1]
test eax, eax
jl 0x1007705a
mov ebp, dword [esp + 0x48]
lea ecx, [edx + eax*4]
add ecx, dword [esp + 0x20]
cmp dword [ecx], ebp
jne 0x10077052
sub eax, 1
sub ecx, 4
test eax, eax
jge 0x10077042
jmp 0x10077056
test eax, eax
jge 0x10077065
mov ebp, dword [esp + 0x7c]
sub esi, 1
add edx, ebx
test esi, esi
jge 0x10077030
jmp 0x10077069
mov ebp, dword [esp + 0x7c]
mov ecx, ebp
imul ecx, edi
mov dword [esp + 0x68], ecx
imul ecx, dword [esp + 0x50]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x34], ecx
xor ecx, ecx
cmp eax, ecx
jne 0x10077319
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
sub eax, ebp
mov dword [esp + 0x1c], ecx
js 0x10077a9e
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x24], ecx
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
sub eax, dword [esp + 0x78]
mov dword [esp + 0x18], 0
js 0x100772ee
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov ebp, dword [esp + 0x68]
xor eax, eax
cmp dword [esp + 0x7c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], eax
jle 0x10077195
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
xor esi, esi
cmp dword [esp + 0x78], esi
jle 0x10077162
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [edi]
push eax
push ecx
mov ecx, dword [ebx + esi*4]
sub ebp, 1
call fcn.1004e320
add esp, 0x14
test eax, eax
je 0x10077143
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x100771a3
lea edx, [ecx + ebp]
cmp edx, eax
jl 0x10077162
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x78]
jl 0x10077111
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jge 0x100771a3
add eax, ebp
cmp eax, ecx
jl 0x10077195
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
add ebx, dword [esp + 0x30]
add dword [esp + 0x2c], ecx
add eax, 1
cmp eax, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
jl 0x10077105
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x10], edx
jl 0x100772cb
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0xb5], eax
mov dword [esp + 0xb9], eax
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], eax
mov dword [esp + 0xc5], eax
mov dword [esp + 0xc9], eax
mov dword [esp + 0xcd], eax
mov word [esp + 0xd1], ax
mov byte [esp + 0xd3], al
mov byte [esp + 0x103], al
mov eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x5c]
add edx, eax
push edx
mov edx, dword [esp + 0x4c]
push ecx
push edx
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov byte [esp + 0xcc], 0
mov byte [esp + 0x110], 0x25
mov byte [esp + 0x111], 0x64
mov byte [esp + 0x112], 0x2c
mov byte [esp + 0x113], 0x25
mov byte [esp + 0x114], 0x64
mov byte [esp + 0x115], 0x2c
mov byte [esp + 0x116], 0x25
mov byte [esp + 0x117], 0x64
mov byte [esp + 0x118], 0x2c
mov byte [esp + 0x119], 0x25
mov byte [esp + 0x11a], 0x64
call fcn.10101c10
mov esi, dword [esp + 0x84]
add esp, 0x18
cmp dword [esi + 0x14], 0
jbe 0x1007729f
push 1
push 0x1016b58c
mov ecx, esi
call fcn.10009ca0
lea eax, [esp + 0xb4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100772b0
sub eax, edx
push eax
lea edx, [esp + 0xb8]
push edx
mov ecx, esi
call fcn.10009ca0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
sub edx, dword [esp + 0x78]
add dword [esp + 0x28], 4
add eax, 1
cmp eax, edx
mov dword [esp + 0x18], eax
jle 0x100770e1
mov ecx, dword [esp + 0x38]
add dword [esp + 0x24], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 0x24]
sub ecx, dword [esp + 0x7c]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x100770c0
jmp 0x10077a9e
cmp eax, 1
jne 0x1007759e
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
sub eax, ebp
mov dword [esp + 0x1c], eax
js 0x10077a9e
mov edx, dword [esp + 0x38]
imul eax, edx
mov ecx, edx
neg ecx
add eax, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x20]
sub ecx, dword [esp + 0x78]
mov dword [esp + 0x18], 0
js 0x1007757e
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov ebp, dword [esp + 0x68]
xor eax, eax
cmp dword [esp + 0x7c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], eax
jle 0x10077425
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
xor esi, esi
cmp dword [esp + 0x78], esi
jle 0x100773f1
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov ecx, dword [ebx + esi*4]
push edx
mov edx, dword [edi]
sub ebp, 1
call fcn.1004e320
add esp, 0x14
test eax, eax
je 0x100773d3
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x10077433
add ecx, ebp
cmp ecx, eax
jl 0x100773f1
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x78]
jl 0x100773a1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jge 0x10077433
lea edx, [eax + ebp]
cmp edx, ecx
jl 0x10077425
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
add ebx, dword [esp + 0x30]
add dword [esp + 0x24], ecx
add eax, 1
cmp eax, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
jl 0x10077395
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x10], edx
jl 0x1007755b
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0xb5], eax
mov dword [esp + 0xb9], eax
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], eax
mov dword [esp + 0xc5], eax
mov dword [esp + 0xc9], eax
mov dword [esp + 0xcd], eax
mov word [esp + 0xd1], ax
mov byte [esp + 0xd3], al
mov byte [esp + 0xeb], al
mov eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x5c]
add edx, eax
push edx
mov edx, dword [esp + 0x4c]
push ecx
push edx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov byte [esp + 0xcc], 0
mov byte [esp + 0xf8], 0x25
mov byte [esp + 0xf9], 0x64
mov byte [esp + 0xfa], 0x2c
mov byte [esp + 0xfb], 0x25
mov byte [esp + 0xfc], 0x64
mov byte [esp + 0xfd], 0x2c
mov byte [esp + 0xfe], 0x25
mov byte [esp + 0xff], 0x64
mov byte [esp + 0x100], 0x2c
mov byte [esp + 0x101], 0x25
mov byte [esp + 0x102], 0x64
call fcn.10101c10
mov esi, dword [esp + 0x84]
add esp, 0x18
cmp dword [esi + 0x14], 0
jbe 0x1007752f
push 1
push 0x1016b58c
mov ecx, esi
call fcn.10009ca0
lea eax, [esp + 0xb4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10077540
sub eax, edx
push eax
lea edx, [esp + 0xb8]
push edx
mov ecx, esi
call fcn.10009ca0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
sub edx, dword [esp + 0x78]
add dword [esp + 0x28], 4
add eax, 1
cmp eax, edx
mov dword [esp + 0x18], eax
jle 0x10077371
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x2c], ecx
sub eax, 1
test eax, eax
mov dword [esp + 0x1c], eax
jge 0x10077350
jmp 0x10077a9e
cmp eax, 2
jne 0x10077816
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
sub eax, ebp
mov dword [esp + 0x1c], ecx
js 0x10077a9e
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x20]
sub eax, dword [esp + 0x78]
mov dword [esp + 0x18], eax
js 0x100777eb
mov edx, dword [esp + 0x2c]
lea eax, [edx + eax*4]
add eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x68]
xor eax, eax
cmp dword [esp + 0x7c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], eax
jle 0x100776a4
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
lea ebx, [ebx]
xor esi, esi
cmp dword [esp + 0x78], esi
jle 0x10077670
mov edi, dword [esp + 0x24]
lea esp, [esp]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [ebx + esi*4]
push edx
mov edx, dword [edi]
push eax
sub ebp, 1
call fcn.1004e320
add esp, 0x14
test eax, eax
je 0x10077652
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x100776b2
add ecx, ebp
cmp ecx, eax
jl 0x10077670
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x78]
jl 0x10077620
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jge 0x100776b2
lea edx, [eax + ebp]
cmp edx, ecx
jl 0x100776a4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
add ebx, dword [esp + 0x30]
add dword [esp + 0x24], ecx
add eax, 1
cmp eax, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
jl 0x10077610
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x10], edx
jl 0x100777d3
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0xb5], eax
mov dword [esp + 0xb9], eax
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], eax
mov dword [esp + 0xc5], eax
mov dword [esp + 0xc9], eax
mov dword [esp + 0xcd], eax
mov word [esp + 0xd1], ax
mov byte [esp + 0xd3], al
mov byte [esp + 0xdf], al
mov eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x5c]
add edx, eax
push edx
mov edx, dword [esp + 0x4c]
push ecx
push edx
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov byte [esp + 0xcc], 0
mov byte [esp + 0xec], 0x25
mov byte [esp + 0xed], 0x64
mov byte [esp + 0xee], 0x2c
mov byte [esp + 0xef], 0x25
mov byte [esp + 0xf0], 0x64
mov byte [esp + 0xf1], 0x2c
mov byte [esp + 0xf2], 0x25
mov byte [esp + 0xf3], 0x64
mov byte [esp + 0xf4], 0x2c
mov byte [esp + 0xf5], 0x25
mov byte [esp + 0xf6], 0x64
call fcn.10101c10
mov esi, dword [esp + 0x84]
add esp, 0x18
cmp dword [esi + 0x14], 0
jbe 0x100777ae
push 1
push 0x1016b58c
mov ecx, esi
call fcn.10009ca0
lea eax, [esp + 0xb4]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100777b8
sub eax, edx
push eax
lea edx, [esp + 0xb8]
push edx
mov ecx, esi
call fcn.10009ca0
mov eax, dword [esp + 0x18]
sub dword [esp + 0x28], 4
sub eax, 1
test eax, eax
mov dword [esp + 0x18], eax
jge 0x100775e6
mov ecx, dword [esp + 0x38]
add dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 0x24]
sub ecx, dword [esp + 0x7c]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x100775c2
jmp 0x10077a9e
cmp eax, 3
jne 0x10077a9e
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
js 0x10077a9e
mov ecx, dword [esp + 0x38]
imul eax, ecx
mov dword [esp + 0x2c], eax
mov eax, ecx
neg eax
mov dword [esp + 0x3c], eax
jmp 0x10077850
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
sub eax, dword [esp + 0x78]
mov dword [esp + 0x18], eax
js 0x10077a83
mov ecx, dword [esp + 0x2c]
mov edx, eax
lea eax, [ecx + edx*4]
add eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x68]
xor eax, eax
cmp dword [esp + 0x7c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], eax
jle 0x10077934
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
lea ebx, [ebx]
xor esi, esi
cmp dword [esp + 0x78], esi
jle 0x10077900
mov edi, dword [esp + 0x24]
lea esp, [esp]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov ecx, dword [ebx + esi*4]
push edx
mov edx, dword [edi]
sub ebp, 1
call fcn.1004e320
add esp, 0x14
test eax, eax
je 0x100778e2
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x10077944
add ecx, ebp
cmp ecx, eax
jl 0x10077900
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x78]
jl 0x100778b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jge 0x10077944
lea edx, [eax + ebp]
cmp edx, ecx
jl 0x1007793c
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
add ebx, dword [esp + 0x30]
add dword [esp + 0x24], ecx
add eax, 1
cmp eax, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
jl 0x100778a0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jl 0x10077a6b
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0xb5], eax
mov dword [esp + 0xb9], eax
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], eax
mov dword [esp + 0xc5], eax
mov dword [esp + 0xc9], eax
mov dword [esp + 0xcd], eax
mov word [esp + 0xd1], ax
mov byte [esp + 0xd3], al
mov byte [esp + 0xf7], al
mov eax, dword [esp + 0x60]
add edx, eax
mov eax, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x5c]
add ecx, edx
push ecx
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0xfc]
push edx
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0xcc], 0
mov byte [esp + 0x104], 0x25
mov byte [esp + 0x105], 0x64
mov byte [esp + 0x106], 0x2c
mov byte [esp + 0x107], 0x25
mov byte [esp + 0x108], 0x64
mov byte [esp + 0x109], 0x2c
mov byte [esp + 0x10a], 0x25
mov byte [esp + 0x10b], 0x64
mov byte [esp + 0x10c], 0x2c
mov byte [esp + 0x10d], 0x25
mov byte [esp + 0x10e], 0x64
call fcn.10101c10
mov esi, dword [esp + 0x84]
add esp, 0x18
cmp dword [esi + 0x14], 0
jbe 0x10077a40
push 1
push 0x1016b58c
mov ecx, esi
call fcn.10009ca0
lea eax, [esp + 0xb4]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10077a50
sub eax, edx
push eax
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.10009ca0
mov eax, dword [esp + 0x18]
sub dword [esp + 0x28], 4
sub eax, 1
test eax, eax
mov dword [esp + 0x18], eax
jge 0x10077876
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
add dword [esp + 0x2c], edx
sub eax, 1
test eax, eax
mov dword [esp + 0x1c], eax
jge 0x10077850
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x10], 0
jne 0x10077ab8
mov ecx, dword [esp + 0xa4]
cmp dword [ecx + 0x32fc], 0
jne 0x10077ac8
mov edx, dword [esp + 0xa0]
push edx
call fcn.100ffef8
add esp, 4
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], 0
je 0x10077adf
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100ffef8
add esp, 4
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0xa4]
mov eax, dword [esp + 0x14]
add esi, 1
cmp esi, dword [eax + 0xc]
mov dword [esp + 0x44], esi
jle 0x10076d10
pop edi
mov ecx, dword [esp + 0x100]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101003d3
add esp, 0xf8
ret
cmp dword [ebx + 0x10], 0
jne 0x10077b26
cmp dword [ebp + 0x32fc], 0
jne 0x10077aea
mov edx, dword [esp + 0x20]
push edx
call fcn.100ffef8
add esp, 4
jmp 0x10077aea
jmp fcn.100eeea6