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

Disassembly:
sub esp, 0x80
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0x34], edx
push edi
mov ecx, 0x10103106
mov dword [esp + 0x74], ebp
call fcn.100d96c4
mov edi, dword [ebp + 0x490]
cmp dword [ebp + 0x48c], edi
je 0x1003631b
mov ecx, dword [esp + 0x90]
lea eax, [edi + edi*2]
add eax, eax
mov esi, dword [ebp + eax*8 + 0x4b8]
mov edx, dword [ebp + eax*8 + 0x4bc]
mov dword [ebp + 0x490], esi
sub esi, edi
pop edi
mov eax, esi
mov dword [ecx], edx
pop esi
pop ebp
add esp, 0x80
ret
cmp dword [ebp + 0x31738], 0
mov dword [ebp + 0x48c], 0
mov dword [ebp + 0x490], 0
jne 0x1003634d
lea edx, [esp + 0x20]
mov ecx, ebp
call fcn.10036050
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
jmp 0x1003635d
mov eax, dword [ebp + 0x494]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x498]
mov edi, dword [ebp + 0x49c]
mov dword [esp + 0x28], eax
push ebx
cmp edi, 2
jb 0x10037559
push dword [ebp + 0x18]
mov eax, 0x111
cmp edi, eax
cmova edi, eax
mov eax, dword [ebp + 0xc]
call eax
add esp, 4
mov dword [esp + 0x20], 0
xor ebx, ebx
lea edx, [eax - 1]
mov al, byte [edx]
mov dword [esp + 0x34], edx
mov byte [esp + 0x12], al
nop dword [eax]
mov eax, dword [ebp + ebx*4 + 0x3173c]
mov ecx, edx
sub ecx, eax
mov dword [esp + ebx*4 + 0x64], eax
mov al, byte [esp + 0x12]
cmp al, byte [ecx - 1]
lea esi, [ecx - 1]
jne 0x10036404
mov al, byte [edx + 1]
cmp al, byte [ecx]
jne 0x10036404
mov edx, 2
cmp edi, edx
jbe 0x100363e1
mov eax, dword [esp + 0x34]
sub esi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x100363e1
inc edx
inc ecx
cmp edx, edi
jb 0x100363d4
mov ecx, dword [esp + 0x20]
mov eax, ebx
mov dword [esp + ebx*4 + 0x80], edx
cmp edx, dword [esp + ecx*4 + 0x80]
mov edx, dword [esp + 0x34]
cmovbe eax, ecx
mov ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x10036413
mov ecx, dword [esp + 0x20]
mov dword [esp + ebx*4 + 0x80], 0
inc ebx
cmp ebx, 4
jb 0x100363a0
mov esi, dword [esp + ecx*4 + 0x80]
mov eax, dword [ebp + 0x31734]
cmp esi, eax
jb 0x10036459
mov eax, dword [esp + 0x94]
mov dword [eax], ecx
lea eax, [esi - 1]
test eax, eax
je 0x1003644c
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0x31738], eax
push eax
push dword [ebp + 0x18]
call ecx
add esp, 8
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x80
ret
mov ebx, dword [esp + 0x14]
cmp ebx, eax
jb 0x1003649e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x94]
mov ecx, dword [ebp + ecx*4 + 0x30e9c]
add ecx, 4
mov dword [eax], ecx
lea eax, [ebx - 1]
test eax, eax
je 0x10036491
add dword [ebp + 0x31738], eax
push eax
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
call eax
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x80
ret
mov cl, byte [edx]
mov eax, edx
sub eax, dword [esp + 0x64]
mov byte [esp + 0x12], cl
mov al, byte [eax - 1]
mov byte [esp + 0x13], al
cmp ebx, 2
jae 0x100364c3
cmp cl, al
je 0x100364c3
cmp esi, 2
jb 0x10037559
mov eax, dword [ebp + 0x3174c]
lea edi, [ebp + 0x30ca0]
mov dword [ebp + 0x4a4], eax
mov ecx, 8
sub cl, byte [ebp + 0x32398]
movzx edx, byte [edx - 1]
mov ebx, dword [ebp + 0x323a8]
mov eax, dword [esp + 0x3c]
and ebx, eax
and eax, dword [ebp + 0x323a4]
shr edx, cl
mov ecx, dword [ebp + 0x32398]
shl eax, cl
add edx, eax
mov dword [esp + 0x30], ebx
imul ecx, edx, 0x600
movzx edx, byte [esp + 0x12]
push edi
add ecx, dword [ebp + 0x323ac]
cmp dword [ebp + 0x3174c], 7
jb 0x10036531
movzx eax, byte [esp + 0x17]
push eax
call fcn.10035aa0
add esp, 8
jmp 0x10036539
call fcn.10035a40
add esp, 4
mov ecx, eax
or edx, 0xffffffff
mov eax, dword [ebp + 0x3174c]
shl eax, 4
add eax, ebx
movzx eax, word [ebp + eax*2 + 0x323b0]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30ca0]
add eax, ecx
mov dword [ebp + 0x4ec], 0xffffffff
mov dword [ebp + 0x4d0], eax
mov dword [esp + 0x24], eax
mov dword [ebp + 0x4d8], 0
mov edi, dword [ebp + 0x3174c]
mov eax, edi
shl eax, 4
add eax, ebx
movzx eax, word [ebp + eax*2 + 0x323b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [ebp + eax*4 + 0x30ca0]
movzx eax, word [ebp + edi*2 + 0x32530]
xor eax, 0x7f0
mov dword [esp + 0x40], ecx
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30ca0]
add eax, ecx
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x12]
cmp byte [esp + 0x13], al
jne 0x10036614
mov eax, edi
or edx, 0xffffffff
shl eax, 4
add eax, ebx
movzx ecx, word [ebp + eax*2 + 0x32590]
movzx eax, word [ebp + edi*2 + 0x32548]
shr ecx, 4
shr eax, 4
mov ecx, dword [ebp + ecx*4 + 0x30ca0]
add ecx, dword [ebp + eax*4 + 0x30ca0]
add ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x24]
jae 0x10036614
mov dword [ebp + 0x4d0], ecx
xor edx, edx
mov dword [ebp + 0x4ec], 0
mov ecx, dword [esp + 0x14]
cmp ecx, esi
cmovb ecx, esi
mov dword [esp + 0x28], ecx
cmp ecx, 2
jae 0x1003663f
mov eax, dword [esp + 0x94]
pop ebx
pop edi
pop esi
mov dword [eax], edx
mov eax, 1
pop ebp
add esp, 0x80
ret
mov eax, dword [esp + 0x64]
mov dword [ebp + 0x4e8], 0
mov dword [ebp + 0x4c0], eax
mov eax, dword [esp + 0x68]
mov dword [ebp + 0x4c4], eax
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x4c8], eax
mov eax, dword [esp + 0x70]
mov dword [ebp + 0x4cc], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, 0x4a0
add eax, ebp
nop
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x10036680
xor edi, edi
mov esi, dword [esp + edi*4 + 0x80]
cmp esi, 2
jb 0x10036703
push ebx
push dword [ebp + 0x3174c]
mov edx, edi
mov ecx, ebp
call fcn.10036100
imul ecx, dword [esp + 0x38], 0x110
lea edx, [ebp + 0x37658]
mov ebx, eax
add esp, 8
add ebx, dword [esp + 0x34]
lea eax, [ebp + 0x4bc]
add ecx, esi
lea edx, [edx + ecx*4]
lea ecx, [esi + esi*2]
shl ecx, 4
add eax, ecx
mov ecx, dword [edx]
add ecx, ebx
cmp ecx, dword [eax - 0x1c]
jae 0x100366f3
mov dword [eax - 0x1c], ecx
mov dword [eax - 4], 0
mov dword [eax], edi
mov dword [eax - 0x14], 0
dec esi
sub edx, 4
sub eax, 0x30
cmp esi, 2
jae 0x100366d7
mov ebx, dword [esp + 0x30]
inc edi
cmp edi, 4
jb 0x10036691
mov eax, dword [ebp + 0x3174c]
mov edi, dword [esp + 0x80]
movzx eax, word [ebp + eax*2 + 0x32530]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30ca0]
add eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
cmp edi, 2
jb 0x10036738
inc edi
jmp 0x1003673d
mov edi, 2
cmp edi, dword [esp + 0x14]
ja 0x10036876
xor esi, esi
cmp edi, dword [ebp + 0x30ea0]
jbe 0x1003675d
add esi, 2
cmp edi, dword [ebp + esi*4 + 0x30ea0]
ja 0x10036751
lea eax, [edi - 2]
mov edx, edi
shl eax, 7
mov dword [esp + 0x1c], eax
imul eax, ebx, 0x110
lea ebx, [ebp + 0x4bc]
shl edx, 5
add edx, 0x62aa
mov dword [esp + 0x20], edx
add eax, edi
lea eax, [eax*4 + 0x32e10]
add eax, ebp
mov dword [esp + 0x14], eax
lea eax, [edi + edi*2]
shl eax, 4
add ebx, eax
mov eax, dword [esp + 0x14]
nop dword [eax]
mov eax, dword [eax]
add eax, dword [esp + 0x24]
mov ecx, dword [ebp + esi*4 + 0x30ea4]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], eax
cmp edi, 5
jae 0x100367c8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
jmp 0x100367d5
mov eax, 0x180
mov dword [esp + 0x34], 0x634a
cmp ecx, 0x80
jae 0x100367e8
add eax, ecx
mov eax, dword [ebp + eax*4 + 0x31b50]
jmp 0x10036827
mov edx, 0x1ffff
mov eax, ecx
sub edx, ecx
shr edx, 0x1f
neg edx
and edx, 0xa
add edx, 6
mov ecx, edx
shr eax, cl
movzx ecx, byte [eax + ebp + 0x304a0]
mov eax, dword [esp + 0x34]
add eax, edx
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + eax*4]
and ecx, 0xf
add eax, dword [ebp + ecx*4 + 0x32350]
mov ecx, dword [esp + 0x30]
add eax, dword [esp + 0x40]
cmp eax, dword [ebx - 0x1c]
jae 0x10036846
mov dword [ebx - 0x1c], eax
lea eax, [ecx + 4]
mov dword [ebx - 4], 0
mov dword [ebx], eax
mov dword [ebx - 0x14], 0
cmp edi, dword [ebp + esi*4 + 0x30ea0]
jne 0x10036858
add esi, 2
cmp esi, dword [esp + 0x2c]
je 0x10036876
mov eax, dword [esp + 0x14]
inc edi
add dword [esp + 0x20], 0x20
add eax, 4
sub dword [esp + 0x1c], 0xffffff80
add ebx, 0x30
mov dword [esp + 0x14], eax
jmp 0x100367a0
mov edi, 1
mov dword [esp + 0x18], edi
cmp dword [esp + 0x28], edi
je 0x1003753c
nop dword [eax]
lea edx, [esp + 0x34]
mov ecx, ebp
call fcn.10036050
mov ecx, eax
mov dword [esp + 0x40], ecx
cmp ecx, dword [ebp + 0x31734]
jae 0x1003752c
inc dword [esp + 0x3c]
lea ebx, [edi + edi*2]
shl ebx, 4
add ebx, ebp
mov edx, dword [ebx + 0x4a8]
mov ecx, dword [ebx + 0x4b8]
test edx, edx
je 0x10036923
dec ecx
cmp dword [ebx + 0x4ac], 0
je 0x1003690e
mov eax, dword [ebx + 0x4b0]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [ebx + 0x4b4], 4
mov eax, dword [ebp + eax*8 + 0x4a4]
jae 0x100368fe
mov esi, dword [eax*4 + 0x100e2318]
mov esi, dword [esi*4 + 0x100e22b8]
jmp 0x1003692f
mov esi, dword [eax*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov esi, dword [esi*4 + 0x100e22b8]
jmp 0x1003692f
lea eax, [ecx + ecx*2]
add eax, eax
mov esi, dword [ebp + eax*8 + 0x4a4]
mov esi, dword [esi*4 + 0x100e22b8]
jmp 0x1003692f
lea eax, [ecx + ecx*2]
add eax, eax
mov esi, dword [ebp + eax*8 + 0x4a4]
lea eax, [edi - 1]
cmp ecx, eax
jne 0x1003695f
cmp dword [ebx + 0x4bc], 0
jne 0x1003694f
mov esi, dword [esi*4 + 0x100e2348]
mov dword [esp + 0x1c], esi
jmp 0x10036a1d
mov esi, dword [esi*4 + 0x100e22b8]
mov dword [esp + 0x1c], esi
jmp 0x10036a1d
test edx, edx
je 0x10036981
cmp dword [ebx + 0x4ac], 0
je 0x10036981
mov ecx, dword [ebx + 0x4b0]
mov edx, dword [ebx + 0x4b4]
mov esi, dword [esi*4 + 0x100e2318]
jmp 0x1003699c
mov edx, dword [ebx + 0x4bc]
cmp edx, 4
jae 0x10036995
mov esi, dword [esi*4 + 0x100e2318]
jmp 0x1003699c
mov esi, dword [esi*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
lea eax, [ecx + ecx*2]
mov dword [esp + 0x1c], esi
shl eax, 4
lea ecx, [ebp + 0x4a0]
add ecx, eax
mov dword [esp + 0x24], ecx
cmp edx, 4
jae 0x10036a01
mov eax, dword [ecx + edx*4 + 0x20]
mov dword [esp + 0x64], eax
mov eax, 1
cmp edx, eax
jb 0x100369e5
lea esi, [ecx + 0x20]
mov ecx, edx
lea eax, [edx + 1]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jb 0x100369e1
mov esi, dword [esp + 0x1c]
jmp 0x10036a1d
mov ecx, dword [esp + 0x24]
lea esi, [ecx + 0x20]
mov ecx, 4
lea edi, [esp + 0x64]
sub ecx, eax
lea esi, [esi + eax*4]
lea edi, [edi + eax*4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
jmp 0x10036a1d
lea eax, [edx - 4]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov dword [ebx + 0x4a4], esi
mov dword [ebx + 0x4c4], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x4c8], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x4cc], eax
mov dword [ebx + 0x4c0], edi
mov eax, dword [ebx + 0x4a0]
push dword [ebp + 0x18]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
call eax
mov edx, dword [ebp + 0x323a8]
add esp, 4
and edx, dword [esp + 0x3c]
mov dword [esp + 0x48], edx
lea ecx, [eax - 1]
mov al, byte [ecx]
mov byte [esp + 0x13], al
mov eax, ecx
sub eax, edi
mov dword [esp + 0x2c], ecx
lea edi, [eax - 1]
mov al, byte [edi]
mov byte [esp + 0x12], al
mov eax, esi
shl eax, 4
add eax, edx
movzx edx, byte [ecx - 1]
mov dword [esp + 0x38], eax
movzx eax, word [ebp + eax*2 + 0x323b0]
shr eax, 4
mov esi, dword [ebp + eax*4 + 0x30ca0]
lea eax, [ecx - 1]
add esi, dword [esp + 0x30]
mov ecx, 8
sub cl, byte [ebp + 0x32398]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
and eax, dword [ebp + 0x323a4]
shr edx, cl
mov ecx, dword [ebp + 0x32398]
shl eax, cl
add edx, eax
lea eax, [ebp + 0x30ca0]
imul ecx, edx, 0x600
movzx edx, byte [esp + 0x13]
push eax
add ecx, dword [ebp + 0x323ac]
cmp dword [esp + 0x20], 7
jb 0x10036b0a
movzx eax, byte [esp + 0x16]
push eax
call fcn.10035aa0
add esp, 8
jmp 0x10036b12
call fcn.10035a40
add esp, 4
mov edx, dword [ebx + 0x4d0]
add esi, eax
mov ecx, dword [esp + 0x18]
cmp esi, edx
jae 0x10036b4c
mov dword [ebx + 0x4d0], esi
mov edx, esi
mov dword [ebx + 0x4e8], ecx
mov dword [ebx + 0x4ec], 0xffffffff
mov dword [ebx + 0x4d8], 0
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x38]
movzx eax, word [ebp + eax*2 + 0x323b0]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30ca0]
add eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
movzx eax, word [ebp + eax*2 + 0x32530]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30ca0]
add eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov al, byte [esp + 0x13]
cmp byte [esp + 0x12], al
jne 0x10036c0c
cmp dword [ebx + 0x4e8], ecx
jae 0x10036bad
cmp dword [ebx + 0x4ec], 0
je 0x10036c0c
mov eax, dword [esp + 0x1c]
movzx ecx, word [ebp + eax*2 + 0x32548]
mov eax, dword [esp + 0x38]
shr ecx, 4
movzx eax, word [ebp + eax*2 + 0x32590]
mov ecx, dword [ebp + ecx*4 + 0x30ca0]
shr eax, 4
add ecx, dword [ebp + eax*4 + 0x30ca0]
add ecx, dword [esp + 0x5c]
cmp ecx, edx
ja 0x10036c0c
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x4d0], ecx
mov ecx, 1
mov dword [ebx + 0x4e8], eax
mov dword [ebx + 0x4ec], 0
mov dword [ebx + 0x4d8], 0
jmp 0x10036c10
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x49c]
mov ebx, 0xfff
sub ebx, dword [esp + 0x18]
cmp ebx, eax
cmovae ebx, eax
mov dword [esp + 0x30], ebx
cmp ebx, 2
jb 0x100374fc
mov eax, dword [ebp + 0x31734]
mov edx, ebx
cmp ebx, eax
cmova edx, eax
mov dword [esp + 0x54], edx
test ecx, ecx
jne 0x10036d82
mov dl, byte [esp + 0x13]
cmp byte [esp + 0x12], dl
je 0x10036d82
inc eax
mov ecx, ebx
cmp eax, ebx
mov edx, 1
cmovbe ecx, eax
cmp ecx, edx
jbe 0x10036c81
mov ebp, dword [esp + 0x2c]
nop dword [eax]
mov al, byte [edx + ebp]
cmp al, byte [edx + edi]
jne 0x10036c7d
inc edx
cmp edx, ecx
jb 0x10036c70
mov ebp, dword [esp + 0x78]
lea eax, [edx - 1]
mov dword [esp + 0x4c], eax
cmp eax, 2
jb 0x10036d82
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
inc ebx
and ebx, dword [ebp + 0x323a8]
mov edi, dword [eax*4 + 0x100e22b8]
mov eax, edi
shl eax, 4
add eax, ebx
movzx ecx, word [ebp + eax*2 + 0x323b0]
movzx eax, word [ebp + edi*2 + 0x32530]
xor ecx, 0x7f0
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov edi, dword [ebp + ecx*4 + 0x30ca0]
add edi, dword [ebp + eax*4 + 0x30ca0]
add edi, esi
mov esi, dword [esp + 0x18]
add esi, edx
mov edx, dword [esp + 0x28]
cmp edx, esi
jae 0x10036d11
lea eax, [edx + edx*2]
mov dword [esp + 0x28], esi
shl eax, 4
mov ecx, esi
add eax, 0x4a0
add eax, ebp
sub ecx, edx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x10036d02
mov eax, dword [esp + 0x1c]
xor edx, edx
push ebx
mov ecx, ebp
push dword [eax*4 + 0x100e22b8]
call fcn.10036100
imul ecx, ebx, 0x110
add esp, 8
add ecx, dword [esp + 0x4c]
add eax, dword [ebp + ecx*4 + 0x37658]
lea ecx, [esi + esi*2]
mov esi, dword [esp + 0x18]
add ecx, ecx
add eax, edi
cmp eax, dword [ebp + ecx*8 + 0x4a0]
jae 0x10036d86
mov dword [ebp + ecx*8 + 0x4a0], eax
lea eax, [esi + 1]
mov dword [ebp + ecx*8 + 0x4b8], eax
mov dword [ebp + ecx*8 + 0x4bc], 0
mov dword [ebp + ecx*8 + 0x4a8], 1
mov dword [ebp + ecx*8 + 0x4ac], 0
jmp 0x10036d86
mov esi, dword [esp + 0x18]
mov edi, 2
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x2c]
mov ecx, eax
sub ecx, dword [esp + ebx*4 + 0x64]
mov al, byte [eax]
lea edx, [ecx - 1]
mov dword [esp + 0x44], edx
cmp al, byte [edx]
jne 0x100370b4
mov eax, dword [esp + 0x2c]
mov al, byte [eax + 1]
cmp al, byte [ecx]
jne 0x100370b4
mov edi, dword [esp + 0x54]
mov esi, 2
cmp edi, esi
jbe 0x10036de4
lea ecx, [edx + 2]
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x44]
mov al, byte [ecx + edx]
cmp al, byte [ecx]
jne 0x10036de4
inc esi
inc ecx
cmp esi, edi
jb 0x10036dd7
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
add edi, esi
cmp edx, edi
jae 0x10036e1f
lea eax, [edx + edx*2]
mov dword [esp + 0x28], edi
shl eax, 4
mov ecx, edi
add eax, 0x4a0
add eax, ebp
sub ecx, edx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x10036e10
push dword [esp + 0x48]
mov edx, ebx
mov dword [esp + 0x24], esi
push dword [esp + 0x20]
mov ecx, ebp
call fcn.10036100
add eax, dword [esp + 0x64]
add esp, 8
mov dword [esp + 0x60], eax
imul eax, dword [esp + 0x48], 0x110
mov dword [esp + 0x58], eax
lea ecx, [eax + 0xdd96]
add ecx, esi
lea edx, [ecx*4]
add edx, ebp
lea ecx, [edi + edi*2]
mov edi, dword [esp + 0x60]
add ebp, 0x4bc
shl ecx, 4
add ecx, ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [edx]
add eax, edi
cmp eax, dword [ecx - 0x1c]
jae 0x10036e8a
mov dword [ecx - 0x1c], eax
mov dword [ecx - 4], ebp
mov dword [ecx], ebx
mov dword [ecx - 0x14], 0
dec esi
sub edx, 4
sub ecx, 0x30
cmp esi, 2
jae 0x10036e72
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x78]
inc ecx
mov esi, dword [esp + 0x30]
test ebx, ebx
mov eax, ecx
cmovne eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x31734]
add eax, ecx
cmp eax, esi
cmovbe esi, eax
cmp ecx, esi
jae 0x10036edd
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
sub edi, eax
lea edx, [ecx + eax]
nop
mov al, byte [edx + edi]
cmp al, byte [edx]
jne 0x10036edd
inc ecx
inc edx
cmp ecx, esi
jb 0x10036ed0
mov edi, dword [esp + 0x4c]
mov eax, 0xffffffff
sub eax, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
add ecx, eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x14], edi
cmp ecx, 2
jb 0x100370b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
mov edi, dword [ebp + 0x323a8]
add esi, ecx
mov ebx, dword [eax*4 + 0x100e2318]
and edi, esi
and esi, dword [ebp + 0x323a4]
lea eax, [ebp + 0x30ca0]
push eax
mov eax, dword [esp + 0x48]
movzx eax, byte [ecx + eax]
push eax
mov eax, dword [esp + 0x34]
movzx edx, byte [ecx + eax]
movzx eax, byte [ecx + eax - 1]
mov ecx, 8
sub cl, byte [ebp + 0x32398]
shr eax, cl
mov ecx, dword [ebp + 0x32398]
shl esi, cl
add eax, esi
imul ecx, eax, 0x600
add ecx, dword [ebp + 0x323ac]
call fcn.10035aa0
mov esi, dword [esp + 0x28]
mov ecx, ebx
mov ebx, dword [ebx*4 + 0x100e22b8]
add esp, 8
shl ecx, 4
add ecx, edi
mov edi, dword [esp + 0x3c]
movzx ecx, word [ebp + ecx*2 + 0x323b0]
shr ecx, 4
mov ecx, dword [ebp + ecx*4 + 0x30ca0]
add ecx, eax
mov eax, dword [esp + 0x58]
add eax, esi
mov dword [esp + 0x58], ebx
inc esi
add edi, esi
mov esi, dword [esp + 0x50]
and edi, dword [ebp + 0x323a8]
mov edx, dword [ebp + eax*4 + 0x37658]
mov eax, ebx
add edx, dword [esp + 0x60]
add esi, dword [esp + 0x18]
add edx, ecx
shl eax, 4
add eax, edi
movzx ecx, word [ebp + eax*2 + 0x323b0]
movzx eax, word [ebp + ebx*2 + 0x32530]
xor ecx, 0x7f0
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov ebx, dword [ebp + ecx*4 + 0x30ca0]
add ebx, dword [ebp + eax*4 + 0x30ca0]
add ebx, edx
mov edx, dword [esp + 0x28]
cmp edx, esi
jae 0x10037022
lea eax, [edx + edx*2]
mov dword [esp + 0x28], esi
shl eax, 4
mov ecx, esi
add eax, 0x4a0
add eax, ebp
sub ecx, edx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x10037013
push edi
push dword [esp + 0x5c]
xor edx, edx
mov ecx, ebp
call fcn.10036100
mov edx, dword [esp + 0x54]
add esp, 8
imul ecx, edi, 0x110
mov edi, edx
mov dword [esp + 0x14], edi
add ecx, dword [esp + 0x74]
add eax, dword [ebp + ecx*4 + 0x37658]
lea ecx, [esi + esi*2]
mov esi, dword [esp + 0x18]
add ecx, ecx
add eax, ebx
mov ebx, dword [esp + 0x38]
cmp eax, dword [ebp + ecx*8 + 0x4a0]
jae 0x100370b4
mov dword [ebp + ecx*8 + 0x4a0], eax
mov eax, dword [esp + 0x20]
inc eax
mov dword [ebp + ecx*8 + 0x4bc], 0
add eax, esi
mov dword [ebp + ecx*8 + 0x4a8], 1
mov dword [ebp + ecx*8 + 0x4b8], eax
mov dword [ebp + ecx*8 + 0x4ac], 1
mov dword [ebp + ecx*8 + 0x4b0], esi
mov dword [ebp + ecx*8 + 0x4b4], ebx
mov dword [esp + 0x14], edi
jmp 0x100370b4
mov esi, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x38], ebx
cmp ebx, 4
jb 0x10036d95
mov edx, dword [esp + 0x54]
cmp dword [esp + 0x40], edx
jbe 0x100370fe
xor eax, eax
xor ecx, ecx
cmp edx, dword [ebp + 0x30ea0]
jbe 0x100370ee
nop dword [eax + eax]
add eax, 2
mov ecx, eax
cmp edx, dword [ebp + eax*4 + 0x30ea0]
ja 0x100370e0
mov dword [ebp + eax*4 + 0x30ea0], edx
lea eax, [ecx + 2]
mov dword [esp + 0x34], eax
jmp 0x10037102
mov edx, dword [esp + 0x40]
cmp edx, edi
jb 0x100374fc
mov eax, dword [esp + 0x1c]
add edx, esi
mov ebx, dword [esp + 0x28]
movzx eax, word [ebp + eax*2 + 0x32530]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30ca0]
add eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
cmp ebx, edx
jae 0x1003715f
lea eax, [ebx + ebx*2]
mov dword [esp + 0x28], edx
shl eax, 4
mov ecx, edx
add eax, 0x4a0
add eax, ebp
sub ecx, ebx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x10037150
xor esi, esi
mov dword [esp + 0x38], esi
cmp edi, dword [ebp + 0x30ea0]
jbe 0x10037180
nop dword [eax]
add esi, 2
cmp edi, dword [ebp + esi*4 + 0x30ea0]
ja 0x10037170
mov dword [esp + 0x38], esi
lea edi, [esi*4]
mov ecx, 0x1ffff
mov edx, dword [edi + ebp + 0x30ea4]
sub ecx, edx
mov esi, dword [esp + 0x14]
mov eax, edx
shr ecx, 0x1f
neg ecx
mov dword [esp + 0x40], edx
and ecx, 0xa
add ecx, 6
lea ebx, [esi + 1]
shr eax, cl
movzx eax, byte [eax + ebp + 0x304a0]
lea eax, [eax + ecx*2]
mov ecx, esi
mov dword [esp + 0x54], eax
mov eax, esi
shl eax, 7
add eax, 0xc5d4
shl ecx, 6
mov dword [esp + 0x44], eax
add ecx, 0xc554
imul eax, dword [esp + 0x48], 0x110
add eax, esi
lea eax, [eax*4 + 0x32e10]
add eax, ebp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
add eax, esi
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0x4bc
add eax, ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
add eax, dword [esp + 0x74]
mov dword [esp + 0x50], eax
lea eax, [ebx - 1]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x5c], eax
cmp eax, 5
jae 0x1003722f
mov eax, dword [esp + 0x44]
mov esi, ecx
jmp 0x10037239
mov eax, 0xc854
mov esi, 0xc694
cmp edx, 0x80
jae 0x10037249
add eax, edx
mov ecx, dword [ebp + eax*4]
jmp 0x1003725f
mov eax, dword [esp + 0x54]
mov ecx, edx
and ecx, 0xf
add eax, esi
mov ecx, dword [ebp + ecx*4 + 0x32350]
add ecx, dword [ebp + eax*4]
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
cmp eax, dword [ecx - 0x1c]
jae 0x10037288
mov dword [ecx - 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [ecx - 4], eax
lea eax, [edx + 4]
mov dword [ecx], eax
mov dword [ecx - 0x14], 0
lea eax, [ebx - 1]
cmp eax, dword [edi + ebp + 0x30ea0]
jne 0x100374d8
mov edi, dword [esp + 0x2c]
mov ecx, edi
mov eax, dword [ebp + 0x31734]
sub ecx, edx
mov esi, dword [esp + 0x30]
add eax, ebx
dec ecx
mov edx, ebx
cmp eax, esi
mov dword [esp + 0x24], ecx
cmovbe esi, eax
cmp ebx, esi
jae 0x100372cf
add ecx, ebx
sub edi, dword [esp + 0x24]
mov al, byte [ecx + edi]
cmp al, byte [ecx]
jne 0x100372cf
inc edx
inc ecx
cmp edx, esi
jb 0x100372c2
mov eax, 0xffffffff
mov dword [esp + 0x58], edx
lea ecx, [ebx - 1]
sub eax, ecx
add edx, eax
mov dword [esp + 0x60], edx
cmp edx, 2
jb 0x10037484
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
dec esi
mov ebx, dword [eax*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
add esi, ecx
lea eax, [ebp + 0x30ca0]
mov edi, esi
push eax
mov eax, dword [esp + 0x28]
and esi, dword [ebp + 0x323a4]
and edi, dword [ebp + 0x323a8]
movzx eax, byte [eax + ecx - 1]
push eax
mov eax, dword [esp + 0x84]
movzx edx, byte [ecx + eax]
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + ecx - 2]
mov ecx, 8
sub cl, byte [ebp + 0x32398]
shr eax, cl
mov ecx, dword [ebp + 0x32398]
shl esi, cl
add eax, esi
imul ecx, eax, 0x600
add ecx, dword [ebp + 0x323ac]
call fcn.10035aa0
mov ecx, ebx
mov esi, dword [esp + 0x60]
mov ebx, dword [ebx*4 + 0x100e22b8]
mov edx, eax
shl ecx, 4
mov eax, ebx
add ecx, edi
add esi, dword [esp + 0x20]
shl eax, 4
inc edi
and edi, dword [ebp + 0x323a8]
add esp, 8
add eax, edi
movzx ecx, word [ebp + ecx*2 + 0x323b0]
shr ecx, 4
add edx, dword [ebp + ecx*4 + 0x30ca0]
movzx ecx, word [ebp + eax*2 + 0x323b0]
movzx eax, word [ebp + ebx*2 + 0x32530]
xor ecx, 0x7f0
add edx, dword [esp + 0x50]
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov dword [esp + 0x50], ebx
mov ebx, dword [ebp + ecx*4 + 0x30ca0]
add ebx, dword [ebp + eax*4 + 0x30ca0]
add ebx, edx
mov edx, dword [esp + 0x28]
cmp edx, esi
jae 0x100373ff
lea eax, [edx + edx*2]
mov dword [esp + 0x28], esi
shl eax, 4
mov ecx, esi
add eax, 0x4a0
add eax, ebp
sub ecx, edx
nop
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x100373f0
push edi
push dword [esp + 0x54]
xor edx, edx
mov ecx, ebp
call fcn.10036100
imul ecx, edi, 0x110
add esp, 8
add ecx, dword [esp + 0x60]
add eax, dword [ebp + ecx*4 + 0x37658]
lea ecx, [esi + esi*2]
add ecx, ecx
add eax, ebx
mov ebx, dword [esp + 0x20]
cmp eax, dword [ebp + ecx*8 + 0x4a0]
jae 0x10037484
mov edx, dword [esp + 0x18]
mov dword [ebp + ecx*8 + 0x4a0], eax
mov eax, dword [esp + 0x5c]
inc eax
mov dword [ebp + ecx*8 + 0x4bc], 0
add eax, edx
mov dword [ebp + ecx*8 + 0x4a8], 1
mov dword [ebp + ecx*8 + 0x4b8], eax
mov eax, dword [esp + 0x40]
add eax, 4
mov dword [ebp + ecx*8 + 0x4ac], 1
mov dword [ebp + ecx*8 + 0x4b0], edx
mov dword [ebp + ecx*8 + 0x4b4], eax
mov esi, dword [esp + 0x38]
add esi, 2
mov dword [esp + 0x38], esi
cmp esi, dword [esp + 0x34]
je 0x100374fc
lea edi, [esi*4]
mov edx, dword [edi + ebp + 0x30ea4]
mov dword [esp + 0x40], edx
cmp edx, 0x80
jb 0x100374d4
mov ecx, 0x1ffff
mov eax, edx
sub ecx, edx
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + ebp + 0x304a0]
lea eax, [eax + ecx*2]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
add ecx, 0x30
sub dword [esp + 0x44], 0xffffff80
add eax, 4
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x4c]
add ecx, 0x40
mov dword [esp + 0x48], eax
inc ebx
jmp 0x10037209
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x28]
jne 0x10036890
mov edx, dword [esp + 0x94]
mov ecx, ebp
push edi
call fcn.100361d0
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x80
ret
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x498], eax
mov dword [ebp + 0x494], ecx
mov edx, dword [esp + 0x94]
mov ecx, ebp
push edi
call fcn.100361d0
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x80
ret
mov eax, dword [esp + 0x94]
pop ebx
pop edi
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop ebp
add esp, 0x80
ret