Function at 0x5e3e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ad097
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
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 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.005d83b0
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 0x7cd374
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.00770fe0
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.00773690
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.00774de0
test al, al
jne 0x5e409b
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.007711e0
lea ecx, [ebp - 0x11c]
call fcn.00407a10
lea ecx, [ebp - 0x104]
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5e4aa4
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 0x5e4a9a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5e4a9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [ebp - 0xd4]
call fcn.00772ad0
test al, al
jne 0x5e4150
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.007711e0
lea ecx, [ebp - 0x11c]
call fcn.00407a10
lea ecx, [ebp - 0x104]
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5e4aa4
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 0x5e4a9a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5e4a9a
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], 0xdecec1dd
mov dword [ebp - 0x24], 0xd0d7ced2
mov dword [ebp - 0x20], 0xc2b2ae
call fcn.004131e0
push eax
lea ecx, [ebp - 0xd4]
call fcn.00771500
push eax
lea ecx, [ebp - 0xec]
call fcn.00770aa0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xf
call fcn.00772ac0
test al, al
jne 0x5e4a5e
xorps xmm0, xmm0
mov dword [ebp - 0x1ac], 8
xor eax, eax
movq qword [ebp - 0x94], xmm0
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1a8], 0xcfcedccb
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x1a4], 0xccd9d3d5
mov byte [ebp - 0x1a0], 0xc0
mov word [ebp - 0x19f], ax
mov byte [ebp - 0x19d], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0xec]
call fcn.00771500
push eax
lea ecx, [ebp - 0xa4]
call fcn.00770aa0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
call fcn.00772ac0
test al, al
jne 0x5e4a53
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.00772700
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 0x5e4a4b
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.00771390
push eax
lea ecx, [ebp - 0x44]
call fcn.00770aa0
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], 0xd3ced8c8
mov dword [ebp - 0x1b8], ecx
mov byte [ebp - 0x1b0], 0xbc
mov word [ebp - 0x1af], ax
mov byte [ebp - 0x1ad], al
nop dword [eax]
lea ecx, [eax - 0x48]
xor byte [ebp + eax - 0x1b4], cl
inc eax
mov ecx, dword [ebp - 0x1b8]
cmp eax, ecx
jb 0x5e4300
lea eax, [ebp - 0x1b4]
mov byte [ebp + ecx - 0x1b4], 0
push eax
lea ecx, [ebp - 0x44]
call fcn.00771500
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x7c], 0
jne 0x5e4373
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0x74]
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.007711e0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x11
call fcn.00407a10
jmp 0x5e4a30
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 0x7cd374
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 0x5e44a6
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 0x5e44ad
mov byte [ebp - 0x191], 0
mov eax, dword [ebp - 0x198]
test al, 0x20
je 0x5e44d6
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 0x5e4563
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0x74]
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.007711e0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x11
call fcn.00407a10
mov eax, edi
mov dword [ebp - 0x198], eax
jmp 0x5e4a2a
movaps xmm0, xmmword [0x7e3ea0]
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.00772a60
test al, al
je 0x5e45c8
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0x74]
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.007711e0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x11
call fcn.00407a10
mov dword [ebp - 0x198], edi
jmp 0x5e4a30
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], 0xd2d4d8d5
mov dword [ebp - 0x1f4], 0xcbcdd8da
mov byte [ebp - 0x1f0], 0xc0
mov word [ebp - 0x1ef], ax
mov byte [ebp - 0x1ed], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00772a60
test al, al
jne 0x5e466f
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 0x5e4676
mov byte [ebp - 0x191], 0
mov dword [ebp - 4], 0x1d
mov eax, dword [ebp - 0x198]
test al, 0x40
je 0x5e46a6
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 0x5e46c3
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041a340
jmp 0x5e4772
xor eax, eax
mov dword [ebp - 0x1ec], 8
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1e8], 0xd2d4d8d5
mov dword [ebp - 0x1e4], 0xcbcdd8da
mov byte [ebp - 0x1e0], 0xc0
mov word [ebp - 0x1df], ax
mov byte [ebp - 0x1dd], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00771500
mov esi, eax
mov dword [ebp - 0x218], 4
xor eax, eax
mov dword [ebp - 0x214], 0xded7d8d6
lea ecx, [ebp - 0x218]
mov byte [ebp - 0x210], 0xbc
mov word [ebp - 0x20f], ax
mov byte [ebp - 0x20d], al
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.007721f0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404030
lea ecx, [ebp - 0x240]
call fcn.00404490
cmp dword [ebp - 0x4c], 0
jne 0x5e47ab
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.005e5400
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404030
lea ecx, [ebp - 0x240]
call fcn.00404490
cmp dword [ebp - 0x4c], 0
jne 0x5e47ab
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041a340
push 0xc4
call fcn.0076d2e3
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.005d4280
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x20c]
mov edi, eax
mov dword [ebp - 0x20c], 8
xor eax, eax
mov dword [ebp - 0x208], 0xdad9d6d4
mov dword [ebp - 0x204], 0xd1d1d4c8
mov byte [ebp - 0x200], 0xc0
mov word [ebp - 0x1ff], ax
mov byte [ebp - 0x1fd], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00771500
mov ecx, eax
call fcn.00771ed0
mov dword [edi + 0xa4], eax
lea ecx, [ebp - 0x1dc]
xor eax, eax
mov dword [ebp - 0x1dc], 8
mov dword [ebp - 0x1d8], 0xd2d4d8d5
mov dword [ebp - 0x1d4], 0xcbcdd8da
mov byte [ebp - 0x1d0], 0xc0
mov word [ebp - 0x1cf], ax
mov byte [ebp - 0x1cd], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00771500
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1cc], 7
mov esi, eax
mov dword [ebp - 0x1c8], 0xc8c8dcce
mov dword [ebp - 0x1c4], 0xbfd0d2d5
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.007721f0
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], 0xd3ced8c8
mov byte [ebp - 0x1a0], 0xbc
mov word [ebp - 0x19f], ax
mov byte [ebp - 0x19d], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00771500
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.007721f0
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 0x5e4970
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.005862a0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0x1c]
call fcn.00585f30
mov byte [ebp - 4], 0x23
mov esi, dword [ebp - 0x224]
test esi, esi
je 0x5e49f2
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5e49f2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5e49f2
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.007711e0
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 0x5e4280
lea ecx, [ebp - 0x28]
call fcn.0056df60
lea ecx, [ebp - 0xa4]
call fcn.007711e0
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.007711e0
jmp 0x5e4025
push ecx
push edx
call fcn.0076d313
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.0076d59e
mov esp, ebp
pop ebp
ret 8