Function at 0x42ce10
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x40], edx
push edi
mov dword [esp + 0x28], esi
mov edi, dword [esi + 0x490]
cmp dword [esi + 0x48c], edi
je 0x42ce63
lea eax, [edi + edi*2]
mov ebx, ecx
mov ecx, dword [esp + 0x98]
add eax, eax
mov esi, dword [esi + eax*8 + 0x4b8]
mov edx, dword [ebx + eax*8 + 0x4bc]
mov dword [ebx + 0x490], esi
sub esi, edi
pop edi
mov eax, esi
mov dword [ecx], edx
pop esi
pop ebx
add esp, 0x88
ret
cmp dword [esi + 0x31738], 0
mov dword [esi + 0x48c], 0
mov dword [esi + 0x490], 0
jne 0x42ce93
lea edx, [esp + 0x1c]
call fcn.0042cbb0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
jmp 0x42cea3
mov eax, dword [esi + 0x494]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x498]
mov ebx, dword [esi + 0x49c]
mov dword [esp + 0x30], eax
push ebp
cmp ebx, 2
jb 0x42e122
push dword [esi + 0x18]
mov eax, 0x111
cmp ebx, eax
cmova ebx, eax
mov eax, dword [esi + 0xc]
call eax
add esp, 4
mov dword [esp + 0x18], 0
xor ebp, ebp
lea edx, [eax - 1]
mov al, byte [edx]
mov dword [esp + 0x40], edx
mov byte [esp + 0x12], al
mov eax, dword [esi + ebp*4 + 0x3173c]
mov ecx, edx
sub ecx, eax
mov dword [esp + ebp*4 + 0x64], eax
mov al, byte [esp + 0x12]
cmp al, byte [ecx - 1]
lea edi, [ecx - 1]
jne 0x42cf47
mov al, byte [edx + 1]
cmp al, byte [ecx]
jne 0x42cf47
mov edx, 2
cmp ebx, edx
jbe 0x42cf24
mov eax, dword [esp + 0x40]
sub edi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x42cf24
inc edx
inc ecx
cmp edx, ebx
jb 0x42cf17
mov ecx, dword [esp + 0x18]
mov eax, ebp
mov dword [esp + ebp*4 + 0x88], edx
cmp edx, dword [esp + ecx*4 + 0x88]
mov edx, dword [esp + 0x40]
cmovbe eax, ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x42cf56
mov ecx, dword [esp + 0x18]
mov dword [esp + ebp*4 + 0x88], 0
inc ebp
cmp ebp, 4
jb 0x42cee3
mov edi, dword [esp + ecx*4 + 0x88]
mov eax, dword [esi + 0x31734]
cmp edi, eax
jb 0x42cf9c
mov eax, dword [esp + 0x9c]
mov dword [eax], ecx
lea eax, [edi - 1]
test eax, eax
je 0x42cf8f
mov ecx, dword [esi + 0x14]
add dword [esi + 0x31738], eax
push eax
push dword [esi + 0x18]
call ecx
add esp, 8
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x88
ret
mov ebx, dword [esp + 0x28]
cmp ebx, eax
jb 0x42cfe1
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esi + ecx*4 + 0x30e9c]
add ecx, 4
mov dword [eax], ecx
lea eax, [ebx - 1]
test eax, eax
je 0x42cfd4
add dword [esi + 0x31738], eax
push eax
push dword [esi + 0x18]
mov eax, dword [esi + 0x14]
call eax
add esp, 8
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x88
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 0x42d006
cmp cl, al
je 0x42d006
cmp edi, 2
jb 0x42e122
mov eax, dword [esi + 0x3174c]
mov ecx, 8
mov dword [esi + 0x4a4], eax
sub cl, byte [esi + 0x32398]
movzx edx, byte [edx - 1]
mov ebp, dword [esi + 0x323a8]
mov eax, dword [esp + 0x48]
and ebp, eax
and eax, dword [esi + 0x323a4]
mov ebx, dword [esi + 0x3174c]
shr edx, cl
mov ecx, dword [esi + 0x32398]
shl eax, cl
add edx, eax
mov dword [esp + 0x3c], ebp
imul ecx, edx, 0x600
lea eax, [esi + 0x30ca0]
movzx edx, byte [esp + 0x12]
mov dword [esp + 0x7c], eax
lea eax, [esi + 0x30ca0]
push eax
add ecx, dword [esi + 0x323ac]
cmp ebx, 7
jb 0x42d080
movzx eax, byte [esp + 0x17]
push eax
call fcn.0042c6f0
add esp, 8
jmp 0x42d088
call fcn.0042c6a0
add esp, 4
mov ecx, eax
shl ebx, 4
add ebx, ebp
or edx, 0xffffffff
movzx eax, word [esi + ebx*2 + 0x323b0]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ca0]
add eax, ecx
mov dword [esi + 0x4ec], 0xffffffff
mov dword [esi + 0x4d0], eax
mov dword [esp + 0x20], eax
mov dword [esi + 0x4d8], 0
mov ebx, dword [esi + 0x3174c]
mov eax, ebx
shl eax, 4
add eax, ebp
movzx eax, word [esi + eax*2 + 0x323b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [esi + eax*4 + 0x30ca0]
movzx eax, word [esi + ebx*2 + 0x32530]
xor eax, 0x7f0
mov dword [esp + 0x1c], ecx
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ca0]
add eax, ecx
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x12]
cmp byte [esp + 0x13], al
jne 0x42d15d
mov eax, ebx
or edx, 0xffffffff
shl eax, 4
add eax, ebp
movzx ecx, word [esi + eax*2 + 0x32590]
movzx eax, word [esi + ebx*2 + 0x32548]
shr ecx, 4
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x30ca0]
add ecx, dword [esi + eax*4 + 0x30ca0]
add ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x20]
jae 0x42d15d
mov dword [esi + 0x4d0], ecx
xor edx, edx
mov dword [esi + 0x4ec], 0
mov ecx, dword [esp + 0x28]
cmp ecx, edi
cmovb ecx, edi
mov dword [esp + 0x30], ecx
cmp ecx, 2
jae 0x42d188
mov eax, dword [esp + 0x9c]
pop ebp
pop edi
pop esi
mov dword [eax], edx
mov eax, 1
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x64]
mov dword [esi + 0x4e8], 0
mov dword [esi + 0x4c0], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0x4c4], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x4c8], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0x4cc], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, 0x4a0
add eax, esi
nop word [eax + eax]
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x42d1d0
xor ebx, ebx
mov edi, dword [esp + ebx*4 + 0x88]
cmp edi, 2
jb 0x42d253
push ebp
push dword [esi + 0x3174c]
mov edx, ebx
mov ecx, esi
call fcn.0042cc60
imul ecx, dword [esp + 0x44], 0x110
mov ebp, eax
add ebp, dword [esp + 0x48]
lea eax, [esi + 0x4bc]
add esp, 8
add ecx, 0xdd96
add ecx, edi
lea edx, [esi + ecx*4]
lea ecx, [edi + edi*2]
shl ecx, 4
add eax, ecx
mov ecx, dword [edx]
add ecx, ebp
cmp ecx, dword [eax - 0x1c]
jae 0x42d243
mov dword [eax - 0x1c], ecx
mov dword [eax - 4], 0
mov dword [eax], ebx
mov dword [eax - 0x14], 0
dec edi
sub edx, 4
sub eax, 0x30
cmp edi, 2
jae 0x42d227
mov ebp, dword [esp + 0x3c]
inc ebx
cmp ebx, 4
jb 0x42d1e1
mov eax, dword [esi + 0x3174c]
mov ebx, dword [esp + 0x88]
movzx eax, word [esi + eax*2 + 0x32530]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ca0]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
cmp ebx, 2
jb 0x42d288
inc ebx
jmp 0x42d28d
mov ebx, 2
cmp ebx, dword [esp + 0x28]
ja 0x42d3c5
lea ecx, [esi + 0x30ea0]
xor edi, edi
cmp ebx, dword [ecx]
jbe 0x42d2ab
add edi, 2
cmp ebx, dword [ecx + edi*4]
ja 0x42d2a3
lea eax, [ebx - 2]
mov edx, ebx
shl eax, 7
mov dword [esp + 0x28], eax
imul eax, ebp, 0x110
lea ebp, [esi + 0x4bc]
shl edx, 5
add edx, 0x62aa
add eax, 0xcb84
add eax, ebx
lea eax, [esi + eax*4]
mov dword [esp + 0x18], eax
lea eax, [ebx + ebx*2]
shl eax, 4
add ebp, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, dword [esp + 0x20]
mov ecx, dword [ecx + edi*4 + 4]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], eax
cmp ebx, 5
jae 0x42d30f
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], edx
jmp 0x42d31c
mov eax, 0x180
mov dword [esp + 0x40], 0x634a
cmp ecx, 0x80
jae 0x42d32f
add eax, ecx
mov eax, dword [esi + eax*4 + 0x31b50]
jmp 0x42d371
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 + esi + 0x304a0]
mov eax, dword [esp + 0x40]
add eax, edx
mov edx, dword [esp + 0x38]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + eax*4]
and ecx, 0xf
add eax, dword [esi + ecx*4 + 0x32350]
mov ecx, dword [esp + 0x3c]
add eax, dword [esp + 0x1c]
cmp eax, dword [ebp - 0x1c]
jae 0x42d391
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 4]
mov dword [ebp - 4], 0
mov dword [ebp], eax
mov dword [ebp - 0x14], 0
cmp ebx, dword [esi + edi*4 + 0x30ea0]
lea ecx, [esi + 0x30ea0]
jne 0x42d3a9
add edi, 2
cmp edi, dword [esp + 0x34]
je 0x42d3c5
mov eax, dword [esp + 0x18]
inc ebx
sub dword [esp + 0x28], 0xffffff80
add eax, 4
add edx, 0x20
mov dword [esp + 0x18], eax
add ebp, 0x30
jmp 0x42d2e6
mov edx, 1
mov dword [esp + 0x14], edx
cmp dword [esp + 0x30], edx
je 0x42e0d5
nop dword [eax + eax]
lea edx, [esp + 0x40]
mov ecx, esi
call fcn.0042cbb0
mov ecx, eax
mov dword [esp + 0x54], ecx
cmp ecx, dword [esi + 0x31734]
jae 0x42e0f2
mov ebp, dword [esp + 0x14]
inc dword [esp + 0x48]
lea ebx, [ebp*2]
add ebx, ebp
shl ebx, 4
add ebx, esi
mov edx, dword [ebx + 0x4a8]
mov ecx, dword [ebx + 0x4b8]
test edx, edx
je 0x42d47d
dec ecx
cmp dword [ebx + 0x4ac], 0
je 0x42d468
mov eax, dword [ebx + 0x4b0]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [ebx + 0x4b4], 4
mov eax, dword [esi + eax*8 + 0x4a4]
jae 0x42d458
mov edi, dword [eax*4 + 0x492d50]
mov edi, dword [edi*4 + 0x492cc0]
jmp 0x42d489
mov edi, dword [eax*4 + 0x492d20]
mov edi, dword [edi*4 + 0x492cc0]
jmp 0x42d489
lea eax, [ecx + ecx*2]
add eax, eax
mov edi, dword [esi + eax*8 + 0x4a4]
mov edi, dword [edi*4 + 0x492cc0]
jmp 0x42d489
lea eax, [ecx + ecx*2]
add eax, eax
mov edi, dword [esi + eax*8 + 0x4a4]
lea eax, [ebp - 1]
cmp ecx, eax
jne 0x42d4b9
cmp dword [ebx + 0x4bc], 0
jne 0x42d4a9
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 [esp + 0x24], edi
jmp 0x42d57a
mov edi, dword [edi*4 + 0x492cc0]
mov dword [esp + 0x24], edi
jmp 0x42d57a
test edx, edx
je 0x42d4db
cmp dword [ebx + 0x4ac], 0
je 0x42d4db
mov ecx, dword [ebx + 0x4b0]
mov edx, dword [ebx + 0x4b4]
mov edi, dword [edi*4 + 0x492d50]
jmp 0x42d4f6
mov edx, dword [ebx + 0x4bc]
cmp edx, 4
jae 0x42d4ef
mov edi, dword [edi*4 + 0x492d50]
jmp 0x42d4f6
mov edi, dword [edi*4 + 0x492d20]
lea eax, [ecx + ecx*2]
mov dword [esp + 0x24], edi
shl eax, 4
lea ebp, [esi + 0x4a0]
add ebp, eax
cmp edx, 4
jae 0x42d55e
mov eax, dword [ebp + edx*4 + 0x20]
mov dword [esp + 0x64], eax
mov eax, 1
cmp edx, eax
jb 0x42d53b
lea eax, [edx + 1]
mov ecx, edx
lea esi, [ebp + 0x20]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jb 0x42d53b
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
jmp 0x42d57a
lea esi, [eax*4 + 0x20]
mov ecx, 4
add esi, ebp
lea edi, [esp + 0x64]
lea edi, [edi + eax*4]
sub ecx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
jmp 0x42d57a
lea eax, [edx - 4]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x4a4], edi
mov dword [ebx + 0x4c0], eax
mov eax, dword [esp + 0x68]
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 ebp, dword [ebx + 0x4a0]
push dword [esi + 0x18]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x20], 0
call eax
mov edx, dword [esi + 0x323a8]
add esp, 4
and edx, dword [esp + 0x48]
mov dword [esp + 0x3c], edx
lea ecx, [eax - 1]
mov al, byte [ecx]
mov byte [esp + 0x12], al
mov eax, ecx
sub eax, dword [esp + 0x64]
dec eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], eax
mov al, byte [eax]
mov byte [esp + 0x13], al
mov eax, edi
shl eax, 4
add eax, edx
movzx edx, byte [ecx - 1]
mov dword [esp + 0x38], eax
movzx eax, word [esi + eax*2 + 0x323b0]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ca0]
add eax, ebp
mov dword [esp + 0x20], eax
lea eax, [ecx - 1]
mov dword [esp + 0x80], eax
mov ecx, 8
sub cl, byte [esi + 0x32398]
mov eax, dword [esp + 0x48]
and eax, dword [esi + 0x323a4]
shr edx, cl
mov ecx, dword [esi + 0x32398]
shl eax, cl
add edx, eax
imul ebp, edx, 0x600
movzx edx, byte [esp + 0x12]
add ebp, dword [esi + 0x323ac]
cmp edi, 7
jb 0x42d674
lea eax, [esi + 0x30ca0]
mov ecx, ebp
push eax
movzx eax, byte [esp + 0x17]
push eax
call fcn.0042c6f0
add esp, 8
mov edi, eax
jmp 0x42d6b0
xor edi, edi
or edx, 0x100
nop dword [eax]
mov eax, edx
shr eax, 8
movzx ecx, word [ebp + 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 [esi + ecx*4 + 0x30ca0]
cmp edx, 0x10000
jb 0x42d680
mov ebp, dword [esp + 0x20]
mov edx, dword [ebx + 0x4d0]
add ebp, edi
cmp ebp, edx
jae 0x42d6ed
mov ecx, dword [esp + 0x14]
mov edi, 1
mov dword [ebx + 0x4d0], ebp
mov edx, ebp
mov dword [ebx + 0x4e8], ecx
mov dword [ebx + 0x4ec], 0xffffffff
mov dword [ebx + 0x4d8], 0
jmp 0x42d6f1
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
movzx eax, word [esi + eax*2 + 0x323b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [esi + eax*4 + 0x30ca0]
mov eax, dword [esp + 0x24]
add ecx, dword [esp + 0x50]
mov dword [esp + 0x78], ecx
movzx eax, word [esi + eax*2 + 0x32530]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ca0]
add eax, ecx
mov cl, byte [esp + 0x13]
mov ch, byte [esp + 0x12]
mov dword [esp + 0x58], eax
cmp cl, ch
jne 0x42d7bd
mov eax, dword [esp + 0x14]
cmp dword [ebx + 0x4e8], eax
jae 0x42d756
cmp dword [ebx + 0x4ec], 0
je 0x42d7bd
mov eax, dword [esp + 0x24]
movzx ecx, word [esi + eax*2 + 0x32548]
mov eax, dword [esp + 0x38]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x32590]
mov ecx, dword [esi + ecx*4 + 0x30ca0]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x30ca0]
add ecx, dword [esp + 0x58]
cmp ecx, edx
mov edx, dword [esp + 0x14]
ja 0x42d7b3
mov dword [ebx + 0x4d0], ecx
mov edi, 1
mov dword [ebx + 0x4e8], edx
mov dword [ebx + 0x4ec], 0
mov dword [ebx + 0x4d8], 0
mov cl, byte [esp + 0x13]
mov ch, byte [esp + 0x12]
jmp 0x42d7c1
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x49c]
mov ebx, 0xfff
sub ebx, edx
cmp ebx, eax
cmovae ebx, eax
mov dword [esp + 0x28], ebx
cmp ebx, 2
jb 0x42e0c6
mov eax, dword [esi + 0x31734]
cmp ebx, eax
cmova ebx, eax
mov dword [esp + 0x38], ebx
test edi, edi
jne 0x42d942
cmp cl, ch
je 0x42d942
mov ecx, dword [esp + 0x28]
lea edx, [edi + 1]
inc eax
cmp eax, ecx
cmovbe ecx, eax
cmp ecx, edx
jbe 0x42d825
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov al, byte [edx + ebx]
cmp al, byte [edi + edx]
jne 0x42d825
inc edx
cmp edx, ecx
jb 0x42d818
lea eax, [edx - 1]
mov dword [esp + 0x1c], eax
cmp eax, 2
jb 0x42d93e
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x48]
add edx, dword [esp + 0x14]
inc ebx
and ebx, dword [esi + 0x323a8]
mov edi, dword [eax*4 + 0x492cc0]
mov eax, edi
shl eax, 4
add eax, ebx
mov dword [esp + 0x20], eax
movzx ecx, word [esi + eax*2 + 0x323b0]
movzx eax, word [esi + edi*2 + 0x32530]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov edi, dword [esi + ecx*4 + 0x30ca0]
add edi, dword [esi + eax*4 + 0x30ca0]
mov eax, dword [esp + 0x30]
add edi, ebp
cmp eax, edx
jae 0x42d8bf
lea eax, [eax + eax*2]
mov ecx, edx
shl eax, 4
add eax, 0x4a0
add eax, esi
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x30], edx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x42d8b0
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
movzx ecx, word [esi + eax*2 + 0x32590]
mov eax, dword [ebp*4 + 0x492cc0]
xor ecx, 0x7f0
shr ecx, 4
mov ebp, dword [esp + 0x14]
movzx eax, word [esi + eax*2 + 0x32548]
mov ecx, dword [esi + ecx*4 + 0x30ca0]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x30ca0]
imul eax, ebx, 0x110
add eax, dword [esp + 0x1c]
add ecx, dword [esi + eax*4 + 0x37658]
lea eax, [edx + edx*2]
shl eax, 4
lea edx, [esi + 0x4a0]
add edx, eax
add ecx, edi
cmp ecx, dword [edx]
jae 0x42d93e
lea eax, [ebp + 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
mov edx, dword [esp + 0x14]
mov edi, 2
xor ebp, ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x4c]
mov ecx, eax
sub ecx, dword [esp + ebp*4 + 0x64]
mov al, byte [eax]
lea ebx, [ecx - 1]
mov dword [esp + 0x50], ebx
cmp al, byte [ebx]
jne 0x42dc87
mov eax, dword [esp + 0x4c]
mov al, byte [eax + 1]
cmp al, byte [ecx]
jne 0x42dc87
mov edi, 2
cmp dword [esp + 0x38], edi
jbe 0x42d9a4
mov edx, dword [esp + 0x4c]
lea ecx, [ebx + 2]
mov esi, dword [esp + 0x38]
sub edx, ebx
mov al, byte [ecx + edx]
cmp al, byte [ecx]
jne 0x42d9a0
inc edi
inc ecx
cmp edi, esi
jb 0x42d993
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
add ebx, edi
cmp edx, ebx
jae 0x42d9df
lea eax, [edx + edx*2]
mov dword [esp + 0x30], ebx
shl eax, 4
mov ecx, ebx
add eax, 0x4a0
add eax, esi
sub ecx, edx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x42d9d0
push dword [esp + 0x3c]
mov edx, ebp
mov dword [esp + 0x48], edi
push dword [esp + 0x28]
mov ecx, esi
call fcn.0042cc60
add eax, dword [esp + 0x60]
add esp, 8
mov dword [esp + 0x1c], eax
imul eax, dword [esp + 0x3c], 0x110
mov dword [esp + 0x5c], eax
lea ecx, [eax + 0xdd96]
add ecx, edi
lea edx, [esi + ecx*4]
add esi, 0x4bc
lea ecx, [ebx + ebx*2]
mov ebx, dword [esp + 0x1c]
shl ecx, 4
add ecx, esi
mov esi, dword [esp + 0x14]
nop dword [eax]
mov eax, dword [edx]
add eax, ebx
cmp eax, dword [ecx - 0x1c]
jae 0x42da48
mov dword [ecx - 0x1c], eax
mov dword [ecx - 4], esi
mov dword [ecx], ebp
mov dword [ecx - 0x14], 0
dec edi
sub edx, 4
sub ecx, 0x30
cmp edi, 2
jae 0x42da30
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
inc ecx
mov edi, dword [esp + 0x28]
test ebp, ebp
mov eax, ecx
cmovne eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x31734]
add eax, ecx
cmp eax, edi
cmovbe edi, eax
cmp ecx, edi
jae 0x42da9d
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
sub ebx, eax
lea edx, [ecx + eax]
nop dword [eax]
mov al, byte [edx + ebx]
cmp al, byte [edx]
jne 0x42da9d
inc ecx
inc edx
cmp ecx, edi
jb 0x42da90
mov edi, dword [esp + 0x20]
mov eax, 0xffffffff
sub eax, dword [esp + 0x44]
mov dword [esp + 0x74], ecx
add ecx, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x34], edi
cmp ecx, 2
jb 0x42dc83
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esi + 0x323a8]
mov edi, dword [esp + 0x48]
mov ebx, dword [eax*4 + 0x492d50]
add edi, ecx
lea eax, [esi + 0x30ca0]
push eax
mov eax, dword [esp + 0x54]
movzx eax, byte [ecx + eax]
push eax
mov eax, dword [esp + 0x54]
movzx esi, byte [eax + ecx - 1]
movzx edx, byte [ecx + eax]
mov ecx, 8
mov eax, dword [esp + 0x34]
sub cl, byte [eax + 0x32398]
mov eax, edi
shr esi, cl
mov ecx, dword [esp + 0x34]
and eax, dword [ecx + 0x323a4]
mov ecx, dword [ecx + 0x32398]
shl eax, cl
add esi, eax
imul ecx, esi, 0x600
mov esi, dword [esp + 0x34]
add ecx, dword [esi + 0x323ac]
call fcn.0042c6f0
and edi, ebp
mov ecx, ebx
shl ecx, 4
mov edx, eax
mov eax, dword [esp + 0x4c]
add edi, ecx
mov ebx, dword [ebx*4 + 0x492cc0]
add esp, 8
movzx ecx, word [esi + edi*2 + 0x323b0]
shr ecx, 4
mov edi, dword [esp + 0x74]
add edi, dword [esp + 0x14]
add edx, dword [esi + ecx*4 + 0x30ca0]
mov ecx, dword [esp + 0x5c]
add ecx, eax
mov dword [esp + 0x5c], ebx
inc eax
add edx, dword [esi + ecx*4 + 0x37658]
mov ecx, dword [esp + 0x48]
add edx, dword [esp + 0x1c]
add ecx, eax
movzx eax, word [esi + ebx*2 + 0x32530]
and ecx, ebp
mov ebp, ebx
mov dword [esp + 0x1c], ecx
shl ebp, 4
xor eax, 0x7f0
add ebp, ecx
shr eax, 4
movzx ecx, word [esi + ebp*2 + 0x323b0]
xor ecx, 0x7f0
shr ecx, 4
mov ebx, dword [esi + ecx*4 + 0x30ca0]
add ebx, dword [esi + eax*4 + 0x30ca0]
add ebx, edx
mov edx, dword [esp + 0x30]
cmp edx, edi
jae 0x42dbef
lea eax, [edx + edx*2]
mov dword [esp + 0x30], edi
shl eax, 4
mov ecx, edi
add eax, 0x4a0
add eax, esi
sub ecx, edx
nop
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x42dbe0
movzx ecx, word [esi + ebp*2 + 0x32590]
mov eax, dword [esp + 0x5c]
xor ecx, 0x7f0
shr ecx, 4
mov ebp, dword [esp + 0x18]
movzx eax, word [esi + eax*2 + 0x32548]
mov edx, dword [esi + ecx*4 + 0x30ca0]
lea ecx, [esi + 0x4a0]
shr eax, 4
add edx, dword [esi + eax*4 + 0x30ca0]
imul eax, dword [esp + 0x1c], 0x110
add eax, dword [esp + 0x60]
add edx, dword [esi + eax*4 + 0x37658]
lea eax, [edi + edi*2]
shl eax, 4
add edx, ebx
mov ebx, dword [esp + 0x20]
add ecx, eax
mov edi, ebx
mov dword [esp + 0x34], edi
cmp edx, dword [ecx]
jae 0x42dc83
mov eax, dword [esp + 0x44]
mov dword [ecx], edx
inc eax
mov edx, dword [esp + 0x14]
add eax, edx
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], ebp
mov dword [esp + 0x34], edi
jmp 0x42dc87
mov edx, dword [esp + 0x14]
inc ebp
mov dword [esp + 0x18], ebp
cmp ebp, 4
jb 0x42d951
mov eax, dword [esp + 0x38]
lea ebp, [esi + 0x30ea0]
mov ebx, dword [esp + 0x54]
cmp ebx, eax
jbe 0x42dcc8
mov ebx, eax
xor ecx, ecx
xor eax, eax
cmp ebx, dword [ebp]
jbe 0x42dcbd
add eax, 2
mov ecx, eax
cmp ebx, dword [ebp + eax*4]
ja 0x42dcb2
mov dword [ebp + eax*4], ebx
lea eax, [ecx + 2]
mov dword [esp + 0x40], eax
cmp ebx, edi
jb 0x42e0c6
mov eax, dword [esp + 0x24]
add edx, ebx
mov ebx, dword [esp + 0x30]
movzx eax, word [esi + eax*2 + 0x32530]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ca0]
add dword [esp + 0x78], eax
cmp ebx, edx
jae 0x42dd1f
lea eax, [ebx + ebx*2]
mov dword [esp + 0x30], edx
shl eax, 4
mov ecx, edx
add eax, 0x4a0
add eax, esi
sub ecx, ebx
nop dword [eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x42dd10
xor ebx, ebx
mov dword [esp + 0x44], ebx
cmp edi, dword [ebp]
jbe 0x42dd3d
nop word [eax + eax]
add ebx, 2
cmp edi, dword [ebp + ebx*4]
ja 0x42dd30
mov dword [esp + 0x44], ebx
mov edx, dword [ebp + ebx*4 + 4]
mov ecx, 0x1ffff
sub ecx, edx
mov dword [esp + 0x1c], edx
shr ecx, 0x1f
lea ebp, [edi + 1]
neg ecx
mov eax, edx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + esi + 0x304a0]
lea eax, [eax + ecx*2]
mov ecx, edi
mov dword [esp + 0x50], eax
mov eax, edi
shl eax, 7
add eax, 0xc5d4
shl ecx, 6
mov dword [esp + 0x38], eax
add ecx, 0xc554
imul eax, dword [esp + 0x3c], 0x110
add eax, 0xcb84
add eax, edi
lea eax, [esi + eax*4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
add eax, edi
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0x4bc
add eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
add eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
lea eax, [ebp - 1]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x84], eax
cmp eax, 5
jae 0x42dde0
mov eax, dword [esp + 0x38]
mov edi, ecx
jmp 0x42ddea
mov eax, 0xc854
mov edi, 0xc694
cmp edx, 0x80
jae 0x42ddf9
add eax, edx
mov ecx, dword [esi + eax*4]
jmp 0x42de0e
mov eax, dword [esp + 0x50]
mov ecx, edx
and ecx, 0xf
add eax, edi
mov ecx, dword [esi + ecx*4 + 0x32350]
add ecx, dword [esi + eax*4]
mov eax, dword [esp + 0x54]
add eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x54], eax
cmp eax, dword [ecx - 0x1c]
jae 0x42de37
mov dword [ecx - 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [ecx - 4], eax
lea eax, [edx + 4]
mov dword [ecx], eax
mov dword [ecx - 0x14], 0
lea eax, [ebp - 1]
cmp eax, dword [esi + ebx*4 + 0x30ea0]
jne 0x42e0a2
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 0x31734]
sub ecx, edx
mov edi, dword [esp + 0x28]
add eax, ebp
dec ecx
mov edx, ebp
cmp eax, edi
mov dword [esp + 0x20], ecx
cmovbe edi, eax
cmp ebp, edi
jae 0x42de84
mov ebx, dword [esp + 0x4c]
add ecx, ebp
sub ebx, dword [esp + 0x20]
mov al, byte [ecx + ebx]
cmp al, byte [ecx]
jne 0x42de80
inc edx
inc ecx
cmp edx, edi
jb 0x42de73
mov ebx, dword [esp + 0x44]
mov eax, 0xffffffff
mov dword [esp + 0x74], edx
lea ecx, [ebp - 1]
sub eax, ecx
add edx, eax
mov dword [esp + 0x5c], edx
cmp edx, 2
jb 0x42e055
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esi + 0x323a8]
push dword [esp + 0x7c]
mov ebx, dword [eax*4 + 0x492d20]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
dec esi
mov dword [esp + 0x64], ebp
add esi, ecx
movzx eax, byte [ecx + eax - 1]
mov edi, esi
push eax
mov eax, dword [esp + 0x88]
and edi, ebp
mov ebp, dword [esp + 0x34]
movzx edx, byte [ecx + eax]
mov eax, dword [esp + 0x54]
movzx eax, byte [ecx + eax - 2]
mov ecx, 8
sub cl, byte [ebp + 0x32398]
shr eax, cl
mov ecx, ebp
and esi, dword [ecx + 0x323a4]
mov ecx, dword [ecx + 0x32398]
shl esi, cl
add eax, esi
mov esi, ebp
imul ecx, eax, 0x600
add ecx, dword [esi + 0x323ac]
call fcn.0042c6f0
mov ecx, ebx
mov edx, eax
mov ebx, dword [ebx*4 + 0x492cc0]
add esp, 8
shl ecx, 4
mov ebp, ebx
add ecx, edi
shl ebp, 4
movzx eax, word [esi + ebx*2 + 0x32530]
xor eax, 0x7f0
movzx ecx, word [esi + ecx*2 + 0x323b0]
shr ecx, 4
shr eax, 4
add edx, dword [esi + ecx*4 + 0x30ca0]
lea ecx, [edi + 1]
and ecx, dword [esp + 0x60]
add edx, dword [esp + 0x54]
add ebp, ecx
mov edi, dword [esp + 0x74]
add edi, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
movzx ecx, word [esi + ebp*2 + 0x323b0]
xor ecx, 0x7f0
mov dword [esp + 0x54], ebx
shr ecx, 4
mov ebx, dword [esi + ecx*4 + 0x30ca0]
add ebx, dword [esi + eax*4 + 0x30ca0]
add ebx, edx
mov edx, dword [esp + 0x30]
cmp edx, edi
jae 0x42dfc1
lea eax, [edx + edx*2]
mov dword [esp + 0x30], edi
shl eax, 4
mov ecx, edi
add eax, 0x4a0
add eax, esi
sub ecx, edx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x42dfb2
movzx ecx, word [esi + ebp*2 + 0x32590]
mov eax, dword [esp + 0x54]
xor ecx, 0x7f0
shr ecx, 4
mov ebp, dword [esp + 0x18]
movzx eax, word [esi + eax*2 + 0x32548]
mov edx, dword [esi + ecx*4 + 0x30ca0]
lea ecx, [esi + 0x4a0]
shr eax, 4
add edx, dword [esi + eax*4 + 0x30ca0]
imul eax, dword [esp + 0x60], 0x110
add eax, dword [esp + 0x5c]
add edx, dword [esi + eax*4 + 0x37658]
lea eax, [edi + edi*2]
shl eax, 4
add edx, ebx
mov ebx, dword [esp + 0x44]
add ecx, eax
cmp edx, dword [ecx]
jae 0x42e055
mov eax, dword [esp + 0x84]
inc eax
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
add eax, edx
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x1c]
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
jmp 0x42e059
mov edx, dword [esp + 0x14]
add ebx, 2
mov dword [esp + 0x44], ebx
cmp ebx, dword [esp + 0x40]
je 0x42e0c6
mov edx, dword [esi + ebx*4 + 0x30ea4]
mov dword [esp + 0x1c], edx
cmp edx, 0x80
jb 0x42e09e
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 + esi + 0x304a0]
lea eax, [eax + ecx*2]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
add ecx, 0x30
sub dword [esp + 0x38], 0xffffff80
add eax, 4
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x58]
add ecx, 0x40
mov dword [esp + 0x3c], eax
inc ebp
jmp 0x42ddb7
inc edx
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x30]
jne 0x42d3e0
push edx
mov edx, dword [esp + 0xa0]
mov ecx, esi
call fcn.0042cd20
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x40]
push dword [esp + 0x14]
mov edx, dword [esp + 0xa0]
mov dword [esi + 0x494], ecx
mov ecx, esi
mov dword [esi + 0x498], eax
call fcn.0042cd20
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x9c]
pop ebp
pop edi
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop ebx
add esp, 0x88
ret