Function at 0x722a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ba53e
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0xa8], esi
push eax
push 0x7cd378
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.004044f0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x44], 9
mov dword [ebp - 0x40], 0xc900cd
mov dword [ebp - 0x3c], 0xda00de
mov dword [ebp - 0x38], 0xd800c8
mov dword [ebp - 0x34], 0xd600e1
mov dword [ebp - 0x30], 0xc100a4
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x722b10
xor ecx, ecx
mov word [ebp + eax*2 - 0x40], cx
xor eax, eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], 7
lea edx, [ecx + 2]
mov word [ebp - 0x5c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x722b40
sub ecx, edx
lea eax, [ebp - 0x40]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004044f0
mov ecx, dword [edi]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00438730
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x722bb3
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x722ba9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x722ba9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov edx, dword [ebp - 0x60]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x722c07
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x722bfd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x722bfd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp byte [ebp - 0x14], al
je 0x722d9b
push eax
push 0x7cd378
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
call fcn.004044f0
mov byte [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0x44], 9
mov dword [ebp - 0x40], 0xc900cd
mov dword [ebp - 0x3c], 0xda00de
mov dword [ebp - 0x38], 0xd800c8
mov dword [ebp - 0x34], 0xd600e1
mov dword [ebp - 0x30], 0xc100a4
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x722c80
xor ecx, ecx
mov word [ebp + eax*2 - 0x40], cx
xor eax, eax
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x78], 7
lea edx, [ecx + 2]
mov word [ebp - 0x8c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x722cb3
sub ecx, edx
lea eax, [ebp - 0x40]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.004044f0
mov ecx, dword [edi]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 6
push eax
call fcn.004395c0
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x722d2e
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x722d24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x722d24
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
mov edx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x722d8b
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x722d81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x722d81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00404120
jmp 0x722e1b
mov eax, 8
mov dword [ebp - 0x40], 0xd600d6
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x3c], 0xcb00cf
mov dword [ebp - 0x38], 0xdc00d8
mov dword [ebp - 0x34], 0xda00ca
mov dword [ebp - 0x30], 0xc0
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x722dd0
xor ecx, ecx
mov word [ebp + eax*2 - 0x40], cx
xor eax, eax
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0x40]
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x722e00
sub ecx, edx
lea eax, [ebp - 0x40]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004044f0
cmp byte [ebp - 0x14], 0
je 0x722e29
lea ecx, [ebp - 0x2c]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 4