Function at 0x437ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x1c], edi
mov ecx, dword [edi + 0x1c]
cmp dword [edi + 0x18], ecx
je 0x437b07
mov ebx, dword [ebp - 0x1c]
lea eax, [ecx + ecx*2]
add eax, eax
mov esi, dword [edi + eax*8 + 0x74c]
mov edi, esi
mov edx, dword [ebx + eax*8 + 0x750]
sub edi, ecx
mov ecx, dword [ebp + 8]
mov eax, edi
pop edi
mov dword [ebx + 0x1c], esi
pop esi
mov dword [ecx], edx
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x30], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
jne 0x437b2d
lea edx, [ebp - 0x14]
mov ecx, edi
call fcn.00437860
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
jmp 0x437b36
mov eax, dword [edi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x24]
mov ebx, dword [edi + 0x28]
mov dword [ebp - 0x2c], eax
cmp ebx, 2
jae 0x437b56
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], 0xffffffff
mov eax, 1
mov esp, ebp
pop ebp
ret
push dword [edi]
mov eax, 0x111
cmp ebx, eax
cmova ebx, eax
mov eax, dword [edi + 0xc]
call eax
xor ecx, ecx
mov dword [ebp - 0x24], 0
add esp, 4
mov dword [ebp - 0x30], ecx
lea edx, [eax - 1]
mov al, byte [edx]
mov byte [ebp - 1], al
lea eax, [edi + 0x34]
mov dword [ebp - 0x10], edx
xor edi, edi
mov dword [ebp - 0x5c], eax
nop dword [eax]
lea ecx, [edi*4]
mov esi, edx
mov eax, dword [ecx + eax]
sub esi, eax
dec esi
mov dword [ebp + ecx - 0x6c], eax
mov al, byte [ebp - 1]
mov dword [ebp - 0x14], ecx
cmp al, byte [esi]
jne 0x437bf6
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x437bf6
mov edx, 2
cmp ebx, edx
jbe 0x437bd6
mov eax, dword [ebp - 0x10]
sub esi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x437bd3
inc edx
inc ecx
cmp edx, ebx
jb 0x437bc6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov dword [ebp + ecx - 0x84], edx
cmp edx, dword [ebp + eax - 0x84]
mov edx, dword [ebp - 0x10]
jbe 0x437c01
mov esi, edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], esi
jmp 0x437c04
mov dword [ebp + ecx - 0x84], 0
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x5c]
inc edi
cmp edi, 4
jb 0x437b90
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp + esi*4 - 0x84]
mov eax, dword [edi + 0x2c]
cmp ebx, eax
jb 0x437c41
mov eax, dword [ebp + 8]
mov dword [eax], esi
lea eax, [ebx - 1]
test eax, eax
je 0x437c38
mov ecx, dword [edi + 0x14]
add dword [edi + 0x30], eax
push eax
push dword [edi]
call ecx
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
cmp esi, eax
jb 0x437c78
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [edi + ecx*4 + 0x31130]
add ecx, 4
mov dword [eax], ecx
lea eax, [esi - 1]
test eax, eax
je 0x437c6f
add dword [edi + 0x30], eax
push eax
push dword [edi]
mov eax, dword [edi + 0x14]
call eax
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [edx]
mov eax, edx
sub eax, dword [ebp - 0x6c]
mov byte [ebp - 1], cl
mov al, byte [eax - 1]
mov byte [ebp - 2], al
cmp esi, 2
jae 0x437c9a
cmp cl, al
je 0x437c9a
cmp ebx, 2
jb 0x437b41
mov eax, dword [edi + 0x44]
mov ecx, 8
mov dword [edi + 0x738], eax
mov eax, dword [edi + 0x58]
and eax, dword [ebp - 0x40]
sub cl, byte [edi + 0x48]
movzx edx, byte [edx - 1]
mov esi, dword [edi + 0x44]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x54]
and eax, dword [ebp - 0x40]
shr edx, cl
mov ecx, dword [edi + 0x48]
shl eax, cl
add edx, eax
lea eax, [edi + 0x30f34]
imul ecx, edx, 0x600
movzx edx, byte [ebp - 1]
mov dword [ebp - 0x5c], eax
push eax
add ecx, dword [edi + 0x60]
cmp esi, 7
jb 0x437cf5
movzx eax, byte [ebp - 2]
push eax
call fcn.00437390
add esp, 8
jmp 0x437cfd
call fcn.00437340
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, eax
shl esi, 4
add esi, edx
movzx eax, word [edi + esi*2 + 0x32608]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
add eax, ecx
mov dword [edi + 0x780], 0xffffffff
mov dword [edi + 0x764], eax
mov dword [edi + 0x76c], 0
mov esi, dword [edi + 0x44]
mov eax, esi
shl eax, 4
add eax, edx
movzx eax, word [edi + eax*2 + 0x32608]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [edi + eax*4 + 0x30f34]
movzx eax, word [edi + esi*2 + 0x32788]
xor eax, 0x7f0
mov dword [ebp - 0x44], ecx
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
add eax, ecx
mov dword [ebp - 0x30], eax
mov al, byte [ebp - 2]
cmp al, byte [ebp - 1]
jne 0x437dcd
mov eax, esi
shl eax, 4
add eax, edx
movzx ecx, word [edi + eax*2 + 0x327e8]
movzx eax, word [edi + esi*2 + 0x327a0]
shr ecx, 4
shr eax, 4
mov ecx, dword [edi + ecx*4 + 0x30f34]
add ecx, dword [edi + eax*4 + 0x30f34]
add ecx, dword [ebp - 0x30]
cmp ecx, dword [edi + 0x764]
jae 0x437dcd
mov dword [edi + 0x764], ecx
mov dword [edi + 0x780], 0
mov dword [edi + 0x76c], 0
cmp dword [ebp - 8], ebx
cmovae ebx, dword [ebp - 8]
mov dword [ebp - 0x18], ebx
cmp ebx, 2
jae 0x437df3
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x780]
pop edi
pop esi
mov dword [eax], ecx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x6c]
mov ecx, ebx
mov dword [edi + 0x77c], 0
mov dword [edi + 0x754], eax
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x758], eax
mov eax, dword [ebp - 0x64]
mov dword [edi + 0x75c], eax
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x760], eax
lea eax, [ebx + ebx*2]
shl eax, 4
add eax, 0x734
add eax, edi
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x437e30
xor ebx, ebx
mov esi, dword [ebp + ebx*4 - 0x84]
cmp esi, 2
jb 0x437eac
push edx
push dword [edi + 0x44]
mov edx, ebx
mov ecx, edi
call fcn.00437900
imul ecx, dword [ebp - 0x10], 0x110
add esp, 8
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
add ecx, 0xde2d
add ecx, esi
lea edx, [edi + ecx*4]
lea ecx, [esi + 0x27]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, edi
mov eax, dword [edx]
add eax, dword [ebp - 0x14]
cmp eax, dword [ecx - 0x1c]
jae 0x437e9d
mov dword [ecx - 0x1c], eax
mov dword [ecx - 4], 0
mov dword [ecx], ebx
mov dword [ecx - 0x14], 0
dec esi
sub edx, 4
sub ecx, 0x30
cmp esi, 2
jae 0x437e80
mov edx, dword [ebp - 0x10]
inc ebx
cmp ebx, 4
jb 0x437e41
mov eax, dword [edi + 0x44]
mov ebx, dword [ebp - 0x84]
movzx eax, word [edi + eax*2 + 0x32788]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
cmp ebx, 2
jb 0x437edb
inc ebx
jmp 0x437ee0
mov ebx, 2
cmp ebx, dword [ebp - 8]
ja 0x437fe1
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp ebx, dword [edi + 0x31134]
jbe 0x437f0f
nop word [eax + eax]
add ecx, 2
cmp ebx, dword [edi + ecx*4 + 0x31134]
ja 0x437f00
mov dword [ebp - 0x10], ecx
imul eax, edx, 0x110
lea esi, [ebx + 0x27]
lea esi, [esi + esi*2]
shl esi, 4
add eax, 0xcc1b
add eax, ebx
add esi, edi
lea eax, [edi + eax*4]
mov edx, dword [edi + ecx*4 + 0x31138]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov dword [ebp - 8], edx
lea edx, [ebx - 2]
mov dword [ebp - 0x44], eax
cmp ebx, 5
jb 0x437f4c
mov edx, 3
mov eax, dword [ebp - 8]
cmp eax, 0x80
jae 0x437f64
shl edx, 7
add edx, eax
mov edx, dword [edi + edx*4 + 0x31dc8]
jmp 0x437f9d
cmp eax, 0x20000
sbb ecx, ecx
shl edx, 5
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
add edx, ecx
mov ecx, dword [ebp - 8]
and ecx, 0xf
movzx eax, byte [eax + edi + 0x30734]
lea eax, [eax + edx*2]
mov edx, dword [edi + eax*4 + 0x319c8]
add edx, dword [edi + ecx*4 + 0x325c8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
add edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x1c]
cmp edx, dword [esi - 0x1c]
jae 0x437fbe
add eax, 4
mov dword [esi - 0x1c], edx
mov dword [esi - 4], 0
mov dword [esi], eax
mov dword [esi - 0x14], 0
cmp ebx, dword [edi + ecx*4 + 0x31134]
jne 0x437fd2
add ecx, 2
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x2c]
je 0x437fe1
mov eax, dword [ebp - 0x30]
inc ebx
add eax, 4
add esi, 0x30
jmp 0x437f2a
mov esi, dword [ebp - 0x18]
mov edx, 1
mov dword [ebp - 0xc], edx
cmp esi, edx
je 0x438c39
lea edx, [ebp - 0x30]
mov ecx, edi
call fcn.00437860
mov ecx, eax
mov dword [ebp - 0x48], ecx
cmp ecx, dword [edi + 0x2c]
jae 0x438c4e
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0x40]
lea ebx, [eax + eax*2]
shl ebx, 4
add ebx, edi
mov dword [ebp - 0x38], ebx
cmp dword [ebx + 0x73c], 0
mov ecx, dword [ebx + 0x74c]
je 0x438086
dec ecx
cmp dword [ebx + 0x740], 0
je 0x438071
mov eax, dword [ebx + 0x744]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [ebx + 0x748], 4
mov edx, dword [edi + eax*8 + 0x738]
jae 0x438061
mov edx, dword [edx*4 + 0x6f0060]
mov edx, dword [edx*4 + 0x6f0000]
jmp 0x438092
mov edx, dword [edx*4 + 0x6f0090]
mov edx, dword [edx*4 + 0x6f0000]
jmp 0x438092
lea eax, [ecx + ecx*2]
add eax, eax
mov edx, dword [edi + eax*8 + 0x738]
mov edx, dword [edx*4 + 0x6f0000]
jmp 0x438092
lea eax, [ecx + ecx*2]
add eax, eax
mov edx, dword [edi + eax*8 + 0x738]
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 8], edx
cmp ecx, eax
jne 0x4380c4
cmp dword [ebx + 0x750], 0
jne 0x4380b5
mov eax, dword [edx*4 + str._t_t_t_t_t_t_t_v_v_v_v_v_b_b_b_b_b_b_b_v_v_v_v_v_a_a_a_a_a_a_a_n_n_n_n_n]
mov dword [ebp - 0x20], eax
jmp 0x43818a
mov eax, dword [edx*4 + 0x6f0000]
mov dword [ebp - 0x20], eax
jmp 0x43818a
cmp dword [ebx + 0x73c], 0
je 0x4380ee
cmp dword [ebx + 0x740], 0
je 0x4380ee
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x744]
mov edx, dword [ebx + 0x748]
mov eax, dword [eax*4 + 0x6f0060]
jmp 0x43810c
mov edx, dword [ebx + 0x750]
mov eax, dword [ebp - 8]
cmp edx, 4
jae 0x438105
mov eax, dword [eax*4 + 0x6f0060]
jmp 0x43810c
mov eax, dword [eax*4 + 0x6f0090]
mov dword [ebp - 0x20], eax
lea eax, [ecx + ecx*2]
shl eax, 4
lea ecx, [edi + 0x734]
add ecx, eax
mov dword [ebp - 0x14], ecx
cmp edx, 4
jae 0x43816f
mov eax, dword [ecx + edx*4 + 0x20]
mov dword [ebp - 0x6c], eax
mov eax, 1
cmp edx, eax
jb 0x438152
lea esi, [ecx + 0x20]
mov ecx, edx
lea eax, [edx + 1]
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jb 0x43814f
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
jmp 0x438187
mov ecx, dword [ebp - 0x14]
lea esi, [ecx + 0x20]
mov ecx, 4
lea edi, [ebp - 0x6c]
sub ecx, eax
lea edi, [edi + eax*4]
lea esi, [esi + eax*4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
jmp 0x438187
lea eax, [edx - 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x738], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0x754], eax
mov eax, dword [ebp - 0x68]
mov dword [ebx + 0x758], eax
mov eax, dword [ebp - 0x64]
mov dword [ebx + 0x75c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebx + 0x760], eax
mov eax, dword [ebx + 0x734]
push dword [edi]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [edi + 0xc]
call eax
mov ecx, dword [edi + 0x58]
add esp, 4
and ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
lea edx, [eax - 1]
mov al, byte [edx]
mov byte [ebp - 2], al
mov eax, edx
sub eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], eax
mov al, byte [eax]
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, ecx
mov ecx, 8
sub cl, byte [edi + 0x48]
mov dword [ebp - 0x28], eax
movzx eax, word [edi + eax*2 + 0x32608]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
lea eax, [edx - 1]
movzx edx, byte [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x54]
and eax, dword [ebp - 0x40]
shr edx, cl
mov ecx, dword [edi + 0x48]
shl eax, cl
add edx, eax
imul ecx, edx, 0x600
movzx edx, byte [ebp - 2]
add ecx, dword [edi + 0x60]
cmp dword [ebp - 0x20], 7
mov dword [ebp - 0x14], ecx
jb 0x43825d
lea eax, [edi + 0x30f34]
push eax
movzx eax, byte [ebp - 1]
push eax
call fcn.00437390
add esp, 8
jmp 0x4382ab
mov ebx, dword [ebp - 0x14]
xor esi, esi
or edx, 0x100
nop dword [eax + eax]
mov eax, edx
shr eax, 8
movzx ecx, word [ebx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
add esi, dword [edi + ecx*4 + 0x30f34]
cmp edx, 0x10000
jb 0x438270
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebx + 0x764]
jae 0x4382e5
mov dword [ebx + 0x764], ecx
mov dword [ebx + 0x77c], edx
mov dword [ebx + 0x780], 0xffffffff
mov dword [ebx + 0x76c], 0
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x28]
movzx eax, word [edi + eax*2 + 0x32608]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [edi + eax*4 + 0x30f34]
mov eax, dword [ebp - 0x20]
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x70], ecx
movzx eax, word [edi + eax*2 + 0x32788]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
add eax, ecx
mov cl, byte [ebp - 2]
mov ch, byte [ebp - 1]
mov dword [ebp - 0x4c], eax
cmp ch, cl
jne 0x4383a7
cmp dword [ebx + 0x77c], edx
jae 0x43833f
cmp dword [ebx + 0x780], 0
je 0x4383a7
mov eax, dword [ebp - 0x20]
movzx ecx, word [edi + eax*2 + 0x327a0]
mov eax, dword [ebp - 0x28]
shr ecx, 4
movzx eax, word [edi + eax*2 + 0x327e8]
mov ecx, dword [edi + ecx*4 + 0x30f34]
shr eax, 4
add ecx, dword [edi + eax*4 + 0x30f34]
add ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebx + 0x764]
ja 0x4383a1
mov dword [ebx + 0x764], ecx
mov cl, byte [ebp - 2]
mov ch, byte [ebp - 1]
mov dword [ebx + 0x77c], edx
mov dword [ebx + 0x780], 0
mov dword [ebx + 0x76c], 0
mov ebx, 1
jmp 0x4383aa
mov cl, byte [ebp - 2]
mov ch, byte [ebp - 1]
mov ebx, dword [ebp - 8]
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, 0xfff
mov edi, dword [ebp - 0x2c]
sub eax, edx
cmp eax, edi
cmovb edi, eax
mov dword [ebp - 0x2c], edi
cmp edi, 2
mov edi, dword [ebp - 0x1c]
jb 0x438c2d
mov edx, dword [edi + 0x2c]
mov eax, edx
cmp dword [ebp - 0x2c], edx
cmovbe eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
test ebx, ebx
jne 0x43851e
cmp ch, cl
je 0x43851e
inc edx
lea ecx, [ebx + 1]
cmp edx, dword [ebp - 0x2c]
cmova edx, dword [ebp - 0x2c]
cmp edx, ecx
jbe 0x438412
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x34]
mov al, byte [ecx + edi]
cmp al, byte [ebx + ecx]
jne 0x43840f
inc ecx
cmp ecx, edx
jb 0x438402
mov edi, dword [ebp - 0x1c]
lea ebx, [ecx - 1]
mov dword [ebp - 0x28], ebx
cmp ebx, 2
jb 0x43851e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x40]
inc ecx
and ecx, dword [edi + 0x58]
mov edx, dword [eax*4 + 0x6f0000]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], eax
movzx ecx, word [edi + eax*2 + 0x32608]
movzx eax, word [edi + edx*2 + 0x32788]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov edx, dword [edi + ecx*4 + 0x30f34]
add edx, dword [edi + eax*4 + 0x30f34]
mov eax, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
inc eax
add ebx, eax
cmp esi, ebx
jae 0x4384a0
lea eax, [esi + esi*2]
mov ecx, ebx
shl eax, 4
sub ecx, esi
add eax, 0x734
add eax, edi
add esi, ecx
mov dword [ebp - 0x18], esi
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x438491
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
movzx ecx, word [edi + eax*2 + 0x327e8]
mov eax, dword [esi*4 + 0x6f0000]
xor ecx, 0x7f0
shr ecx, 4
mov esi, dword [ebp - 0xc]
movzx eax, word [edi + eax*2 + 0x327a0]
mov ecx, dword [edi + ecx*4 + 0x30f34]
shr eax, 4
add ecx, dword [edi + eax*4 + 0x30f34]
imul eax, dword [ebp - 0x38], 0x110
add eax, dword [ebp - 0x28]
add ecx, dword [edi + eax*4 + 0x378b4]
lea eax, [ebx + ebx*2]
add ecx, edx
shl eax, 4
lea edx, [edi + 0x734]
add edx, eax
cmp ecx, dword [edx]
jae 0x438521
lea eax, [esi + 1]
mov dword [edx], ecx
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], 0
mov dword [edx + 8], 1
mov dword [edx + 0xc], 0
jmp 0x438521
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x24], edx
mov al, byte [ecx]
mov ebx, ecx
sub ebx, dword [ebp + edx*4 - 0x6c]
dec ebx
mov dword [ebp - 0x28], ebx
cmp al, byte [ebx]
jne 0x438842
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x438842
mov esi, 2
cmp dword [ebp - 0x3c], esi
jbe 0x438578
mov edx, dword [ebp - 0x34]
lea ecx, [ebx + 2]
mov edi, dword [ebp - 0x3c]
sub edx, ebx
mov al, byte [ecx + edx]
cmp al, byte [ecx]
jne 0x438572
inc esi
inc ecx
cmp esi, edi
jb 0x438565
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
add ecx, esi
cmp eax, ecx
jae 0x4385af
sub ecx, dword [ebp - 0x18]
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0x734
add eax, edi
add dword [ebp - 0x18], ecx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x4385a0
mov ebx, dword [ebp - 0x44]
mov ecx, edi
push ebx
push dword [ebp - 0x20]
mov dword [ebp - 8], esi
call fcn.00437900
add eax, dword [ebp - 0x4c]
add esp, 8
mov dword [ebp - 0x38], eax
imul eax, ebx, 0x110
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea ecx, [eax + 0xde2d]
add ecx, esi
lea edx, [edi + ecx*4]
mov ecx, dword [ebp - 0xc]
add ecx, esi
lea ecx, [ecx + ecx*2]
add ecx, 0x75
shl ecx, 4
add ecx, edi
mov edi, dword [ebp - 0xc]
mov eax, dword [edx]
add eax, dword [ebp - 0x38]
cmp eax, dword [ecx - 0x1c]
jae 0x43860c
mov dword [ecx - 0x1c], eax
mov dword [ecx - 4], edi
mov dword [ecx], ebx
mov dword [ecx - 0x14], 0
dec esi
sub edx, 4
sub ecx, 0x30
cmp esi, 2
jae 0x4385f3
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
inc ecx
mov edx, dword [ebp - 0x24]
mov eax, ecx
mov ebx, dword [ebp - 0x28]
test edx, edx
cmovne eax, dword [ebp - 0x10]
mov esi, dword [edi + 0x2c]
add esi, ecx
mov dword [ebp - 0x10], eax
cmp esi, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
cmova esi, dword [ebp - 0x2c]
cmp ecx, esi
jae 0x438660
lea edx, [ecx + ebx]
mov ebx, dword [ebp - 0x34]
sub ebx, dword [ebp - 0x28]
nop dword [eax]
mov al, byte [ebx + edx]
cmp al, byte [edx]
jne 0x43865d
inc ecx
inc edx
cmp ecx, esi
jb 0x438650
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 8]
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov dword [ebp - 0x50], ecx
cmp ecx, 2
jb 0x43883c
mov eax, dword [ebp - 0x20]
mov ecx, 8
mov edi, dword [ebp - 0x40]
add edi, esi
mov ebx, dword [eax*4 + 0x6f0060]
mov eax, dword [ebp - 0x1c]
add eax, 0x30f34
push eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [esi + eax]
push eax
mov eax, dword [ebp - 0x34]
movzx edx, byte [esi + eax]
movzx esi, byte [eax + esi - 1]
mov eax, dword [ebp - 0x1c]
sub cl, byte [eax + 0x48]
mov eax, dword [eax + 0x54]
shr esi, cl
and eax, edi
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x48]
shl eax, cl
add esi, eax
mov eax, dword [ebp - 0x1c]
imul ecx, esi, 0x600
add ecx, dword [eax + 0x60]
call fcn.00437390
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 8
mov eax, dword [ecx + 0x58]
mov edx, eax
and edx, edi
mov ecx, ebx
mov edi, dword [ebp - 0x1c]
shl ecx, 4
add edx, ecx
movzx ecx, word [edi + edx*2 + 0x32608]
mov edx, dword [ebx*4 + 0x6f0000]
mov ebx, dword [ebp - 8]
shr ecx, 4
add esi, dword [edi + ecx*4 + 0x30f34]
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 8]
add esi, dword [edi + ecx*4 + 0x378b4]
mov ecx, dword [ebp - 0x40]
add esi, dword [ebp - 0x38]
inc ecx
add ecx, ebx
mov dword [ebp - 0x38], edx
and ecx, eax
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x28], ecx
movzx ecx, word [edi + edx*2 + 0x32788]
mov edx, dword [ebp - 0x50]
xor ecx, 0x7f0
mov dword [ebp - 0x14], eax
movzx eax, word [edi + eax*2 + 0x32608]
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [edi + ecx*4 + 0x30f34]
add ecx, dword [edi + eax*4 + 0x30f34]
lea eax, [edx + ebx]
mov ebx, dword [ebp - 0x18]
add ecx, esi
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0xc]
inc ecx
add ecx, eax
mov dword [ebp - 0x50], ecx
cmp ebx, ecx
jae 0x43879f
lea eax, [ebx + ebx*2]
sub ecx, ebx
shl eax, 4
add eax, 0x734
add eax, edi
add ebx, ecx
mov dword [ebp - 0x18], ebx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x438790
mov eax, dword [ebp - 0x14]
movzx ecx, word [edi + eax*2 + 0x327e8]
mov eax, dword [ebp - 0x38]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [edi + eax*2 + 0x327a0]
mov esi, dword [edi + ecx*4 + 0x30f34]
lea ecx, [edi + 0x734]
shr eax, 4
add esi, dword [edi + eax*4 + 0x30f34]
imul eax, dword [ebp - 0x28], 0x110
add eax, edx
mov edx, dword [ebp - 0x24]
add esi, dword [edi + eax*4 + 0x378b4]
mov eax, dword [ebp - 0x50]
add esi, dword [ebp - 0x58]
lea eax, [eax + eax*2]
shl eax, 4
add ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
cmp esi, dword [ecx]
jae 0x438834
mov eax, dword [ebp - 8]
mov dword [ecx], esi
inc eax
mov esi, dword [ebp - 0xc]
add eax, esi
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x54]
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
jmp 0x438845
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
jmp 0x438845
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0x24], edx
cmp edx, 4
jb 0x438530
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x48], ecx
jbe 0x43888b
xor eax, eax
mov dword [ebp - 0x48], ecx
cmp ecx, dword [edi + 0x31134]
jbe 0x43887c
nop word [eax + eax]
add eax, 2
cmp ecx, dword [edi + eax*4 + 0x31134]
ja 0x438870
mov dword [edi + eax*4 + 0x31134], ecx
add eax, 2
mov dword [ebp - 0x30], eax
jmp 0x43888e
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
cmp ecx, edx
jb 0x438c27
mov eax, dword [ebp - 0x20]
add ecx, esi
movzx eax, word [edi + eax*2 + 0x32788]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
add dword [ebp - 0x70], eax
cmp ebx, ecx
jae 0x4388e0
lea eax, [ebx + ebx*2]
sub ecx, ebx
shl eax, 4
add eax, 0x734
add eax, edi
add ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x4388d1
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp edx, dword [edi + 0x31134]
jbe 0x4388ff
nop dword [eax]
add esi, 2
cmp edx, dword [edi + esi*4 + 0x31134]
ja 0x4388f0
mov dword [ebp - 0x3c], esi
lea eax, [esi*4]
mov esi, dword [ebp - 0x10]
mov edx, dword [eax + edi + 0x31138]
cmp edx, 0x20000
mov dword [ebp - 0x4c], eax
mov eax, edx
sbb ecx, ecx
mov dword [ebp - 0x24], edx
and ecx, 0xfffffff6
lea ebx, [esi + 1]
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + edi + 0x30734]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x14], eax
imul eax, dword [ebp - 0x44], 0x110
add eax, 0xcc1b
add eax, esi
add esi, 0x27
lea ecx, [edi + eax*4]
mov eax, dword [ebp - 0xc]
add eax, esi
lea esi, [eax + eax*2]
shl esi, 4
add esi, edi
mov eax, dword [ecx]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x54], eax
lea eax, [ebx - 1]
mov dword [ebp - 0x44], ecx
lea ecx, [ebx - 3]
mov dword [ebp - 0x28], esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x48], eax
cmp eax, 5
jb 0x43897e
mov ecx, 3
cmp edx, 0x80
jae 0x438994
shl ecx, 7
add ecx, edx
mov ecx, dword [edi + ecx*4 + 0x31dc8]
jmp 0x4389ad
shl ecx, 6
mov eax, edx
add ecx, dword [ebp - 0x14]
and eax, 0xf
mov ecx, dword [edi + ecx*4 + 0x319c8]
add ecx, dword [edi + eax*4 + 0x325c8]
mov eax, dword [ebp - 0x54]
add eax, ecx
mov dword [ebp - 0x58], eax
cmp eax, dword [esi - 0x1c]
jae 0x4389cf
mov dword [esi - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [esi - 4], eax
lea eax, [edx + 4]
mov dword [esi], eax
mov dword [esi - 0x14], 0
mov eax, dword [ebp - 0x4c]
lea ecx, [ebx - 1]
cmp ecx, dword [eax + edi + 0x31134]
jne 0x438c18
mov eax, dword [ebp - 0x34]
mov esi, dword [edi + 0x2c]
sub eax, edx
add esi, ebx
dec eax
cmp esi, dword [ebp - 0x2c]
mov edx, ebx
mov dword [ebp - 0x54], eax
cmova esi, dword [ebp - 0x2c]
cmp ebx, esi
jae 0x438a18
lea ecx, [eax + ebx]
mov ebx, dword [ebp - 0x34]
sub ebx, eax
mov al, byte [ebx + ecx]
cmp al, byte [ecx]
jne 0x438a12
inc edx
inc ecx
cmp edx, esi
jb 0x438a05
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0x48]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
mov dword [ebp - 0x50], edx
cmp edx, 2
jb 0x438bc5
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 8]
dec edi
push dword [ebp - 0x5c]
add edi, ebx
mov ebx, dword [eax + 0x58]
mov eax, dword [ebp - 0x54]
and ebx, edi
movzx eax, byte [eax + ecx - 1]
push eax
mov eax, dword [ebp - 0x74]
movzx edx, byte [eax + ecx]
mov eax, dword [ebp - 0x34]
movzx esi, byte [eax + ecx - 2]
mov ecx, 8
mov eax, dword [ebp - 0x1c]
sub cl, byte [eax + 0x48]
mov eax, dword [eax + 0x54]
and eax, edi
shr esi, cl
mov edi, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x48]
shl eax, cl
add esi, eax
imul ecx, esi, 0x600
add ecx, dword [edi + 0x60]
call fcn.00437390
mov ecx, dword [ebp - 0x20]
mov edx, eax
add esp, 8
mov eax, dword [ecx*4 + 0x6f0090]
mov ecx, eax
shl ecx, 4
add ecx, ebx
mov esi, dword [eax*4 + 0x6f0000]
mov eax, esi
shl eax, 4
movzx ecx, word [edi + ecx*2 + 0x32608]
shr ecx, 4
add edx, dword [edi + ecx*4 + 0x30f34]
lea ecx, [ebx + 1]
and ecx, dword [edi + 0x58]
add edx, dword [ebp - 0x58]
add eax, ecx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x58], ecx
movzx ecx, word [edi + esi*2 + 0x32788]
xor ecx, 0x7f0
mov dword [ebp - 0x54], eax
movzx eax, word [edi + eax*2 + 0x32608]
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [edi + ecx*4 + 0x30f34]
add ecx, dword [edi + eax*4 + 0x30f34]
mov eax, dword [ebp - 0x48]
add ecx, edx
mov edx, dword [ebp - 0x50]
add eax, edx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0xc]
inc ecx
add ecx, eax
mov dword [ebp - 0x50], ecx
cmp ebx, ecx
jae 0x438b3f
lea eax, [ebx + ebx*2]
sub ecx, ebx
shl eax, 4
add eax, 0x734
add eax, edi
add ebx, ecx
mov dword [ebp - 0x18], ebx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x438b30
mov eax, dword [ebp - 0x54]
movzx ecx, word [edi + eax*2 + 0x327e8]
movzx eax, word [edi + esi*2 + 0x327a0]
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov esi, dword [edi + ecx*4 + 0x30f34]
lea ecx, [edi + 0x734]
add esi, dword [edi + eax*4 + 0x30f34]
imul eax, dword [ebp - 0x58], 0x110
add eax, edx
mov edx, dword [ebp - 0xc]
add esi, dword [edi + eax*4 + 0x378b4]
mov eax, dword [ebp - 0x50]
add esi, dword [ebp - 0x4c]
lea eax, [eax + eax*2]
shl eax, 4
add ecx, eax
cmp esi, dword [ecx]
jae 0x438bc8
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ecx], esi
add eax, edx
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
jmp 0x438bc8
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x3c]
add esi, 2
mov dword [ebp - 0x3c], esi
cmp esi, dword [ebp - 0x38]
je 0x438c2a
mov ebx, dword [ebp - 8]
lea eax, [esi*4]
mov edx, dword [eax + edi + 0x31138]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], edx
cmp edx, 0x80
jb 0x438c18
cmp edx, 0x20000
mov eax, edx
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + edi + 0x30734]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x44]
add esi, 0x30
add ecx, 4
inc ebx
jmp 0x43895a
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0xc], edx
cmp edx, esi
jne 0x437ff4
push edx
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.004379c0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x30]
push dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [edi + 0x20], ecx
mov ecx, edi
mov dword [edi + 0x24], eax
call fcn.004379c0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret