Function at 0x5f34f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ae8df
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x144], 9
mov dword [ebp - 0x140], 0xee00e4
mov dword [ebp - 0x13c], 0xd900df
mov dword [ebp - 0x138], 0xf9009c
mov dword [ebp - 0x134], 0xcb00df
mov dword [ebp - 0x130], 0xc100a1
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x140], ax
inc ecx
mov eax, dword [ebp - 0x144]
cmp ecx, eax
jb 0x5f35a0
xor ecx, ecx
mov word [ebp + eax*2 - 0x140], cx
lea ecx, [ebp - 0x1e8]
mov eax, dword [edi + 0xb8]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x1e8]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x54]
call fcn.00403b80
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x125], al
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x54]
call fcn.00404490
cmp byte [ebp - 0x125], 0
jne 0x5f36fb
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5f36f4
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005b6c90
mov ecx, dword [ebp - 0x14]
mov eax, 0x51eb851f
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x64
mov eax, esi
cmp ecx, 0x1000
jb 0x5f36e4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5f36e4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0076d313
mov esi, dword [ebp - 0x12c]
add esp, 8
mov eax, esi
jmp 0x5f4115
cmp byte [edi + 0xc0], 0
je 0x5f3751
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x48]
call fcn.0041d5c0
mov esi, eax
lea eax, [ebp - 0x6c]
cmp eax, esi
je 0x5f3743
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x5c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x48]
call fcn.00404490
mov esi, dword [ebp - 0x12c]
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00405850
add esp, 8
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00647a00
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x125], al
call fcn.00407a10
cmp byte [ebp - 0x125], 0
jne 0x5f3840
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5f37dd
mov edx, 1
call fcn.007058e0
lea ecx, [ebp - 0x6c]
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5f36f4
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005b6c90
mov ecx, dword [ebp - 0x14]
mov eax, 0x51eb851f
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x64
mov eax, esi
cmp ecx, 0x1000
jb 0x5f36e4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5f36e4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4c]
movaps xmm0, xmmword [0x7e3880]
mov dword [ebp - 0x4c], 0x16
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0xb9a5beb1
mov dword [ebp - 0x34], 0xcebea8
call fcn.004131e0
mov edx, eax
mov dword [ebp - 0x14c], 0
mov ecx, edx
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5f38b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x15c]
call fcn.00407ab0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00647b00
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.006478a0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x5f3917
cmp byte [ebp - 0x13c], 0
je 0x5f3917
push eax
call fcn.0069acc0
add esp, 4
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x15c]
mov byte [ebp - 0x134], 1
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x13c], 0
mov byte [ebp - 4], 0xa
call fcn.00407a10
cmp byte [ebp - 0x28], 0
mov esi, dword [ebp - 0x2c]
jne 0x5f40cd
test esi, esi
je 0x5f40cd
mov edx, dword [edi + 0xb8]
lea ecx, [ebp - 0xcc]
push 1
call fcn.005ef720
add esp, 4
mov byte [ebp - 4], 0x10
mov edi, dword [ebp - 0xbc]
nop dword [eax]
nop word [eax + eax]
mov eax, 9
mov dword [ebp - 0x184], 0xd8d4c0cb
mov dword [ebp - 0x188], eax
xor ecx, ecx
mov dword [ebp - 0x180], 0xd6cbdae3
mov dword [ebp - 0x17c], 0xc1a4
nop dword [eax + eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x184], al
inc ecx
mov eax, dword [ebp - 0x188]
cmp ecx, eax
jb 0x5f39b0
lea ecx, [ebp - 0x184]
mov byte [ebp + eax - 0x184], 0
mov dword [ebp - 0x14c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5f39f2
sub ecx, edx
lea eax, [ebp - 0x184]
push ecx
push eax
lea ecx, [ebp - 0x15c]
call fcn.00407ab0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x30]
call fcn.006478f0
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x30]
call fcn.00647960
lea edx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x84]
call fcn.00405660
lea ecx, [ebp - 0x1a4]
call fcn.00407a10
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x15
call fcn.00407a10
mov eax, 0xa
mov dword [ebp - 0x174], 0xc9d5d1cb
mov dword [ebp - 0x178], eax
xor ecx, ecx
mov dword [ebp - 0x170], 0xded0e2c8
mov dword [ebp - 0x16c], 0xc2a4ad
nop dword [eax + eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x174], al
inc ecx
mov eax, dword [ebp - 0x178]
cmp ecx, eax
jb 0x5f3a90
lea ecx, [ebp - 0x174]
mov byte [ebp + eax - 0x174], 0
mov dword [ebp - 0x14c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5f3ad2
sub ecx, edx
lea eax, [ebp - 0x174]
push ecx
push eax
lea ecx, [ebp - 0x15c]
call fcn.00407ab0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x30]
call fcn.006478f0
push eax
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x30]
call fcn.00647960
lea edx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x48]
call fcn.00405660
lea ecx, [ebp - 0x1d0]
call fcn.00407a10
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x1a
call fcn.00407a10
push 3
push 0x7d8664
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
call fcn.00407ab0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x30]
call fcn.006478f0
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x30]
call fcn.00647960
lea edx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xb4]
call fcn.00405660
lea ecx, [ebp - 0x1a4]
call fcn.00407a10
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x1f
call fcn.00407a10
xor eax, eax
mov dword [ebp - 0x8c], 0
push eax
push 0x7cd378
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
call fcn.004044f0
mov byte [ebp - 4], 0x20
test edi, edi
jne 0x5f3c18
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
push dword [ebp - 0x74]
cmovae eax, dword [ebp - 0x84]
lea ecx, [ebp - 0xcc]
push eax
call fcn.004044f0
mov edi, dword [ebp - 0xbc]
push 0x58
lea eax, [ebp - 0x124]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x124]
push eax
call fcn.0042bce0
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x124], 0
je 0x5f3d6e
mov eax, 4
mov dword [ebp - 0x138], 0xd500db
mov dword [ebp - 0x13c], eax
xor ecx, ecx
mov dword [ebp - 0x134], 0xdf00d3
mov dword [ebp - 0x130], 0xbc
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x138], ax
inc ecx
mov eax, dword [ebp - 0x13c]
cmp ecx, eax
jb 0x5f3c80
xor ecx, ecx
mov word [ebp + eax*2 - 0x138], cx
xor eax, eax
mov dword [ebp - 0x194], ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x190], 7
lea edx, [ecx + 2]
mov word [ebp - 0x1a4], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5f3cc5
sub ecx, edx
lea eax, [ebp - 0x138]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1a4]
call fcn.004044f0
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0xd4]
call fcn.0048d790
push eax
lea ecx, [ebp - 0x15c]
call fcn.00404120
lea ecx, [ebp - 0x9c]
call fcn.00404490
movups xmm0, xmmword [ebp - 0x15c]
xor eax, eax
lea ecx, [ebp - 0x15c]
mov word [ebp - 0x15c], ax
movups xmmword [ebp - 0x9c], xmm0
movq xmm0, qword [ebp - 0x14c]
movq qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 7
call fcn.00404490
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x21
call fcn.00404490
jmp 0x5f3e8a
mov dword [ebp - 0x168], 7
xor eax, eax
mov dword [ebp - 0x164], 0xccc3dcd3
mov dword [ebp - 0x160], 0xbfdacfd3
nop
lea ecx, [eax - 0x48]
xor byte [ebp + eax - 0x164], cl
inc eax
mov ecx, dword [ebp - 0x168]
cmp eax, ecx
jb 0x5f3d90
mov byte [ebp + ecx - 0x164], 0
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x194], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5f3dd1
sub ecx, edx
lea eax, [ebp - 0x164]
push ecx
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00407ab0
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 0x23
push eax
lea ecx, [ebp - 0x30]
call fcn.006478f0
push eax
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x30]
call fcn.00647960
lea edx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x15c]
call fcn.00405660
mov esi, eax
lea eax, [ebp - 0xb4]
cmp eax, esi
je 0x5f3e62
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xb4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xa4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x15c]
call fcn.00404490
lea ecx, [ebp - 0x1d0]
call fcn.00407a10
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x21
call fcn.00407a10
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0xcc]
cmovae eax, dword [ebp - 0x84]
cmp dword [ebp - 0xb8], 8
cmovae ecx, dword [ebp - 0xcc]
cmp edi, dword [ebp - 0x74]
jne 0x5f3eca
push edi
push eax
push ecx
call fcn.004090d0
add esp, 0xc
mov byte [ebp - 0x18c], 1
test eax, eax
je 0x5f3ed1
mov byte [ebp - 0x18c], 0
push dword [ebp - 0x18c]
lea eax, [ebp - 0x9c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a8], esp
push eax
call fcn.00404120
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x1ac], esp
mov ecx, esp
push eax
call fcn.00404120
sub esp, 0x18
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1b0], esp
mov ecx, esp
push eax
call fcn.00404120
sub esp, 0x18
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x84]
mov ecx, esp
push eax
call fcn.00404120
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x21
call fcn.005a0410
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x18]
push eax
cmp dword [ebp - 0x14], ecx
je 0x5f3f5d
call fcn.005b6cd0
add dword [ebp - 0x18], 0x64
jmp 0x5f3f66
push ecx
lea ecx, [ebp - 0x1c]
call fcn.005b6b00
lea ecx, [ebp - 0x204]
call fcn.00404490
lea ecx, [ebp - 0x21c]
call fcn.00404490
lea ecx, [ebp - 0x234]
call fcn.00404490
lea ecx, [ebp - 0x24c]
call fcn.00404490
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xd4]
push eax
push dword [eax]
lea eax, [ebp - 0x1b8]
push eax
call fcn.0042d190
push 0x40
push dword [ebp - 0xd4]
call fcn.0076d313
add esp, 8
lea ecx, [ebp - 0xec]
call fcn.00404490
lea ecx, [ebp - 0x104]
call fcn.00404490
lea ecx, [ebp - 0x11c]
call fcn.00404490
lea ecx, [ebp - 0x9c]
call fcn.00404490
lea ecx, [ebp - 0xb4]
call fcn.00404490
lea ecx, [ebp - 0x48]
call fcn.00404490
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x10
call fcn.00404490
push esi
call fcn.0069bc80
add esp, 4
cmp eax, 0x65
jne 0x5f401d
mov al, 1
jmp 0x5f4023
cmp eax, 0x64
setne al
mov byte [ebp - 0x28], al
test al, al
je 0x5f3980
mov edi, dword [ebp - 0x12c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.00406980
lea ecx, [ebp - 0xcc]
call fcn.00404490
mov byte [ebp - 4], 0x29
cmp byte [ebp - 0x30], 0
je 0x5f405d
push esi
call fcn.0069acc0
add esp, 4
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5f4072
mov edx, 1
call fcn.007058e0
lea ecx, [ebp - 0x6c]
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5f4113
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005b6c90
mov ecx, dword [ebp - 0x14]
mov eax, 0x51eb851f
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x64
mov eax, esi
cmp ecx, 0x1000
jb 0x5f4109
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5f4109
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edi, dword [ebp - 0x12c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.00406980
mov byte [ebp - 4], 0xe
test esi, esi
je 0x5f40f5
cmp byte [ebp - 0x30], 0
je 0x5f40f5
push esi
call fcn.0069acc0
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5f4072
jmp 0x5f4068
push ecx
push esi
call fcn.0076d313
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 4