Function at 0x429030
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor eax, eax
push edi
push esi
push ebx
sub esp, 0x61c
mov ebx, dword [esp + 0x630]
mov dword [esp + eax + 0x50], 0
add eax, 4
cmp eax, 0x20
jb 0x429043
mov eax, dword [esp + 0x640]
sar eax, 4
mov esi, eax
mov dword [esp + 0x44], eax
shl esi, 4
cmp dword [esp + 0x640], esi
jle 0x4290a6
add eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x63c]
add eax, dword [esp + 0x640]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov esi, dword [esp + 0x44]
shl esi, 4
test esi, esi
jle 0x429121
mov edx, dword [esp + 0x63c]
xor eax, eax
movsx edi, byte [edx + eax]
mov ecx, edi
sar ecx, 0x1f
xor edi, ecx
mov dword [esp + eax*4 + 0x110], edi
movsx edi, byte [edx + eax + 1]
sub dword [esp + eax*4 + 0x110], ecx
mov ecx, edi
sar ecx, 0x1f
xor edi, ecx
mov dword [esp + eax*4 + 0x114], edi
movsx edi, byte [edx + eax + 2]
sub dword [esp + eax*4 + 0x114], ecx
mov ecx, edi
sar ecx, 0x1f
xor edi, ecx
mov dword [esp + eax*4 + 0x118], edi
movsx edi, byte [edx + eax + 3]
sub dword [esp + eax*4 + 0x118], ecx
mov ecx, edi
sar ecx, 0x1f
xor edi, ecx
mov dword [esp + eax*4 + 0x11c], edi
sub dword [esp + eax*4 + 0x11c], ecx
add eax, 4
cmp eax, esi
jne 0x4290b3
mov esi, dword [esp + 0x44]
test esi, esi
jle 0x4296e8
movzx ecx, byte [0x456af5]
xor esi, esi
mov dword [esp + 0x4c], ebx
movzx eax, byte [0x456af6]
mov dword [esp + 0x2c], 0
movzx edx, byte [0x456af7]
movzx ebp, byte [0x456af4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x110]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc0]
shl eax, 6
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x70]
add edx, eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x110]
xor edx, edx
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x2c]
mov edi, ebp
mov ecx, dword [esp + 0x34]
mov dword [ecx + ebx*4], 0
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4291f7
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
sar dword [eax + 8], 1
sar dword [eax + 0xc], 1
sar dword [eax + 0x10], 1
add dword [ebx + ecx*4], 1
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
sar dword [eax + 0x14], 1
sar dword [eax + 0x18], 1
sar dword [eax + 0x1c], 1
sar ebx, 1
sar dword [eax + 0x20], 1
sar ecx, 1
sar dword [eax + 0x24], 1
sar dword [eax + 0x28], 1
sar dword [eax + 0x2c], 1
sar dword [eax + 0x30], 1
sar dword [eax + 0x34], 1
sar dword [eax + 0x38], 1
mov dword [eax], ebx
mov dword [eax + 4], ecx
sar dword [eax + 0x3c], 1
add ecx, ebx
cmp ecx, edi
jg 0x429685
mov edx, dword [eax + 8]
add edx, dword [eax + 0xc]
cmp edx, edi
jg 0x4296c9
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x54], edx
add ebx, dword [eax + 0x14]
cmp ebx, edi
jg 0x429614
mov dword [esp + 0x58], ebx
mov ebx, dword [eax + 0x18]
add ebx, dword [eax + 0x1c]
cmp ebx, edi
jg 0x429614
mov dword [esp + 0x5c], ebx
mov ebx, dword [eax + 0x20]
add ebx, dword [eax + 0x24]
cmp ebx, edi
jg 0x429614
mov dword [esp + 0x60], ebx
mov ebx, dword [eax + 0x28]
add ebx, dword [eax + 0x2c]
cmp ebx, edi
jg 0x429614
mov dword [esp + 0x64], ebx
mov ebx, dword [eax + 0x30]
add ebx, dword [eax + 0x34]
cmp ebx, edi
jg 0x429614
mov dword [esp + 0x68], ebx
mov ebx, dword [eax + 0x38]
add ebx, dword [eax + 0x3c]
cmp edi, ebx
jl 0x429614
mov dword [esp + 0x6c], ebx
mov esi, ecx
mov ebp, 1
mov dword [esp + 0x30], 0
lea ebx, [edx + esi]
cmp dword [esp + 0x28], ebx
jl 0x429630
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x5c]
cmp dword [esp + 0x28], ecx
jl 0x4296b1
mov edx, dword [esp + 0x60]
mov dword [esp + 0x54], ecx
add edx, dword [esp + 0x64]
cmp dword [esp + 0x28], edx
jl 0x429673
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x68]
add edx, dword [esp + 0x6c]
cmp dword [esp + 0x28], edx
jl 0x429673
mov dword [esp + 0x5c], edx
lea edx, [ebx + ecx]
mov esi, ebx
mov dword [esp + 0x24], edx
cmp dword [esp + 0x38], edx
jl 0x42964a
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x5c]
cmp dword [esp + 0x38], edx
jl 0x42969b
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x54], edx
xor ecx, ecx
mov esi, dword [esp + 0x24]
add ebp, edx
add ecx, dword [esp + 0x30]
cmp dword [esp + 0x40], ebp
mov dword [esp + 0x30], ecx
jl 0x429669
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov dword [ebx + ecx*4], ebp
xor ebx, ebx
mov ecx, dword [esp + 0x30]
add ecx, ebx
test ecx, ecx
jne 0x4291b3
add dword [esp + 0x2c], 1
add eax, 0x40
mov ebp, edi
cmp eax, dword [esp + 0x48]
jne 0x42919b
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x634]
xor ebp, ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ebp
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x30], 0x7fffffff
mov dword [esp + 0x28], 0
sar eax, 1
lea edx, [eax + eax*8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
test ebx, ebx
mov ecx, dword [esp + 0x34]
lea eax, [edx + edx*8]
lea edi, [eax + eax + 0x456980]
movzx edx, byte [ecx + edx + 0x456958]
jle 0x4293e5
lea esi, [esp + 0xc0]
xor eax, eax
jmp 0x4293cd
movzx ecx, byte [edi + 0x11]
add eax, 1
add edx, ecx
cmp eax, ebx
je 0x4293e5
mov ecx, dword [esi + eax*4]
test ecx, ecx
jg 0x4293c0
mov ecx, dword [ebp + eax*4]
add eax, 1
movzx ecx, byte [edi + ecx]
add edx, ecx
cmp eax, ebx
jne 0x4293cd
cmp dword [esp + 0x30], edx
jle 0x4293f7
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], eax
add dword [esp + 0x24], 1
cmp dword [esp + 0x24], 9
jne 0x429395
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], 8
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
lea eax, [edx + edx*8 + 0x45696a]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.0041e4f0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
lea eax, [edx + edx*8]
lea eax, [eax + eax + 0x456a40]
test ecx, ecx
mov dword [esp + 0x24], eax
jle 0x4295cd
lea eax, [esp + 0xc0]
xor edi, edi
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov esi, dword [edx + edi*4]
mov dword [esp + 0xc], 8
mov dword [esp + 8], ecx
test esi, esi
je 0x4294c7
mov dword [esp + 4], 0x11
sub esi, 1
mov dword [esp], ebx
call fcn.0041e4f0
test esi, esi
jle 0x4294b7
xor ebp, ebp
lea esi, [esi]
mov dword [esp + 0xc], 8
add ebp, 1
mov dword [esp + 8], 0x456ae2
mov dword [esp + 4], 0x11
mov dword [esp], ebx
call fcn.0041e4f0
cmp ebp, esi
jne 0x429490
mov dword [esp + 0xc], 8
mov dword [esp + 8], 0x456ae2
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + edi*4]
mov dword [esp], ebx
add edi, 1
mov dword [esp + 4], eax
call fcn.0041e4f0
cmp edi, dword [esp + 0x44]
jne 0x429459
mov edi, dword [esp + 0x44]
xor esi, esi
mov ebp, dword [esp + 0x3c]
mov edx, dword [ebp + esi*4]
test edx, edx
jle 0x429513
lea ecx, [esp + 0x110]
mov eax, esi
mov dword [esp], ebx
shl eax, 6
add eax, ecx
mov dword [esp + 4], eax
call fcn.00431530
add esi, 1
cmp esi, edi
jne 0x4294f1
mov eax, dword [esp + 0x63c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov ebp, dword [eax + edx*4]
test ebp, ebp
jle 0x4295b5
sub ebp, 1
xor edi, edi
mov dword [esp + 0x24], ebp
mov edx, dword [esp + 0x28]
movzx eax, byte [edx + edi]
test al, al
jle 0x4296e1
movsx esi, al
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42958e
mov ebp, dword [esp + 0x24]
mov ecx, ebp
mov eax, esi
mov dword [esp + 0xc], 8
sar eax, cl
mov dword [esp + 8], 0x45577a
and eax, 1
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0041e4f0
sub ebp, 1
jne 0x429564
and esi, 1
mov dword [esp + 0xc], 8
add edi, 1
mov dword [esp + 8], 0x45577a
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0041e4f0
cmp edi, 0x10
jne 0x429545
add dword [esp + 0x2c], 1
mov eax, dword [esp + 0x44]
add dword [esp + 0x28], 0x10
cmp dword [esp + 0x2c], eax
jne 0x42952d
mov eax, dword [esp + 0x638]
mov dword [esp], ebx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x634]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x640]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x63c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.00431ce0
add esp, 0x61c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, ecx
mov dword [esp + 0x30], 1
mov ebp, 2
lea ebx, [edx + esi]
cmp dword [esp + 0x28], ebx
jge 0x42929b
mov dword [esp + 0x24], ebx
mov ebx, ecx
mov ecx, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], ebp
cmp dword [esp + 0x38], edx
jge 0x4292f0
mov ebp, edx
mov edx, ecx
mov ecx, 1
add ecx, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x40], ebp
mov dword [esp + 0x30], ecx
jge 0x429324
mov ebx, 1
jmp 0x429331
lea edx, [ebx + ecx]
mov dword [esp + 0x30], ebp
mov esi, ebx
mov dword [esp + 0x24], edx
jmp 0x4292e6
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], 1
mov ebp, 2
jmp 0x42928e
mov ebp, dword [esp + 0x24]
mov edx, ecx
mov esi, dword [esp + 0x24]
add ebp, ecx
mov ecx, 1
jmp 0x429312
lea ecx, [ebx + edx]
mov dword [esp + 0x30], ebp
mov esi, ebx
mov dword [esp + 0x24], ecx
mov ecx, edx
mov edx, dword [esp + 0x24]
jmp 0x4292e6
mov edx, dword [esp + 0x54]
mov esi, ecx
mov dword [esp + 0x30], 1
mov ebp, 2
jmp 0x42928e
neg eax
jmp 0x429555
lea edx, [esp + 0x70]
mov dword [esp + 0x3c], edx
jmp 0x42935f