Function at 0x42cb60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4a4284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x5c], edx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x84], ebx
mov ecx, dword [ebx + 0x48c]
mov dword [ebp - 0x6c], esi
cmp dword [ebx + 0x488], ecx
je 0x42cbca
lea eax, [ecx + ecx*2]
add eax, eax
mov edx, dword [ebx + eax*8 + 0x4b4]
sub edx, ecx
mov ecx, dword [ebx + eax*8 + 0x4b8]
mov dword [esi], ecx
mov ecx, dword [ebx + eax*8 + 0x4b4]
mov eax, edx
pop esi
mov dword [ebx + 0x48c], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e3fa
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x31734], 0
mov dword [ebx + 0x488], 0
mov dword [ebx + 0x48c], 0
jne 0x42cbf9
lea edx, [ebp - 0x40]
mov ecx, ebx
call fcn.0042c900
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
jmp 0x42cc08
mov eax, dword [ebx + 0x490]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x494]
push edi
mov edi, dword [ebx + 0x498]
mov dword [ebp - 0x48], eax
cmp edi, 2
jb 0x42ddb6
push dword [ebx + 0x18]
mov eax, 0x111
cmp edi, eax
cmova edi, eax
mov eax, dword [ebx + 0xc]
call eax
add esp, 4
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x54], ecx
lea edx, [eax - 1]
mov al, byte [edx]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 0x25], al
jmp 0x42cc53
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + ecx*4 + 0x31738]
sub edx, eax
mov dword [ebp + ecx*4 - 0x14], eax
mov al, byte [ebp - 0x25]
cmp al, byte [edx - 1]
lea esi, [edx - 1]
jne 0x42ccab
mov eax, dword [ebp - 0x2c]
mov al, byte [eax + 1]
cmp al, byte [edx]
jne 0x42ccab
mov edx, 2
cmp edi, edx
jbe 0x42cc96
mov eax, dword [ebp - 0x2c]
sub esi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x42cc93
inc edx
inc ecx
cmp edx, edi
jb 0x42cc86
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x30]
mov eax, ecx
mov dword [ebp + ecx*4 - 0x24], edx
cmp edx, dword [ebp + esi*4 - 0x24]
cmovbe eax, esi
mov dword [ebp - 0x30], eax
jmp 0x42ccb6
mov eax, dword [ebp - 0x30]
mov dword [ebp + ecx*4 - 0x24], 0
inc ecx
mov dword [ebp - 0x54], ecx
cmp ecx, 4
jb 0x42cc50
mov esi, dword [ebp + eax*4 - 0x24]
mov ecx, dword [ebx + 0x31730]
cmp esi, ecx
jb 0x42ccfe
mov edx, dword [ebp - 0x6c]
mov dword [edx], eax
lea eax, [esi - 1]
test eax, eax
je 0x42cceb
mov ecx, dword [ebx + 0x14]
add dword [ebx + 0x31734], eax
push eax
push dword [ebx + 0x18]
call ecx
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e3fa
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x38]
cmp edi, ecx
jb 0x42cd43
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + eax*4 + 0x30e98]
add eax, 4
mov dword [edx], eax
lea eax, [edi - 1]
test eax, eax
je 0x42cd30
add dword [ebx + 0x31734], eax
push eax
push dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
call eax
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e3fa
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x2c]
mov eax, edx
sub eax, dword [ebp - 0x14]
mov cl, byte [edx]
mov al, byte [eax - 1]
mov byte [ebp - 0x25], cl
mov byte [ebp - 0x26], al
cmp edi, 2
jae 0x42cd68
cmp cl, al
je 0x42cd68
cmp esi, 2
jb 0x42ddb3
mov eax, dword [ebx + 0x31748]
mov ecx, 8
mov dword [ebx + 0x4a0], eax
mov eax, dword [ebp - 0x5c]
and eax, dword [ebx + 0x323a4]
sub cl, byte [ebx + 0x32394]
movzx edx, byte [edx - 1]
mov edi, dword [ebx + 0x31748]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x323a0]
and eax, dword [ebp - 0x5c]
shr edx, cl
mov ecx, dword [ebx + 0x32394]
shl eax, cl
add edx, eax
movzx eax, byte [ebp - 0x25]
imul ecx, edx, 0x600
lea edx, [ebx + 0x30c9c]
mov dword [ebp - 0x40], eax
push edx
add ecx, dword [ebx + 0x323a8]
cmp edi, 7
jb 0x42cddb
movzx eax, byte [ebp - 0x26]
mov edx, dword [ebp - 0x40]
push eax
call fcn.0042c420
add esp, 8
jmp 0x42cde5
mov edx, eax
call fcn.0042c3d0
add esp, 4
mov edx, dword [ebp - 0x30]
mov ecx, eax
shl edi, 4
add edi, edx
movzx eax, word [ebx + edi*2 + 0x323ac]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30c9c]
add eax, ecx
mov dword [ebx + 0x4e8], 0xffffffff
mov dword [ebx + 0x4cc], eax
mov dword [ebp - 0x40], eax
mov dword [ebx + 0x4d4], 0
mov edi, dword [ebx + 0x31748]
mov eax, edi
shl eax, 4
add eax, edx
movzx eax, word [ebx + eax*2 + 0x323ac]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [ebx + eax*4 + 0x30c9c]
movzx eax, word [ebx + edi*2 + 0x3252c]
xor eax, 0x7f0
mov dword [ebp - 0x50], ecx
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30c9c]
add eax, ecx
mov cl, byte [ebp - 0x25]
mov dword [ebp - 0x54], eax
or eax, 0xffffffff
cmp byte [ebp - 0x26], cl
jne 0x42ceb6
mov eax, edi
shl eax, 4
add eax, edx
movzx ecx, word [ebx + eax*2 + 0x3258c]
movzx eax, word [ebx + edi*2 + 0x32544]
shr ecx, 4
shr eax, 4
mov ecx, dword [ebx + ecx*4 + 0x30c9c]
add ecx, dword [ebx + eax*4 + 0x30c9c]
or eax, 0xffffffff
add ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x40]
jae 0x42ceb6
mov dword [ebx + 0x4cc], ecx
xor eax, eax
mov dword [ebx + 0x4e8], 0
mov edi, dword [ebp - 0x38]
cmp edi, esi
cmovb edi, esi
mov dword [ebp - 0x44], edi
cmp edi, 2
jae 0x42ced0
mov edx, dword [ebp - 0x6c]
mov dword [edx], eax
jmp 0x42ddbc
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov dword [ebx + 0x4e4], 0
mov dword [ebx + 0x4bc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x4c0], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x4c4], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x4c8], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, 0x49c
add eax, ebx
nop dword [eax]
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x42cf10
xor edi, edi
mov esi, dword [ebp + edi*4 - 0x24]
cmp esi, 2
jb 0x42cf8f
push edx
push dword [ebx + 0x31748]
mov edx, edi
mov ecx, ebx
call fcn.0042c9b0
imul ecx, dword [ebp - 0x30], 0x110
add esp, 8
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], eax
lea eax, [ebx + 0x4b8]
add ecx, 0xdd95
add ecx, esi
lea edx, [ebx + ecx*4]
lea ecx, [esi + esi*2]
shl ecx, 4
add eax, ecx
mov ecx, dword [edx]
add ecx, dword [ebp - 0x40]
cmp ecx, dword [eax - 0x1c]
jae 0x42cf80
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 0x42cf63
mov edx, dword [ebp - 0x30]
inc edi
cmp edi, 4
jb 0x42cf21
mov eax, dword [ebx + 0x31748]
mov edi, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x3252c]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30c9c]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
cmp edi, 2
jb 0x42cfbe
inc edi
jmp 0x42cfc3
mov edi, 2
cmp edi, dword [ebp - 0x38]
ja 0x42d0f2
xor esi, esi
cmp edi, dword [ebx + 0x30e9c]
jbe 0x42cfec
nop word [eax + eax]
add esi, 2
cmp edi, dword [ebx + esi*4 + 0x30e9c]
ja 0x42cfe0
imul eax, edx, 0x110
lea ecx, [ebx + 0x4b8]
add eax, 0xcb83
add eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 0x2c], eax
lea eax, [edi + edi*2]
shl eax, 4
add ecx, eax
lea eax, [edi - 2]
shl eax, 7
mov dword [ebp - 0x3c], eax
lea eax, [edi - 2]
shl eax, 5
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, dword [ebp - 0x40]
mov edx, dword [ebx + esi*4 + 0x30ea0]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x50], eax
cmp edi, 5
jae 0x42d047
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
jmp 0x42d053
mov dword [ebp - 0x54], 0x60
mov eax, 0x180
cmp edx, 0x80
jae 0x42d066
add eax, edx
mov eax, dword [ebx + eax*4 + 0x31b4c]
jmp 0x42d0a6
mov eax, dword [ebp - 0x30]
mov edx, 0x1ffff
sub edx, eax
shr edx, 0x1f
neg edx
and edx, 0xa
add edx, 6
mov ecx, edx
shr eax, cl
movzx ecx, byte [eax + ebx + 0x3049c]
mov eax, dword [ebp - 0x54]
add eax, edx
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + eax*4 + 0x3174c]
and ecx, 0xf
add eax, dword [ebx + ecx*4 + 0x3234c]
mov ecx, dword [ebp - 0x34]
add eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x30]
cmp eax, dword [ecx - 0x1c]
jae 0x42d0c7
mov dword [ecx - 0x1c], eax
lea eax, [edx + 4]
mov dword [ecx - 4], 0
mov dword [ecx], eax
mov dword [ecx - 0x14], 0
cmp edi, dword [ebx + esi*4 + 0x30e9c]
jne 0x42d0d8
add esi, 2
cmp esi, dword [ebp - 0x48]
je 0x42d0f2
mov eax, dword [ebp - 0x2c]
inc edi
add dword [ebp - 0x38], 0x20
add eax, 4
sub dword [ebp - 0x3c], 0xffffff80
add ecx, 0x30
mov dword [ebp - 0x2c], eax
jmp 0x42d022
mov edi, 1
mov dword [ebp - 0x34], edi
cmp dword [ebp - 0x44], edi
je 0x42dd94
lea edx, [ebp - 0x54]
mov ecx, ebx
call fcn.0042c900
mov ecx, eax
mov dword [ebp - 0x40], ecx
cmp ecx, dword [ebx + 0x31730]
jae 0x42dd85
inc dword [ebp - 0x5c]
lea esi, [edi + edi*2]
shl esi, 4
add esi, ebx
mov dword [ebp - 0x30], esi
mov edx, dword [esi + 0x4a4]
mov ecx, dword [esi + 0x4b4]
test edx, edx
je 0x42d196
dec ecx
cmp dword [esi + 0x4a8], 0
je 0x42d181
mov eax, dword [esi + 0x4ac]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [esi + 0x4b0], 4
mov eax, dword [ebx + eax*8 + 0x4a0]
jae 0x42d171
mov edi, dword [eax*4 + 0x486ef0]
mov edi, dword [edi*4 + 0x486e60]
jmp 0x42d1a2
mov edi, dword [eax*4 + 0x486ec0]
mov edi, dword [edi*4 + 0x486e60]
jmp 0x42d1a2
lea eax, [ecx + ecx*2]
add eax, eax
mov edi, dword [ebx + eax*8 + 0x4a0]
mov edi, dword [edi*4 + 0x486e60]
jmp 0x42d1a2
lea eax, [ecx + ecx*2]
add eax, eax
mov edi, dword [ebx + eax*8 + 0x4a0]
mov eax, dword [ebp - 0x34]
dec eax
cmp ecx, eax
jne 0x42d1d1
cmp dword [esi + 0x4b8], 0
jne 0x42d1c2
mov edi, dword [edi*4 + str._t_t_t_t_t_t_t_v_v_v_v_v_a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v]
mov dword [ebp - 0x3c], edi
jmp 0x42d289
mov edi, dword [edi*4 + 0x486e60]
mov dword [ebp - 0x3c], edi
jmp 0x42d289
test edx, edx
je 0x42d1f3
cmp dword [esi + 0x4a8], 0
je 0x42d1f3
mov ecx, dword [esi + 0x4ac]
mov edx, dword [esi + 0x4b0]
mov edi, dword [edi*4 + 0x486ef0]
jmp 0x42d20e
mov edx, dword [esi + 0x4b8]
cmp edx, 4
jae 0x42d207
mov edi, dword [edi*4 + 0x486ef0]
jmp 0x42d20e
mov edi, dword [edi*4 + 0x486ec0]
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x3c], edi
shl eax, 4
lea ecx, [ebx + 0x49c]
add ecx, eax
mov dword [ebp - 0x50], ecx
cmp edx, 4
jae 0x42d271
mov eax, dword [ecx + edx*4 + 0x20]
mov dword [ebp - 0x14], eax
mov eax, 1
cmp edx, eax
jb 0x42d254
lea esi, [ecx + 0x20]
mov ecx, edx
lea eax, [edx + 1]
lea edi, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jb 0x42d251
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x3c]
jmp 0x42d289
mov ecx, dword [ebp - 0x50]
lea esi, [ecx + 0x20]
mov ecx, 4
lea edi, [ebp - 0x14]
sub ecx, eax
lea edi, [edi + eax*4]
lea esi, [esi + eax*4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x3c]
jmp 0x42d289
lea eax, [edx - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x4a0], edi
mov dword [esi + 0x4bc], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x4c0], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x4c4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x4c8], eax
mov edi, dword [esi + 0x49c]
push dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], 0
call eax
mov edx, dword [ebp - 0x5c]
add esp, 4
and edx, dword [ebx + 0x323a4]
mov dword [ebp - 0x64], edx
lea ecx, [eax - 1]
mov al, byte [ecx]
mov byte [ebp - 0x25], al
mov eax, ecx
sub eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x38], eax
mov al, byte [eax]
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x3c]
shl eax, 4
add eax, edx
movzx edx, byte [ecx - 1]
mov dword [ebp - 0x4c], eax
movzx eax, word [ebx + eax*2 + 0x323ac]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30c9c]
add eax, edi
mov dword [ebp - 0x2c], eax
lea eax, [ecx - 1]
mov dword [ebp - 0x88], eax
mov ecx, 8
sub cl, byte [ebx + 0x32394]
mov eax, dword [ebx + 0x323a0]
and eax, dword [ebp - 0x5c]
shr edx, cl
mov ecx, dword [ebx + 0x32394]
shl eax, cl
add edx, eax
imul ecx, edx, 0x600
movzx edx, byte [ebp - 0x25]
add ecx, dword [ebx + 0x323a8]
cmp dword [ebp - 0x3c], 7
mov dword [ebp - 0x50], ecx
jb 0x42d373
lea eax, [ebx + 0x30c9c]
push eax
movzx eax, byte [ebp - 0x26]
push eax
call fcn.0042c420
add esp, 8
mov edi, eax
jmp 0x42d3b2
mov esi, dword [ebp - 0x50]
xor edi, edi
or edx, 0x100
nop
mov eax, edx
shr eax, 8
movzx ecx, word [esi + 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 edi, dword [ebx + ecx*4 + 0x30c9c]
cmp edx, 0x10000
jb 0x42d380
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov edx, dword [esi + 0x4cc]
add eax, edi
mov dword [ebp - 0x2c], eax
cmp eax, edx
jae 0x42d3f0
mov ecx, dword [ebp - 0x34]
mov edi, 1
mov dword [esi + 0x4cc], eax
mov edx, eax
mov dword [esi + 0x4e4], ecx
mov dword [esi + 0x4e8], 0xffffffff
mov dword [esi + 0x4d4], 0
jmp 0x42d3f3
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x4c]
movzx eax, word [ebx + eax*2 + 0x323ac]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [ebx + eax*4 + 0x30c9c]
mov eax, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x58]
mov dword [ebp - 0x80], ecx
movzx eax, word [ebx + eax*2 + 0x3252c]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30c9c]
add eax, ecx
mov cl, byte [ebp - 0x26]
mov ch, byte [ebp - 0x25]
mov dword [ebp - 0x70], eax
cmp cl, ch
jne 0x42d4af
mov eax, dword [ebp - 0x34]
cmp dword [esi + 0x4e4], eax
jae 0x42d450
cmp dword [esi + 0x4e8], 0
je 0x42d4af
mov eax, dword [ebp - 0x4c]
movzx ecx, word [ebx + eax*2 + 0x3258c]
mov eax, dword [ebp - 0x3c]
shr ecx, 4
movzx eax, word [ebx + eax*2 + 0x32544]
mov ecx, dword [ebx + ecx*4 + 0x30c9c]
shr eax, 4
add ecx, dword [ebx + eax*4 + 0x30c9c]
add ecx, dword [ebp - 0x70]
cmp ecx, edx
ja 0x42d4a9
mov eax, dword [ebp - 0x34]
mov edi, 1
mov dword [esi + 0x4cc], ecx
mov dword [esi + 0x4e4], eax
mov dword [esi + 0x4e8], 0
mov dword [esi + 0x4d4], 0
mov ch, byte [ebp - 0x25]
mov cl, byte [ebp - 0x26]
mov eax, dword [ebx + 0x498]
mov esi, 0xfff
sub esi, dword [ebp - 0x34]
cmp esi, eax
cmovae esi, eax
mov dword [ebp - 0x7c], esi
cmp esi, 2
jb 0x42dd56
mov eax, dword [ebx + 0x31730]
mov edx, esi
cmp esi, eax
cmova edx, eax
mov dword [ebp - 0x50], edx
test edi, edi
jne 0x42d629
cmp cl, ch
je 0x42d629
inc eax
lea edx, [edi + 1]
cmp eax, esi
mov ecx, esi
cmovbe ecx, eax
cmp ecx, edx
jbe 0x42d516
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x48]
mov al, byte [edx + ebx]
cmp al, byte [esi + edx]
jne 0x42d510
inc edx
cmp edx, ecx
jb 0x42d503
mov ebx, dword [ebp - 0x84]
lea eax, [edx - 1]
mov dword [ebp - 0x4c], eax
cmp eax, 2
jb 0x42d629
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x5c]
add edx, dword [ebp - 0x34]
inc edi
and edi, dword [ebx + 0x323a4]
mov esi, dword [eax*4 + 0x486e60]
mov eax, esi
shl eax, 4
add eax, edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], eax
movzx ecx, word [ebx + eax*2 + 0x323ac]
movzx eax, word [ebx + esi*2 + 0x3252c]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov esi, dword [ebx + ecx*4 + 0x30c9c]
add esi, dword [ebx + eax*4 + 0x30c9c]
add esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
cmp eax, edx
jae 0x42d5af
lea eax, [eax + eax*2]
mov ecx, edx
shl eax, 4
add eax, 0x49c
add eax, ebx
sub ecx, dword [ebp - 0x44]
mov dword [ebp - 0x44], edx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x42d5a0
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x3c]
movzx ecx, word [ebx + eax*2 + 0x3258c]
mov eax, dword [edi*4 + 0x486e60]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [ebx + eax*2 + 0x32544]
mov ecx, dword [ebx + ecx*4 + 0x30c9c]
shr eax, 4
add ecx, dword [ebx + eax*4 + 0x30c9c]
imul eax, dword [ebp - 0x58], 0x110
add eax, dword [ebp - 0x4c]
add ecx, dword [ebx + eax*4 + 0x37654]
lea eax, [edx + edx*2]
shl eax, 4
lea edx, [ebx + 0x49c]
add edx, eax
add ecx, esi
cmp ecx, dword [edx]
jae 0x42d629
mov eax, dword [ebp - 0x34]
inc eax
mov dword [edx], ecx
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], 0
mov dword [edx + 8], 1
mov dword [edx + 0xc], 0
mov edi, 2
xor edx, edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
sub ecx, dword [ebp + edx*4 - 0x14]
mov al, byte [eax]
lea esi, [ecx - 1]
mov dword [ebp - 0x4c], esi
cmp al, byte [esi]
jne 0x42d940
mov eax, dword [ebp - 0x48]
mov al, byte [eax + 1]
cmp al, byte [ecx]
jne 0x42d940
mov edi, dword [ebp - 0x50]
mov esi, 2
cmp edi, esi
jbe 0x42d684
mov edx, dword [ebp - 0x48]
lea eax, [ecx - 1]
lea ecx, [eax + 2]
sub edx, eax
mov al, byte [ecx + edx]
cmp al, byte [ecx]
jne 0x42d681
inc esi
inc ecx
cmp esi, edi
jb 0x42d674
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x44]
add edi, esi
cmp eax, edi
jae 0x42d6bf
lea eax, [eax + eax*2]
mov ecx, edi
shl eax, 4
add eax, 0x49c
add eax, ebx
sub ecx, dword [ebp - 0x44]
mov dword [ebp - 0x44], edi
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x42d6b0
push dword [ebp - 0x64]
mov ecx, ebx
mov dword [ebp - 0x2c], esi
push dword [ebp - 0x3c]
call fcn.0042c9b0
add eax, dword [ebp - 0x70]
add esp, 8
mov dword [ebp - 0x58], eax
imul eax, dword [ebp - 0x64], 0x110
mov dword [ebp - 0x74], eax
lea ecx, [eax + 0xdd95]
add ecx, esi
lea edx, [ebx + ecx*4]
add ebx, 0x4b8
lea ecx, [edi + edi*2]
mov edi, dword [ebp - 0x38]
shl ecx, 4
add ecx, ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [edx]
add eax, dword [ebp - 0x58]
cmp eax, dword [ecx - 0x1c]
jae 0x42d71a
mov dword [ecx - 0x1c], eax
mov dword [ecx - 4], ebx
mov dword [ecx], edi
mov dword [ecx - 0x14], 0
dec esi
sub edx, 4
sub ecx, 0x30
cmp esi, 2
jae 0x42d701
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
inc ecx
mov ebx, dword [ebp - 0x84]
test edx, edx
mov esi, dword [ebp - 0x7c]
mov eax, ecx
cmovne eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x31730]
add eax, ecx
cmp eax, esi
cmovbe esi, eax
cmp ecx, esi
jae 0x42d770
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
sub edi, eax
lea edx, [ecx + eax]
nop dword [eax]
mov al, byte [edx + edi]
cmp al, byte [edx]
jne 0x42d76d
inc ecx
inc edx
cmp ecx, esi
jb 0x42d760
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x2c]
mov eax, 0xffffffff
mov edi, dword [ebp - 0x60]
sub eax, esi
mov dword [ebp - 0x78], ecx
add ecx, eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x30], edi
cmp ecx, 2
jb 0x42d940
mov edi, dword [ebp - 0x5c]
lea eax, [ebx + 0x30c9c]
push eax
mov eax, dword [ebp - 0x4c]
add edi, esi
mov ecx, 8
sub cl, byte [ebx + 0x32394]
movzx eax, byte [esi + eax]
push eax
mov eax, dword [ebp - 0x48]
movzx edx, byte [esi + eax]
movzx esi, byte [eax + esi - 1]
mov eax, edi
and eax, dword [ebx + 0x323a0]
shr esi, cl
mov ecx, dword [ebx + 0x32394]
shl eax, cl
add esi, eax
imul ecx, esi, 0x600
add ecx, dword [ebx + 0x323a8]
call fcn.0042c420
mov ecx, dword [ebp - 0x3c]
mov edx, eax
mov esi, dword [ebx + 0x323a4]
add esp, 8
and edi, esi
mov eax, dword [ecx*4 + 0x486ef0]
mov ecx, eax
shl ecx, 4
add edi, ecx
movzx ecx, word [ebx + edi*2 + 0x323ac]
mov edi, dword [eax*4 + 0x486e60]
mov eax, dword [ebp - 0x2c]
shr ecx, 4
inc eax
add edx, dword [ebx + ecx*4 + 0x30c9c]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x74]
add edx, dword [ebx + ecx*4 + 0x37654]
mov ecx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x58]
add ecx, eax
and ecx, esi
mov dword [ebp - 0x58], edi
mov esi, dword [ebp - 0x78]
mov eax, edi
add esi, dword [ebp - 0x34]
shl eax, 4
add eax, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x74], eax
movzx ecx, word [ebx + eax*2 + 0x323ac]
movzx eax, word [ebx + edi*2 + 0x3252c]
xor ecx, 0x7f0
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov edi, dword [ebx + ecx*4 + 0x30c9c]
add edi, dword [ebx + eax*4 + 0x30c9c]
add edi, edx
mov edx, dword [ebp - 0x44]
cmp edx, esi
jae 0x42d8af
lea eax, [edx + edx*2]
mov dword [ebp - 0x44], esi
shl eax, 4
mov ecx, esi
add eax, 0x49c
add eax, ebx
sub ecx, edx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x42d8a0
mov eax, dword [ebp - 0x74]
movzx ecx, word [ebx + eax*2 + 0x3258c]
mov eax, dword [ebp - 0x58]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [ebx + eax*2 + 0x32544]
mov edx, dword [ebx + ecx*4 + 0x30c9c]
lea ecx, [ebx + 0x49c]
shr eax, 4
add edx, dword [ebx + eax*4 + 0x30c9c]
imul eax, dword [ebp - 0x4c], 0x110
add eax, dword [ebp - 0x68]
add edx, dword [ebx + eax*4 + 0x37654]
lea eax, [esi + esi*2]
mov esi, dword [ebp - 0x60]
add edx, edi
shl eax, 4
mov edi, esi
add ecx, eax
mov dword [ebp - 0x30], edi
cmp edx, dword [ecx]
jae 0x42d93d
mov eax, dword [ebp - 0x2c]
mov dword [ecx], edx
inc eax
mov edx, dword [ebp - 0x34]
add eax, edx
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x14], edx
mov dword [ebp - 0x30], edi
jmp 0x42d940
mov edx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x38], edx
cmp edx, 4
jb 0x42d636
mov edx, dword [ebp - 0x50]
cmp dword [ebp - 0x40], edx
jbe 0x42d97e
xor eax, eax
xor ecx, ecx
cmp edx, dword [ebx + 0x30e9c]
jbe 0x42d96f
add eax, 2
mov ecx, eax
cmp edx, dword [ebx + eax*4 + 0x30e9c]
ja 0x42d961
mov dword [ebx + eax*4 + 0x30e9c], edx
lea eax, [ecx + 2]
mov dword [ebp - 0x54], eax
jmp 0x42d981
mov edx, dword [ebp - 0x40]
cmp edx, edi
jb 0x42dd56
mov eax, dword [ebp - 0x3c]
add edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x44]
movzx eax, word [ebx + eax*2 + 0x3252c]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30c9c]
add dword [ebp - 0x80], eax
cmp esi, edx
jae 0x42d9cf
lea eax, [esi + esi*2]
mov dword [ebp - 0x44], edx
shl eax, 4
mov ecx, edx
add eax, 0x49c
add eax, ebx
sub ecx, esi
nop
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x42d9c0
xor esi, esi
mov dword [ebp - 0x30], esi
cmp edi, dword [ebx + 0x30e9c]
jbe 0x42d9ef
nop dword [eax]
add esi, 2
cmp edi, dword [ebx + esi*4 + 0x30e9c]
ja 0x42d9e0
mov dword [ebp - 0x30], esi
lea eax, [esi*4]
mov ecx, 0x1ffff
mov edx, dword [eax + ebx + 0x30ea0]
lea esi, [edi + 1]
sub ecx, edx
mov dword [ebp - 0x40], eax
shr ecx, 0x1f
mov eax, edx
neg ecx
mov dword [ebp - 0x38], edx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + ebx + 0x3049c]
lea eax, [eax + ecx*2]
mov ecx, edi
mov dword [ebp - 0x50], eax
mov eax, edi
shl eax, 7
add eax, 0xc5d3
shl ecx, 6
mov dword [ebp - 0x4c], eax
add ecx, 0xc553
imul eax, dword [ebp - 0x64], 0x110
add eax, 0xcb83
add eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
add eax, edi
lea edi, [eax + eax*2]
mov eax, dword [ebp - 0x64]
shl edi, 4
add edi, 0x4b8
add edi, ebx
mov eax, dword [eax]
add eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
lea eax, [esi - 1]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x8c], eax
cmp eax, 5
jae 0x42da93
mov eax, dword [ebp - 0x4c]
jmp 0x42da9d
mov eax, 0xc853
mov ecx, 0xc693
cmp edx, 0x80
jae 0x42daac
add eax, edx
mov eax, dword [ebx + eax*4]
jmp 0x42dac0
mov eax, dword [ebp - 0x50]
add eax, ecx
mov ecx, edx
and ecx, 0xf
mov eax, dword [ebx + eax*4]
add eax, dword [ebx + ecx*4 + 0x3234c]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
cmp eax, dword [edi - 0x1c]
jae 0x42dae0
mov dword [edi - 0x1c], eax
mov eax, dword [ebp - 0x34]
mov dword [edi - 4], eax
lea eax, [edx + 4]
mov dword [edi], eax
mov dword [edi - 0x14], 0
mov eax, dword [ebp - 0x40]
lea ecx, [esi - 1]
cmp ecx, dword [eax + ebx + 0x30e9c]
jne 0x42dd3a
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
sub edi, edx
mov eax, dword [ebx + 0x31730]
dec edi
mov esi, dword [ebp - 0x7c]
add eax, ecx
cmp eax, esi
mov dword [ebp - 0x40], edi
mov edx, ecx
cmovbe esi, eax
cmp ecx, esi
jae 0x42db30
add ecx, edi
mov edi, dword [ebp - 0x48]
sub edi, dword [ebp - 0x40]
nop dword [eax]
mov al, byte [ecx + edi]
cmp al, byte [ecx]
jne 0x42db2d
inc edx
inc ecx
cmp edx, esi
jb 0x42db20
mov ecx, dword [ebp - 0x2c]
mov eax, 0xffffffff
mov dword [ebp - 0x74], edx
lea esi, [ecx - 1]
sub eax, esi
add edx, eax
mov dword [ebp - 0x58], edx
cmp edx, 2
jb 0x42dce6
mov edi, dword [ebp - 0x5c]
dec edi
add edi, ecx
mov eax, edi
and eax, dword [ebx + 0x323a4]
mov dword [ebp - 0x68], eax
lea eax, [ebx + 0x30c9c]
push eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [ecx + eax - 1]
push eax
mov eax, dword [ebp - 0x88]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp - 0x48]
movzx esi, byte [ecx + eax - 2]
mov ecx, 8
sub cl, byte [ebx + 0x32394]
mov eax, dword [ebx + 0x323a0]
shr esi, cl
and eax, edi
mov ecx, dword [ebx + 0x32394]
shl eax, cl
add esi, eax
imul ecx, esi, 0x600
add ecx, dword [ebx + 0x323a8]
call fcn.0042c420
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax*4 + 0x486ec0]
mov ecx, esi
mov eax, dword [ebp - 0x68]
shl ecx, 4
add ecx, eax
mov esi, dword [esi*4 + 0x486e60]
movzx ecx, word [ebx + ecx*2 + 0x323ac]
shr ecx, 4
add edx, dword [ebx + ecx*4 + 0x30c9c]
lea ecx, [eax + 1]
and ecx, dword [ebx + 0x323a4]
mov eax, esi
add edx, dword [ebp - 0x78]
shl eax, 4
add eax, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x78], esi
movzx ecx, word [ebx + eax*2 + 0x323ac]
movzx eax, word [ebx + esi*2 + 0x3252c]
xor ecx, 0x7f0
mov esi, dword [ebp - 0x74]
xor eax, 0x7f0
add esi, dword [ebp - 0x34]
shr ecx, 4
shr eax, 4
mov edi, dword [ebx + ecx*4 + 0x30c9c]
add edi, dword [ebx + eax*4 + 0x30c9c]
add edi, edx
mov edx, dword [ebp - 0x44]
cmp edx, esi
jae 0x42dc5f
lea eax, [edx + edx*2]
mov dword [ebp - 0x44], esi
shl eax, 4
mov ecx, esi
add eax, 0x49c
add eax, ebx
sub ecx, edx
nop
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x42dc50
mov eax, dword [ebp - 0x68]
movzx ecx, word [ebx + eax*2 + 0x3258c]
mov eax, dword [ebp - 0x78]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [ebx + eax*2 + 0x32544]
mov edx, dword [ebx + ecx*4 + 0x30c9c]
lea ecx, [esi + esi*2]
shr eax, 4
shl ecx, 4
add ecx, 0x49c
add ecx, ebx
add edx, dword [ebx + eax*4 + 0x30c9c]
imul eax, dword [ebp - 0x40], 0x110
add eax, dword [ebp - 0x58]
add edx, dword [ebx + eax*4 + 0x37654]
add edx, edi
cmp edx, dword [ecx]
jae 0x42dce6
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ecx], edx
mov edx, dword [ebp - 0x34]
add eax, edx
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov esi, dword [ebp - 0x30]
add esi, 2
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x54]
je 0x42dd56
mov edi, dword [ebp - 0x70]
lea eax, [esi*4]
mov edx, dword [eax + ebx + 0x30ea0]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], edx
cmp edx, 0x80
jb 0x42dd3a
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 + ebx + 0x3049c]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x64]
add edi, 0x30
mov ecx, dword [ebp - 0x60]
add eax, 4
sub dword [ebp - 0x4c], 0xffffff80
add ecx, 0x40
mov dword [ebp - 0x64], eax
inc esi
jmp 0x42da6c
mov edi, dword [ebp - 0x34]
inc edi
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x44]
jne 0x42d103
mov edx, dword [ebp - 0x6c]
mov ecx, ebx
push edi
call fcn.0042ca70
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e3fa
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0x494], eax
mov dword [ebx + 0x490], ecx
mov edx, dword [ebp - 0x6c]
mov ecx, ebx
push edi
call fcn.0042ca70
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e3fa
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x6c]
mov dword [esi], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e3fa
mov esp, ebp
pop ebp
ret