Function at 0x4346f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x74]
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 0x100000
mov dword [esp + 8], 0
mov dword [esp], 0x3c3d3e3f
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
cmp eax, 3
ja 0x434781
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
movzx ecx, byte [esp + ecx]
add eax, 0x2ef9e858
xor eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
add al, 0x98
mov ecx, dword [esp + 0x14]
mov byte [esp + ecx], al
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, 4
jb 0x434750
mov eax, dword [esp]
mov edx, dword [0x444100]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
cmp ecx, edx
je 0x4347de
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx], 0x633c81d
je 0x4347b1
add ecx, 8
cmp ecx, edx
jne 0x4347a0
jmp 0x4347de
mov ecx, dword [ecx + 4]
cmp ecx, eax
je 0x4347de
lea eax, [esp + 0x24]
lea edx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x444104]
push ecx
call fcn.00435b40
add esp, 0x24
test eax, eax
js 0x434dda
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0x10000
jmp 0x434847
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
cmp eax, 0x7fffffff
jae 0x434d34
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [esp + 4], 0x3c3d3e3f
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43489e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add eax, 0x2ef9e858
xor eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0x98
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x434870
mov eax, dword [esp + 4]
mov esi, dword [0x444100]
mov edx, dword [esi]
mov esi, dword [esi + 4]
cmp edx, esi
je 0x434910
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx], 0x2ee8d390
je 0x4348e0
add edx, 8
cmp edx, esi
jne 0x4348c0
jmp 0x434910
mov edx, dword [edx + 4]
cmp edx, eax
je 0x434910
push 0
push 0x1c
lea eax, [esp + 0x40]
push eax
push 0
push dword [esp + 0x38]
push ecx
push 6
push dword [0x444104]
push edx
call fcn.00435b40
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x434d34
test eax, eax
js 0x434830
cmp dword [esp + 0x48], 0x1000
jne 0x434830
cmp dword [esp + 0x4c], 1
je 0x434830
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x44], eax
jbe 0x434aca
mov dword [esp + 4], 0x3c3d3e3f
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43499e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0x2ef9e858
xor eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0x98
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x434970
mov ecx, dword [0x444100]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x4349fa
mov edx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0x44caaeb6
je 0x4349d1
add eax, 8
cmp eax, ecx
jne 0x4349c0
jmp 0x4349fa
mov eax, dword [eax + 4]
cmp eax, edx
je 0x4349fa
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x444104]
push eax
call fcn.00435b40
add esp, 0x1c
mov dword [esp + 8], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov dword [esp + 4], 0x3c3d3e3f
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x434a5e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0x2ef9e858
xor eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0x98
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x434a30
mov eax, dword [esp + 4]
mov edx, dword [0x444100]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
cmp ecx, edx
je 0x434abe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx], 0x633c81d
je 0x434a91
add ecx, 8
cmp ecx, edx
jne 0x434a80
jmp 0x434abe
mov ecx, dword [ecx + 4]
cmp ecx, eax
je 0x434abe
push 4
push 0x3000
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 6
push dword [0x444104]
push ecx
call fcn.00435b40
add esp, 0x24
test eax, eax
js 0x434d34
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, esp
push edx
push eax
push dword [esp + 0x10]
push dword [esp + 0x34]
call fcn.004345a0
cmp eax, 0xbfffffff
ja 0x434830
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0xc]
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
call fcn.00434df0
add esp, 0x18
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp esi, edx
je 0x434830
mov eax, dword [edi + 8]
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edx
jmp 0x434b5f
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x5c]
add ebp, dword [esp + 0x28]
mov dword [ebx + edi], ebp
add ecx, 4
add esi, 4
cmp esi, edx
mov edi, ecx
je 0x434cfc
mov ebp, dword [esi]
sub ebp, dword [esp + 8]
mov dword [esp + 0x5c], ebp
mov ebp, edi
sub edi, ebx
mov dword [esp + 0x20], ebp
cmp ebp, eax
jne 0x434b40
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov ecx, edi
sar ecx, 2
lea eax, [ecx + 1]
mov ebp, ecx
shr ebp, 1
add ebp, ecx
cmp ebp, eax
ja 0x434b91
mov ebp, eax
lea eax, [ebp*4]
push eax
call fcn.00409510
add esp, 4
mov edx, eax
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x20]
je 0x434ce6
cmp edx, eax
mov dword [esp + 0x30], edx
jbe 0x434c7f
cmp ecx, edx
jbe 0x434c7f
cmp dword [esp + 0xc], 0
je 0x434cd6
mov edi, ebp
mov edx, dword [esp + 0xc]
mov eax, edx
and eax, 0xfffffffe
mov ecx, edx
not ecx
and ecx, 1
sub eax, ecx
mov ecx, dword [esp + 0x10]
add ecx, eax
add eax, dword [esp + 0x30]
mov ebp, edx
and ebp, 7
je 0x434c14
neg ebp
xor edx, edx
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edx]
mov byte [eax + edx], bl
dec edx
cmp ebp, edx
jne 0x434c00
add ecx, edx
add eax, edx
add edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
sub ebx, dword [esp + 0x20]
cmp ebx, 0xfffffff8
mov ebp, edi
ja 0x434cd6
neg edx
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edi]
mov byte [eax + edi], bl
movzx ebx, byte [ecx + edi - 1]
mov byte [eax + edi - 1], bl
movzx ebx, byte [ecx + edi - 2]
mov byte [eax + edi - 2], bl
movzx ebx, byte [ecx + edi - 3]
mov byte [eax + edi - 3], bl
movzx ebx, byte [ecx + edi - 4]
mov byte [eax + edi - 4], bl
movzx ebx, byte [ecx + edi - 5]
mov byte [eax + edi - 5], bl
movzx ebx, byte [ecx + edi - 6]
mov byte [eax + edi - 6], bl
movzx ebx, byte [ecx + edi - 7]
mov byte [eax + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x434c30
jmp 0x434cd6
mov ebx, dword [esp + 0xc]
mov ecx, ebx
shr ecx, 2
mov eax, dword [esp + 0x10]
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, ebx
not ecx
or ecx, 0xfffffffc
add ecx, ebx
lea edi, [edx + ecx]
inc edi
mov eax, dword [esp + 0x10]
lea edx, [eax + ecx]
inc edx
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, ebp
mov ebp, edx
mov dword [esp + 0x20], edi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov ebp, eax
test bl, 1
je 0x434cd6
mov ecx, dword [esp + 0xc]
and ecx, 2
movzx edx, byte [edx + ecx]
mov eax, dword [esp + 0x20]
mov byte [eax + ecx], dl
push dword [esp + 0x10]
call fcn.00409520
add esp, 4
mov edx, dword [esp + 0x30]
lea eax, [edx + ebp*4]
mov ecx, edx
mov edi, dword [esp + 0xc]
add ecx, edi
mov ebx, edx
mov edx, dword [esp + 0x58]
jmp 0x434b44
mov ecx, dword [esp + 0x74]
mov dword [ecx + 4], edi
mov edi, ecx
mov dword [ecx], ebx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x434830
cmp eax, edx
je 0x434830
push eax
call fcn.00409520
add esp, 4
mov dword [esp + 0x14], 0
jmp 0x434830
mov dword [esp + 4], 0x3c3d3e3f
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x434d7e
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0x2ef9e858
xor eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0x98
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x434d50
mov ecx, dword [0x444100]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x434dda
mov edx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0x44caaeb6
je 0x434db1
add eax, 8
cmp eax, ecx
jne 0x434da0
jmp 0x434dda
mov eax, dword [eax + 4]
cmp eax, edx
je 0x434dda
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x444104]
push eax
call fcn.00435b40
add esp, 0x1c
mov eax, edi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0x10