Function at 0x5e4e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ae827
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
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 edi, ecx
mov dword [ebp - 0x1bc], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x19c], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.005d93e0
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
mov eax, dword [edi + 0x44]
add eax, 0x84
push eax
call fcn.00404120
mov edi, 0x80
mov dword [ebp - 0x198], edi
push 0x7cf384
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00408060
push esi
push eax
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 3
push eax
call fcn.00413490
add esp, 0x18
lea ecx, [ebp - 0xbc]
call fcn.00404490
lea ecx, [ebp - 0xa4]
call fcn.00404490
lea ecx, [ebp - 0x74]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x24c]
call fcn.00403b80
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00418020
add esp, 8
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xc
call fcn.00404220
lea ecx, [ebp - 0x24c]
call fcn.00404490
xorps xmm0, xmm0
push 0
lea ecx, [ebp - 0xd4]
movq qword [ebp - 0xc4], xmm0
movups xmmword [ebp - 0xd4], xmm0
call fcn.007725c0
push 0x74
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xd
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x190]
call fcn.00774c70
push 1
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x190]
call fcn.007763c0
test al, al
jne 0x5e50eb
mov esi, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
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 - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x190]
call fcn.00430850
lea ecx, [ebp - 0xd4]
call fcn.007727c0
lea ecx, [ebp - 0x11c]
call fcn.00407a10
lea ecx, [ebp - 0x104]
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5e5af4
mov edx, dword [ebp - 0x18]
push ecx
call fcn.00413a10
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edx, dword [ebp - 0x1c]
sub ecx, edx
and ecx, 0xfffffff8
mov eax, edx
cmp ecx, 0x1000
jb 0x5e5aea
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5e5aea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [ebp - 0xd4]
call fcn.007740b0
test al, al
jne 0x5e51a0
mov esi, dword [ebp - 0x1c0]
lea ecx, [ebp - 0x190]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
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 - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00430850
lea ecx, [ebp - 0xd4]
call fcn.007727c0
lea ecx, [ebp - 0x11c]
call fcn.00407a10
lea ecx, [ebp - 0x104]
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5e5af4
mov edx, dword [ebp - 0x18]
push ecx
call fcn.00413a10
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edx, dword [ebp - 0x1c]
sub ecx, edx
and ecx, 0xfffffff8
mov eax, edx
cmp ecx, 0x1000
jb 0x5e5aea
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5e5aea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0xa
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0xdc], xmm0
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0x28], 0xc9dfd2cc
mov dword [ebp - 0x24], 0xdfc6ddc3
mov dword [ebp - 0x20], 0xb3c1df
call fcn.004131e0
push eax
lea ecx, [ebp - 0xd4]
call fcn.00772ae0
push eax
lea ecx, [ebp - 0xec]
call fcn.00772080
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xf
call fcn.007740a0
test al, al
jne 0x5e5aae
xorps xmm0, xmm0
mov dword [ebp - 0x1ac], 8
xor eax, eax
movq qword [ebp - 0x94], xmm0
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1a8], 0xd8dfcfda
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x1a4], 0xc3c8c0c4
mov byte [ebp - 0x1a0], 0xb1
mov word [ebp - 0x19f], ax
mov byte [ebp - 0x19d], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0xec]
call fcn.00772ae0
push eax
lea ecx, [ebp - 0xa4]
call fcn.00772080
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
call fcn.007740a0
test al, al
jne 0x5e5aa3
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0xa4]
push eax
movq qword [ebp - 0x28], xmm0
call fcn.00773ce0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], ecx
cmp eax, ecx
je 0x5e5a9b
mov esi, dword [ebp - 0x1bc]
nop word [eax + eax]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00406bb0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xbc]
movq qword [ebp - 0x34], xmm0
push eax
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0x44], xmm0
call fcn.00772970
push eax
lea ecx, [ebp - 0x44]
call fcn.00772080
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004057b0
add esp, 8
mov byte [ebp - 4], 0x14
xor eax, eax
mov ecx, 4
mov dword [ebp - 0x1b4], 0xc4dfcbd9
mov dword [ebp - 0x1b8], ecx
mov byte [ebp - 0x1b0], 0xad
mov word [ebp - 0x1af], ax
mov byte [ebp - 0x1ad], al
nop dword [eax]
lea ecx, [eax - 0x57]
xor byte [ebp + eax - 0x1b4], cl
inc eax
mov ecx, dword [ebp - 0x1b8]
cmp eax, ecx
jb 0x5e5350
lea eax, [ebp - 0x1b4]
mov byte [ebp + ecx - 0x1b4], 0
push eax
lea ecx, [ebp - 0x44]
call fcn.00772ae0
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, eax
call fcn.007737d0
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x7c], 0
jne 0x5e53c3
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0x74]
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.007727c0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x11
call fcn.00407a10
jmp 0x5e5a80
mov eax, dword [esi + 0x44]
lea ecx, [ebp - 0x264]
add eax, 0x9c
push eax
call fcn.00404120
mov eax, edi
mov byte [ebp - 4], 0x16
or eax, 0x102
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x264]
push 0x7cf384
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00408060
mov ecx, edi
mov dword [ebp - 4], 0x17
or ecx, 0x106
mov edx, eax
mov dword [ebp - 0x19c], ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.00413520
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x27c], 0
or ecx, 0x10e
mov dword [ebp - 0x278], 7
mov dword [ebp - 0x19c], ecx
xor ecx, ecx
mov word [ebp - 0x28c], cx
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x26c], ecx
push eax
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x1a
call fcn.00403b80
mov dword [ebp - 4], 0x1b
mov eax, dword [ebp - 0x198]
or eax, 0x11e
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x28c]
push eax
call fcn.00418540
add esp, 4
test al, al
jne 0x5e54f6
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00403150
mov dword [ebp - 4], 0x1c
lea eax, [ebp - 0x2b0]
mov edi, dword [ebp - 0x198]
or edi, 0x20
push eax
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x19c], edi
call fcn.00418540
add esp, 4
mov byte [ebp - 0x191], 1
test al, al
je 0x5e54fd
mov byte [ebp - 0x191], 0
mov eax, dword [ebp - 0x198]
test al, 0x20
je 0x5e5526
and eax, 0xffffffdf
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x198], eax
call fcn.00404220
lea ecx, [ebp - 0x2b0]
call fcn.00404490
lea ecx, [ebp - 0x274]
call fcn.00404220
lea ecx, [ebp - 0x28c]
call fcn.00404490
lea ecx, [ebp - 0x2c8]
call fcn.00404490
lea ecx, [ebp - 0x240]
call fcn.00404490
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 0x264]
mov edi, dword [ebp - 0x198]
and edi, 0xffffffe1
mov dword [ebp - 0x198], edi
call fcn.00404490
cmp byte [ebp - 0x191], 0
je 0x5e55b3
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0x74]
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.007727c0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x11
call fcn.00407a10
mov eax, edi
mov dword [ebp - 0x198], eax
jmp 0x5e5a7a
movaps xmm0, xmmword [0x7e5b00]
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x260], 0xf
movups xmmword [ebp - 0x25c], xmm0
call fcn.004131e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00774040
test al, al
je 0x5e5618
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0x74]
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.007727c0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x11
call fcn.00407a10
mov dword [ebp - 0x198], edi
jmp 0x5e5a80
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 0x1fc], 8
mov dword [ebp - 0x1f8], 0xc5c5cbc4
mov dword [ebp - 0x1f4], 0xc4dccbcb
mov byte [ebp - 0x1f0], 0xb1
mov word [ebp - 0x1ef], ax
mov byte [ebp - 0x1ed], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00774040
test al, al
jne 0x5e56bf
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00403150
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x198]
or eax, 0x40
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x191], 1
test al, al
jne 0x5e56c6
mov byte [ebp - 0x191], 0
mov dword [ebp - 4], 0x1d
mov eax, dword [ebp - 0x198]
test al, 0x40
je 0x5e56f6
and eax, 0xffffffbf
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x198], eax
call fcn.00404220
lea ecx, [ebp - 0x2b0]
call fcn.00404490
cmp byte [ebp - 0x191], 0
je 0x5e5713
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041a340
jmp 0x5e57c2
xor eax, eax
mov dword [ebp - 0x1ec], 8
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1e8], 0xc5c5cbc4
mov dword [ebp - 0x1e4], 0xc4dccbcb
mov byte [ebp - 0x1e0], 0xb1
mov word [ebp - 0x1df], ax
mov byte [ebp - 0x1dd], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00772ae0
mov esi, eax
mov dword [ebp - 0x218], 4
xor eax, eax
mov dword [ebp - 0x214], 0xc9c6cbc7
lea ecx, [ebp - 0x218]
mov byte [ebp - 0x210], 0xad
mov word [ebp - 0x20f], ax
mov byte [ebp - 0x20d], al
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00772ae0
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.007737d0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404030
lea ecx, [ebp - 0x240]
call fcn.00404490
cmp dword [ebp - 0x4c], 0
jne 0x5e57fb
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.005e6460
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404030
lea ecx, [ebp - 0x240]
call fcn.00404490
cmp dword [ebp - 0x4c], 0
jne 0x5e57fb
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041a340
push 0xc4
call fcn.0076e8c3
mov esi, eax
mov dword [ebp - 0x268], esi
push 0xc4
push 0
push esi
mov byte [ebp - 4], 0x1f
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x1bc]
add esp, 0x10
mov ecx, dword [eax + 0x44]
lea eax, [ebp - 0x74]
push 2
push dword [ecx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.005d52b0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x20c]
mov edi, eax
mov dword [ebp - 0x20c], 8
xor eax, eax
mov dword [ebp - 0x208], 0xcdc8c5c5
mov dword [ebp - 0x204], 0xdec0c7d9
mov byte [ebp - 0x200], 0xb1
mov word [ebp - 0x1ff], ax
mov byte [ebp - 0x1fd], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00772ae0
mov ecx, eax
call fcn.007734b0
mov dword [edi + 0xa4], eax
lea ecx, [ebp - 0x1dc]
xor eax, eax
mov dword [ebp - 0x1dc], 8
mov dword [ebp - 0x1d8], 0xc5c5cbc4
mov dword [ebp - 0x1d4], 0xc4dccbcb
mov byte [ebp - 0x1d0], 0xb1
mov word [ebp - 0x1cf], ax
mov byte [ebp - 0x1cd], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00772ae0
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1cc], 7
mov esi, eax
mov dword [ebp - 0x1c8], 0xdfd9cfdf
mov dword [ebp - 0x1c4], 0xb0c1c1c4
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00772ae0
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.007737d0
push eax
lea ecx, [edi + 0xac]
call fcn.00404030
lea ecx, [ebp - 0x240]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x1a8], 4
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x1a4], 0xc4dfcbd9
mov byte [ebp - 0x1a0], 0xad
mov word [ebp - 0x19f], ax
mov byte [ebp - 0x19d], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00772ae0
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.007737d0
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x20
call fcn.00404120
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x264]
cmp ecx, eax
je 0x5e59c0
cmp dword [ebp - 0x250], 8
push dword [ebp - 0x254]
cmovae eax, dword [ebp - 0x264]
push eax
call fcn.004044f0
lea ecx, [ebp - 0x264]
call fcn.00404490
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x1d
call fcn.00404490
push dword [ebp - 0x268]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], 0
push edi
mov dword [ebp - 0x224], 0
call fcn.00587400
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0x1c]
call fcn.005870b0
mov byte [ebp - 4], 0x23
mov esi, dword [ebp - 0x224]
test esi, esi
je 0x5e5a42
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5e5a42
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5e5a42
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x5c]
call fcn.00404490
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0x74]
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.007727c0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x11
call fcn.00407a10
mov esi, dword [ebp - 0x1bc]
mov edi, dword [ebp - 0x198]
mov eax, dword [ebp - 0x220]
add eax, 0x18
mov dword [ebp - 0x220], eax
cmp eax, dword [ebp - 0x21c]
jne 0x5e52d0
lea ecx, [ebp - 0x28]
call fcn.0056f100
lea ecx, [ebp - 0xa4]
call fcn.007727c0
mov esi, dword [ebp - 0x1c0]
lea ecx, [ebp - 0xec]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
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 - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.007727c0
jmp 0x5e5075
push ecx
push edx
call fcn.0076e8f3
add esp, 8
mov eax, esi
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 8