Function at 0x429ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x627a40]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0x828], eax
mov ebx, ecx
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.00576f50
mov edx, ebx
add esp, 0xc
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x429f10
lea edi, [ebp - 0x80c]
sub edx, esi
add edi, 0xfffffffe
invalid
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x429f26
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebx, ebx
je 0x42a1fd
cmp dword [ebp - 0x828], 0
je 0x42a1fd
call fcn.00436860
test al, al
je 0x429f7b
mov al, byte [0xdcb01a33]
xchg ebx, eax
or dword [ebx + 0xbd79ad0], edi
lds edx, [ecx - 0x32]
sahf
and bh, ch
mov eax, dword [di + 0x7a]
xor edi, 0xffffffd3
ret 0x616
call fcn.00435f30
test al, al
je 0x429fa2
mov eax, 0xd21a0438
inc ebp
ficomp word [esi]
rol byte [ebx - 0x3adc92d0], cl
xor dword [eax], 0x6d
and eax, ebp
nop
jne 0x429f24
pop ss
push cs
insb byte es:[edi], dx
jl 0x42a000
fisubr word [edx]
ja 0x429f8d
out dx, eax
rol byte [esi + 0x6afc19], 1
push 0
lea eax, [ebp - 0x80c]
push 0x619a4c
push eax
call fcn.00583d49
add esp, 0xc
mov dword [ebp - 0x82c], eax
test eax, eax
je 0x42a1fd
call fcn.004366a0
test al, al
je 0x429fe3
sal byte [esp + edx - 0x2f], 0xb9
wait
xor esi, dword [edx]
cmp eax, 0x5c7ff2df
sar dword [ecx + 0x3d32339b], 1
fcompi st(2)
jg 0x42a035
cmp cl, 0xa6
fist word [edi - 0x54c08bce]
je 0x429fcc
call fcn.00436400
sbb ah, al
add byte [eax], al
test al, al
je 0x42a00a
shl esi, 0x68
push edx
jge 0x42a050
xchg esp, eax
out dx, eax
arpl word [ecx - 0x68], sp
loope 0x42a043
xchg edx, eax
mov dword [0x52954c6c], eax
jp 0x429f9d
pushfd
ret
call fcn.004364e0
test al, al
je 0x42a032
sbb ebx, ebx
sub al, 0x7d
aad 0x3b
jno 0x42a086
sub dl, byte [ebx]
scasd eax, dword es:[edi]
cwde
mov dword [eax - 0x16ad3c17], edx
in al, dx
add al, 0x1a
mov ebp, 0xb04bf300
push es
mov ebp, gs
pushal
mov edi, dword [ebp - 0x828]
mov ecx, edi
mov ebx, dword [ebp - 0x82c]
mov eax, ebx
idiv edi
dec dword [ebx - 0x2b627431]
idiv edi
dec dword [ebx + 0x108b66c3]
mov dx, word [eax]
mov edx, dword [eax]
cmp dx, word [ecx]
jne 0x42a068
test dx, dx
je 0x42a064
mov dx, word [eax + 2]
mov edx, dword [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a068
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a042
xor eax, eax
jmp 0x42a06d
sbb eax, eax
or eax, 1
test eax, eax
je 0x42a0bd
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a076
sub ecx, edx
sar ecx, 1
cmp word [ebx + ecx*2 - 2], 0x2a
cmp dword [ebx + ecx*2 - 2], 0x2a
jne 0x42a0d8
xor eax, eax
mov word [ebx + ecx*2 - 2], ax
lea ecx, [ebp - 0x824]
push edi
call fcn.004039f0
push ecx
push ebx
lea ecx, [ebp - 0x824]
call fcn.004038c0
lea ecx, [ebp - 0x824]
cmp eax, 0xffffffff
je 0x42a0d3
call fcn.00402d00
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00570ea9
mov esp, ebp
pop ebp
ret
call fcn.00402d00
call fcn.00436390
test al, al
je 0x42a100
rol eax, 0xed
jbe 0x42a156
mov word [edx - 0x78], ss
js 0x42a149
lcall 0xc974, 0xdb536078
fstp qword [ebx]
cmp bh, byte [esi]
sub byte [ecx - 0x2c], 0x6e
sub ecx, dword [esi + 0x79]
test byte [edx], cl
and al, 0xc7
test eax, ebx
idiv edi
inc dword [eax]
add byte [eax], al
add byte [esi + 0xf], ah
pop ds
inc esp
add byte [eax], al
mov dword [ebp - 0x828], 0
nop word [eax + eax]
push 0
push 0x619a4c
push 0
call fcn.00583d49
mov esi, eax
add esp, 0xc
test esi, esi
je 0x42a1cb
mov edx, edi
mov ecx, esi
nop
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42a156
test ax, ax
je 0x42a152
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x42a156
add ecx, 4
add edx, 4
test ax, ax
jne 0x42a130
add al, 0x83
ret 0x6604
xor eax, eax
jmp 0x42a15b
sbb eax, eax
or eax, 1
test eax, eax
je 0x42a1c1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a164
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x2a
jne 0x42a110
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
lea ecx, [ebp - 0x824]
push edi
call fcn.004039f0
push ecx
push esi
lea ecx, [ebp - 0x824]
call fcn.004038c0
lea ecx, [ebp - 0x824]
cmp eax, 0xffffffff
jne 0x42a1b0
call fcn.00402d00
jmp 0x42a110
mov dword [ebp - 0x828], 1
call fcn.00402d00
jmp 0x42a1cb
mov dword [ebp - 0x828], 1
call fcn.00435ec0
test al, al
je 0x42a1e6
push esi
push ss
push edx
sub al, 0x42
mov dh, 9
mov dword [edi + 0x1764b84c], edx
cld
xor byte [eax + esi], bh
push ds
mov eax, dword [ebp - 0x828]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00570ea9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570ea9
mov esp, ebp
pop ebp
ret