Function at 0x433040
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x68
mov dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x7c]
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0x100000
mov dword [esp + 0xc], 0
mov dword [esp + 0x38], 0x70716e6f
mov word [esp + 0x3c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x4330d3
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x38]
add eax, 0x2f4894ae
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x3e
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x38], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 6
jb 0x4330a0
mov eax, dword [esp + 0x38]
mov edx, dword [0x441e1c]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
cmp ecx, edx
je 0x43312e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx], 0x633c81d
je 0x433101
add ecx, 8
cmp ecx, edx
jne 0x4330f0
jmp 0x43312e
mov ecx, dword [ecx + 4]
cmp ecx, eax
je 0x43312e
lea eax, [esp + 0x20]
lea edx, [esp + 0xc]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x441e20]
push ecx
call fcn.00434480
add esp, 0x24
test eax, eax
js 0x43374a
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 + 0x24], 0x10000
jmp 0x433197
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
cmp eax, 0x7fffffff
jae 0x43369a
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [esp + 0x10], 0x70716e6f
mov word [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x4331ee
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
add eax, 0x2f4894ae
xor eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x3e
mov edx, dword [esp]
mov byte [esp + edx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x4331c0
mov eax, dword [esp + 0x10]
mov esi, dword [0x441e1c]
mov edx, dword [esi]
mov esi, dword [esi + 4]
cmp edx, esi
je 0x433260
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx], 0x2ee8d390
je 0x433230
add edx, 8
cmp edx, esi
jne 0x433210
jmp 0x433260
mov edx, dword [edx + 4]
cmp edx, eax
je 0x433260
push 0
push 0x1c
lea eax, [esp + 0x40]
push eax
push 0
push dword [esp + 0x34]
push ecx
push 6
push dword [0x441e20]
push edx
call fcn.00434480
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x43369a
test eax, eax
js 0x433180
cmp dword [esp + 0x48], 0x1000
jne 0x433180
cmp dword [esp + 0x4c], 1
je 0x433180
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x44], eax
jbe 0x43341a
mov dword [esp + 0x10], 0x70716e6f
mov word [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x4332ee
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0x2f4894ae
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x3e
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x4332c0
mov ecx, dword [0x441e1c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x43334a
mov edx, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0x44caaeb6
je 0x433321
add eax, 8
cmp eax, ecx
jne 0x433310
jmp 0x43334a
mov eax, dword [eax + 4]
cmp eax, edx
je 0x43334a
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x441e20]
push eax
call fcn.00434480
add esp, 0x1c
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0x70716e6f
mov word [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x4333ae
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0x2f4894ae
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x3e
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x433380
mov eax, dword [esp + 0x10]
mov edx, dword [0x441e1c]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
cmp ecx, edx
je 0x43340e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx], 0x633c81d
je 0x4333e1
add ecx, 8
cmp ecx, edx
jne 0x4333d0
jmp 0x43340e
mov ecx, dword [ecx + 4]
cmp ecx, eax
je 0x43340e
push 4
push 0x3000
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 6
push dword [0x441e20]
push ecx
call fcn.00434480
add esp, 0x24
test eax, eax
js 0x43369a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 4]
push edx
push eax
push dword [esp + 0x14]
push dword [esp + 0x30]
call fcn.00432ee0
cmp eax, 0xbfffffff
ja 0x433180
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x10]
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.00433760
add esp, 0x18
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
cmp ecx, ebp
je 0x433180
mov eax, dword [edi + 8]
mov dword [esp + 8], eax
mov edx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], ebp
jmp 0x4334de
push dword [esp + 8]
call fcn.00409610
add esp, 4
mov eax, dword [esp + 0x30]
lea ecx, [eax + ebp*4]
mov dword [esp + 8], ecx
mov edi, eax
mov ebx, dword [esp + 0x1c]
add edi, ebx
mov edx, eax
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, eax
not ecx
and ecx, esi
not esi
and esi, eax
sub esi, ecx
add esi, dword [esp + 0x24]
mov dword [edx + ebx], esi
add edi, 4
mov ecx, dword [esp + 0x64]
add ecx, 4
cmp ecx, ebp
je 0x43365e
mov dword [esp + 0x64], ecx
mov eax, dword [ecx]
mov dword [esp + 0x60], eax
mov esi, dword [esp + 0xc]
mov ebx, edi
sub ebx, edx
cmp edi, dword [esp + 8]
jne 0x4334b5
mov dword [esp + 0x1c], ebx
sar ebx, 2
inc ebx
mov ecx, edi
xor ecx, edx
mov dword [esp + 8], edx
not edx
and edx, edi
add edx, edx
sub edx, ecx
sar edx, 2
mov ebp, edx
shr ebp, 1
add ebp, edx
cmp ebp, ebx
ja 0x43351d
mov ebp, ebx
lea eax, [ebp*4]
push eax
call fcn.00409600
add esp, 4
mov edx, dword [esp + 8]
test edx, edx
je 0x4334a0
cmp eax, edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
jbe 0x433602
cmp edi, eax
jbe 0x433602
test ebx, ebx
je 0x433490
mov dword [esp + 0x28], ebp
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
add eax, edx
dec eax
mov ecx, dword [esp + 8]
add ecx, edx
dec ecx
mov ebp, edx
and ebp, 7
je 0x433594
neg ebp
xor edx, edx
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edx]
mov byte [eax + edx], bl
dec edx
cmp ebp, edx
jne 0x433580
add ecx, edx
add eax, edx
add edx, dword [esp + 0x1c]
mov ebx, dword [esp + 8]
sub ebx, edi
cmp ebx, 0xfffffff8
mov ebp, dword [esp + 0x28]
ja 0x433490
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 0x4335b0
jmp 0x433490
mov ecx, ebx
shr ecx, 2
mov ebx, edx
mov edi, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov ecx, edx
mov edi, dword [esp + 0x1c]
mov edx, edi
and edx, 0xfffffffc
lea ebx, [eax + edx]
add edx, ecx
mov eax, edi
and eax, 3
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x28], ebp
mov ebp, edx
mov dword [esp + 0x58], ebx
mov edi, ebx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov ebp, dword [esp + 0x28]
test byte [esp + 0x1c], 1
je 0x433490
movzx ecx, byte [edx + eax - 1]
mov edx, dword [esp + 0x58]
mov byte [edx + eax - 1], cl
jmp 0x433490
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 4], edi
mov edi, ecx
mov dword [ecx], edx
mov eax, dword [esp + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x433180
cmp eax, ebp
je 0x433180
push eax
call fcn.00409610
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x433180
mov dword [esp + 0x10], 0x70716e6f
mov word [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x4336ee
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0x2f4894ae
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x3e
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x4336c0
mov ecx, dword [0x441e1c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x43374a
mov edx, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0x44caaeb6
je 0x433721
add eax, 8
cmp eax, ecx
jne 0x433710
jmp 0x43374a
mov eax, dword [eax + 4]
cmp eax, edx
je 0x43374a
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x441e20]
push eax
call fcn.00434480
add esp, 0x1c
mov eax, edi
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret 0x10