Function at 0x5f7a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b065d
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x280], esi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2cc], edi
mov dword [ebp - 0x284], edi
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 - 0xa0], 0x27
mov dword [ebp - 0x9c], 0xd800f5
mov dword [ebp - 0x98], 0xdf00ce
mov dword [ebp - 0x94], 0xdb00c2
mov dword [ebp - 0x90], 0xd300dd
mov dword [ebp - 0x8c], 0xc100d4
mov dword [ebp - 0x88], 0xd000ef
mov dword [ebp - 0x84], 0xd000d0
mov dword [ebp - 0x80], 0xcd00d6
mov dword [ebp - 0x7c], 0xce00d5
mov dword [ebp - 0x78], 0xcc00e4
mov dword [ebp - 0x74], 0xcc00dc
mov dword [ebp - 0x70], 0xae00cb
mov dword [ebp - 0x6c], 0xb000a4
mov dword [ebp - 0x68], 0xa7009c
mov dword [ebp - 0x64], 0xa800aa
mov dword [ebp - 0x60], 0xad00b3
mov dword [ebp - 0x5c], 0xbe00a7
mov dword [ebp - 0x58], 0xa600e5
mov dword [ebp - 0x54], 0xa100be
mov dword [ebp - 0x50], 0xd000a1
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x9c], ax
inc ecx
mov eax, dword [ebp - 0xa0]
cmp ecx, eax
jb 0x5f7b20
xor ecx, ecx
mov word [ebp + eax*2 - 0x9c], cx
lea ecx, [ebp - 0x188]
mov eax, dword [esi + 0xb8]
add eax, 0xcc
push eax
call fcn.00404120
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a0]
mov eax, dword [esi + 0xb8]
add eax, 0x6c
push eax
call fcn.00404120
push 0x7cf384
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.00408060
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00413490
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00408060
add esp, 0x24
lea ecx, [ebp - 0x2a8]
call fcn.00404490
lea ecx, [ebp - 0x2e4]
call fcn.00404490
lea ecx, [ebp - 0x1a0]
call fcn.00404490
lea ecx, [ebp - 0x188]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 7
mov word [ebp - 0x2b4], ax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00403b80
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 0xc
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 4], 9
test al, al
lea ecx, [ebp - 0x29c]
sete byte [ebp - 0x25d]
call fcn.00404220
lea ecx, [ebp - 0x2b4]
call fcn.00404490
cmp byte [ebp - 0x25d], 0
je 0x5f7d02
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xc8]
mov dword [edi], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 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 0x5f8653
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005b7cb0
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 0x5f8649
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5f8649
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor eax, eax
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 7
mov word [ebp - 0x2b4], ax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00403b80
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00418020
add esp, 8
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x11
call fcn.00404220
lea ecx, [ebp - 0x2b4]
call fcn.00404490
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
push 0
movups xmmword [ebp - 0x4c], xmm0
movq qword [ebp - 0x3c], xmm0
call fcn.007725c0
push 0x74
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 0x12
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x25c]
call fcn.00774c70
push 1
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x25c]
call fcn.007763c0
test al, al
jne 0x5f7e81
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x25c]
call fcn.00430850
lea ecx, [ebp - 0x4c]
call fcn.007727c0
lea ecx, [ebp - 0x140]
call fcn.00407a10
lea ecx, [ebp - 0xc8]
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5f8653
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005b7cb0
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 0x5f8649
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5f8649
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [ebp - 0x4c]
call fcn.007740b0
test al, al
jne 0x5f7e9d
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00406980
jmp 0x5f7dfd
xorps xmm0, xmm0
mov dword [ebp - 0x2c8], 0xe
movups xmmword [ebp - 0xe0], xmm0
lea ecx, [ebp - 0x2c8]
movq qword [ebp - 0xd0], xmm0
movaps xmm0, xmmword [0x7e5600]
movups xmmword [ebp - 0x2c4], xmm0
call fcn.004131e0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00772ae0
push eax
lea ecx, [ebp - 0xe0]
call fcn.00772080
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x14
call fcn.007740b0
test al, al
jne 0x5f7f15
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00406980
lea ecx, [ebp - 0xe0]
call fcn.007727c0
jmp 0x5f7dfd
xorps xmm0, xmm0
mov dword [ebp - 0x27c], 8
xor eax, eax
movq qword [ebp - 0x118], xmm0
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x278], 0xcdc8c5c5
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x274], 0xdec0c7d9
mov byte [ebp - 0x270], 0xb1
mov word [ebp - 0x26f], ax
mov byte [ebp - 0x26d], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0xe0]
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x128]
call fcn.00772080
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x15
call fcn.007740b0
test al, al
jne 0x5f7fb7
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00406980
lea ecx, [ebp - 0x128]
call fcn.007727c0
lea ecx, [ebp - 0xe0]
call fcn.007727c0
jmp 0x5f7dfd
xorps xmm0, xmm0
lea ecx, [ebp - 0x128]
push 0x7dacf8
movups xmmword [ebp - 0x110], xmm0
movq qword [ebp - 0x100], xmm0
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x110]
call fcn.00772080
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x16
call fcn.007740b0
test al, al
jne 0x5f8029
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00406980
lea ecx, [ebp - 0x110]
call fcn.007727c0
lea ecx, [ebp - 0x128]
call fcn.007727c0
lea ecx, [ebp - 0xe0]
call fcn.007727c0
jmp 0x5f7dfd
xorps xmm0, xmm0
lea ecx, [ebp - 0x110]
push 0x7dacf8
movups xmmword [ebp - 0xf8], xmm0
movq qword [ebp - 0xe8], xmm0
call fcn.00772ae0
push eax
lea ecx, [ebp - 0xf8]
call fcn.00772080
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x17
call fcn.007740b0
test al, al
jne 0x5f80e7
sub esp, 0x18
mov dword [ebp - 0x26c], 5
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x268], 0xc9c3dec6
mov dword [ebp - 0x264], 0xaedf
mov esi, esp
call fcn.004131e0
push eax
lea ecx, [ebp - 0x110]
call fcn.00772ae0
push eax
mov ecx, esi
call fcn.00772080
lea ecx, [ebp - 0xf8]
call fcn.00772890
lea ecx, [ebp - 0xf8]
call fcn.007740b0
test al, al
jne 0x5f80e1
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00406980
lea ecx, [ebp - 0xf8]
call fcn.007727c0
jmp 0x5f8003
mov esi, dword [ebp - 0x280]
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 4
xor eax, eax
movq qword [ebp - 0x148], xmm0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x268], 0xd8d8c3c5
movups xmmword [ebp - 0x158], xmm0
mov byte [ebp - 0x264], 0xad
mov word [ebp - 0x263], ax
mov byte [ebp - 0x261], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0xf8]
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.00772080
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x18
call fcn.00773ed0
test al, al
jne 0x5f817f
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00406980
lea ecx, [ebp - 0x158]
call fcn.007727c0
lea ecx, [ebp - 0xf8]
call fcn.007727c0
jmp 0x5f8003
xorps xmm0, xmm0
mov byte [ebp - 0x25d], 0
movups xmmword [ebp - 0x1d0], xmm0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0x13
movq qword [ebp - 0x1c0], xmm0
movaps xmm0, xmmword [0x7e6010]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0xbccfdbd5
call fcn.004131e0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00772080
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x19
call fcn.007740b0
movzx ecx, byte [ebp - 0x25d]
test al, al
mov edx, 1
cmovne ecx, edx
mov edx, dword [esi + 0xb8]
mov dword [ebp - 0x284], ecx
lea ecx, [ebp - 0x1b8]
push 0
call fcn.005f0790
add esp, 4
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x1a
xor esi, esi
call fcn.00774b70
test eax, eax
je 0x5f860d
mov edi, dword [ebp - 0x1a8]
nop dword [eax]
push esi
lea ecx, [ebp - 0x158]
call fcn.00772990
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.007737d0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00404120
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00404120
push 0x7cf388
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x1d
call fcn.004040b0
cmp byte [ebp - 0x284], 0
mov byte [ebp - 4], 0x1e
je 0x5f84e5
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2a8]
movq qword [ebp - 0x160], xmm0
push eax
movups xmmword [ebp - 0x170], xmm0
call fcn.00405710
add esp, 8
push eax
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1f
call fcn.00772970
push eax
lea ecx, [ebp - 0x170]
call fcn.00772080
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x21
call fcn.00407a10
xor eax, eax
mov dword [ebp - 0x26c], 4
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x268], 0xc8c2dfdc
mov byte [ebp - 0x264], 0xad
mov word [ebp - 0x263], ax
mov byte [ebp - 0x261], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x170]
call fcn.00772ae0
lea ecx, [ebp - 0x2e4]
push ecx
mov ecx, eax
call fcn.007737d0
push eax
lea ecx, [ebp - 0x34]
call fcn.00404030
lea ecx, [ebp - 0x2e4]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x290], 4
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x28c], 0xc9c6cbc7
mov byte [ebp - 0x288], 0xad
mov word [ebp - 0x287], ax
mov byte [ebp - 0x285], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x170]
call fcn.00772ae0
lea ecx, [ebp - 0x2e4]
push ecx
mov ecx, eax
call fcn.007737d0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00404030
lea ecx, [ebp - 0x2e4]
call fcn.00404490
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x27c], 0xa
mov dword [ebp - 0x278], 0xdecacfda
mov dword [ebp - 0x274], 0xc5f0c6ce
mov dword [ebp - 0x270], 0xb3dec3
call fcn.004131e0
push eax
lea ecx, [ebp - 0x170]
call fcn.00772ae0
lea ecx, [ebp - 0x2e4]
push ecx
mov ecx, eax
call fcn.007737d0
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00404030
lea ecx, [ebp - 0x2e4]
call fcn.00404490
push 0x58
lea eax, [ebp - 0xa4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1e8]
lea ecx, [ebp - 0xa4]
push eax
call fcn.0042bce0
mov byte [ebp - 4], 0x22
cmp dword [ebp - 0xa4], 0
je 0x5f84cb
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 4
mov dword [ebp - 0x2c0], 0xc600ca
mov dword [ebp - 0x2bc], 0xc800c2
mov dword [ebp - 0x2b8], 0xad
call fcn.00403e20
push eax
lea ecx, [ebp - 0x2a8]
call fcn.004040b0
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x23
push eax
lea ecx, [ebp - 0x54]
call fcn.0048e7f0
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00404120
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x188]
call fcn.00404030
lea ecx, [ebp - 0x2e4]
call fcn.00404490
lea ecx, [ebp - 0x2a8]
call fcn.00404490
lea ecx, [ebp - 0xa4]
call fcn.0042bd80
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x1e
call fcn.007727c0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x1b8]
cmovae eax, dword [ebp - 0x34]
cmp dword [ebp - 0x1a4], 8
cmovae ecx, dword [ebp - 0x1b8]
cmp edi, dword [ebp - 0x24]
jne 0x5f851f
push edi
push eax
push ecx
call fcn.004090d0
add esp, 0xc
mov byte [ebp - 0x280], 1
test eax, eax
je 0x5f8526
mov byte [ebp - 0x280], 0
push dword [ebp - 0x280]
lea eax, [ebp - 0x188]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2e8], esp
push eax
call fcn.00404120
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x2ec], esp
mov ecx, esp
push eax
call fcn.00404120
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x2f0], esp
mov ecx, esp
push eax
call fcn.00404120
sub esp, 0x18
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.00404120
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x1e
call fcn.005a1410
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x18]
push eax
cmp dword [ebp - 0x14], ecx
je 0x5f85b2
call fcn.005b7cf0
add dword [ebp - 0x18], 0x64
jmp 0x5f85bb
push ecx
lea ecx, [ebp - 0x1c]
call fcn.005b7b20
lea ecx, [ebp - 0xb0]
call fcn.004702a0
lea ecx, [ebp - 0x188]
call fcn.00404490
lea ecx, [ebp - 0x1e8]
call fcn.00404490
lea ecx, [ebp - 0x1a0]
call fcn.00404490
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1a
call fcn.00404490
lea ecx, [ebp - 0x158]
inc esi
call fcn.00774b70
cmp esi, eax
jb 0x5f8230
mov edi, dword [ebp - 0x2cc]
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00406980
lea ecx, [ebp - 0x1b8]
call fcn.00404490
lea ecx, [ebp - 0x1d0]
call fcn.007727c0
lea ecx, [ebp - 0x158]
call fcn.007727c0
lea ecx, [ebp - 0xf8]
call fcn.007727c0
jmp 0x5f8003
push ecx
push esi
call fcn.0076e8f3
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.0076eb7e
mov esp, ebp
pop ebp
ret 4