Function at 0x4077a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49761f
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x170], edx
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x188], 0
mov dword [ebp - 0xbc], 0
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x5c], 0x4b1638
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
mov byte [ebp - 4], 3
mov eax, dword [edx + 0x28]
or eax, dword [edx + 0x2c]
je 0x4080ae
cmp dword [edi + 0x10], 0
je 0x4080ae
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x64], 0
push eax
mov ecx, esi
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 4], 3
call fcn.00403880
lea eax, [ebp - 0x74]
lea ecx, [esi + 0x18]
push eax
call fcn.00403880
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x4078cf
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4078c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408106
push edx
push ecx
call fcn.0046e37b
add esp, 8
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x407918
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40790e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408106
push edx
push ecx
call fcn.0046e37b
add esp, 8
mov esi, dword [ebp - 0x180]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
test esi, esi
je 0x40793f
mov dword [ebp - 0x174], esi
jmp 0x407986
push 0x14
call fcn.0046e346
add esp, 4
mov ecx, eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [ebp - 0x174], eax
call fcn.00405ae0
test al, al
je 0x4080ae
mov esi, dword [ebp - 0x174]
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], ecx
mov byte [ebp - 4], 6
mov esi, dword [esi + 0xc]
mov ecx, esi
push 4
push 0
call dword [0x49b388]
call esi
cmp eax, 1
jne 0x4079c4
mov byte [ebp - 0x165], 0
jmp 0x408048
lea eax, [ebp - 0x174]
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x174]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x17c]
push eax
push 0x4b2270
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
jne 0x40802a
mov eax, dword [ebp - 0x174]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x178]
push eax
push 0x4b2260
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
jne 0x40802a
mov eax, dword [ebp - 0x174]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x198]
push eax
push 0x4b22a4
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
jne 0x40802a
cmp dword [edi + 0x14], 8
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ecx]
mov esi, dword [eax + 0xf0]
jb 0x407a5f
mov edi, dword [edi]
push 0
push 0
push edi
push ecx
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
jne 0x40802a
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x178]
push 0x1388
push 0
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x174]
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
jne 0x408005
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x88]
lea eax, [ebp - 0x5c]
push eax
push ecx
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
jne 0x408005
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x8c]
lea eax, [ebp - 0x190]
push eax
push ecx
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
jne 0x408005
mov eax, dword [ebp - 0x178]
xorps xmm0, xmm0
mov edx, 0x655c9ccf
xor esi, esi
mov eax, dword [eax]
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], 0
mov dword [ebp - 0x184], 0x4b22c4
mov edi, dword [eax + 0x108]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x16c], eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + esi]
mov eax, dword [ebp - 0x16c]
xor ecx, edx
mov dword [eax + esi], ecx
mov eax, edx
shr eax, 7
add esi, 4
xor edx, eax
mov eax, edx
shl eax, 9
xor edx, eax
mov eax, edx
shr eax, 0xd
xor edx, eax
neg edx
cmp esi, 8
jb 0x407b40
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x16c], 0x4b22c4
mov dword [ebp - 0x184], eax
mov esi, 8
nop dword [eax + eax]
mov eax, dword [ebp - 0x16c]
mov cl, byte [eax + esi]
mov eax, dword [ebp - 0x184]
xor cl, dl
shr edx, 8
mov byte [eax + esi], cl
inc esi
cmp esi, 0xa
jb 0x407b90
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
push eax
push 1
push dword [ebp - 0x178]
mov ecx, edi
call dword [0x49b388]
call edi
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1c]
mov ecx, 0xa
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x407bd5
sub esp, 0x18
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x114]
push esp
call fcn.004059a0
mov ecx, edx
call fcn.00406c20
add esp, 0x18
test al, al
je 0x408005
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 0x24]
cmp dword [ebp - 0x114], eax
jne 0x408005
cmp dword [ebp - 0x110], 0
jne 0x408005
mov eax, dword [ebp - 0x178]
push 0x4d
push 0
mov eax, dword [eax]
mov edi, dword [eax + 0x108]
lea eax, [ebp - 0x164]
push eax
call fcn.00470230
lea eax, [ebp - 0x164]
mov dword [ebp - 0x170], 0x4b2390
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov edx, 0x35eafb9c
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + esi]
mov eax, dword [ebp - 0x16c]
xor ecx, edx
imul edx, edx, 0x41c64e6d
mov dword [eax + esi], ecx
add esi, 4
add edx, 0x3039
ror edx, 2
cmp esi, 0x4c
jb 0x407c70
mov dword [ebp - 0x170], 0x4b2390
lea eax, [ebp - 0x164]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x170]
mov cl, byte [eax + 0x4c]
mov eax, dword [ebp - 0x16c]
xor cl, dl
mov byte [eax + 0x4c], cl
push 2
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 0xf
push eax
push 1
push dword [ebp - 0x178]
mov ecx, edi
call dword [0x49b388]
call edi
mov ecx, 0x4d
lea eax, [ebp - 0x164]
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x407cf0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004059a0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x94], 0
je 0x407deb
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x2c]
mov word [ebp - 0x20], 0
mov edx, 0x39ede7e2
mov dword [ebp - 0x170], 0x4b230c
xor esi, esi
mov dword [ebp - 0x16c], eax
nop word [eax + eax]
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + esi]
mov eax, dword [ebp - 0x16c]
xor ecx, edx
mov dword [eax + esi], ecx
mov eax, edx
shl eax, 0xd
add esi, 4
xor edx, eax
mov eax, edx
shr eax, 0x11
xor edx, eax
mov eax, edx
shl eax, 5
xor edx, eax
ror edx, 3
cmp esi, 0xc
jb 0x407d50
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x170], 0x4b230c
mov dword [ebp - 0x16c], eax
mov esi, 0xc
nop dword [eax]
mov eax, dword [ebp - 0x170]
mov cl, byte [eax + esi]
mov eax, dword [ebp - 0x16c]
xor cl, dl
shr edx, 8
mov byte [eax + esi], cl
inc esi
cmp esi, 0xe
jb 0x407da0
cmp dword [ebp - 0x90], 0x10
lea ecx, [ebp - 0xa4]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x188], 1
cmovae ecx, dword [ebp - 0xa4]
call fcn.0040e160
test eax, eax
je 0x407deb
mov dl, 1
jmp 0x407ded
xor dl, dl
test byte [ebp - 0x188], 1
je 0x407e0b
mov ecx, 0xe
lea eax, [ebp - 0x2c]
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x407e00
test dl, dl
je 0x407ffa
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x90]
mov eax, dword [ebp - 0x190]
and eax, 0xfffffff3
push eax
push ecx
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
je 0x407e51
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x165], 0
call fcn.00403830
jmp 0x40800c
mov ecx, dword [ebp - 0x178]
push 2
push 0x4b2200
push 1
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x108]
mov ecx, esi
call dword [0x49b388]
call esi
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004059a0
mov edi, dword [ebp - 0x18c]
push eax
lea ecx, [edi + 0x18]
call fcn.00403880
lea ecx, [ebp - 0xd4]
call fcn.00403830
cmp dword [edi + 0x2c], 0x10
lea ecx, [edi + 0x18]
jb 0x407ea8
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x28]
push 1
push 0x4b2204
push 0
call fcn.00404990
add esp, 0xc
cmp eax, 0xffffffff
je 0x407eef
mov ecx, dword [edi + 0x28]
cmp eax, ecx
jae 0x407eef
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [edi + 0x18]
call fcn.004037a0
push eax
lea ecx, [edi + 0x18]
call fcn.00403880
lea ecx, [ebp - 0xec]
call fcn.00403830
mov eax, dword [ebp - 0x178]
xorps xmm0, xmm0
mov edx, 0xfa1bdaec
xor esi, esi
mov eax, dword [eax]
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x34], 0
mov edi, dword [eax + 0x108]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x170], 0x4b22b4
mov dword [ebp - 0x16c], eax
nop word [eax + eax]
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + esi]
mov eax, dword [ebp - 0x16c]
xor ecx, edx
imul edx, edx, 0x43fd43fd
mov dword [eax + esi], ecx
add esi, 4
add edx, 0xc39ec3
not edx
cmp esi, 0xc
jb 0x407f30
mov dword [ebp - 0x170], 0x4b22b4
lea eax, [ebp - 0x40]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x170]
mov cl, byte [eax + 0xc]
mov eax, dword [ebp - 0x16c]
xor cl, dl
mov byte [eax + 0xc], cl
push 2
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x12
push eax
push 1
push dword [ebp - 0x178]
mov ecx, edi
call dword [0x49b388]
call edi
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x40]
mov ecx, 0xd
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x407fb0
sub esp, 0x18
lea ecx, [ebp - 0x5c]
push esp
call fcn.004059a0
lea ecx, [ebp - 0x74]
call fcn.00407110
mov ecx, dword [ebp - 0x18c]
add esp, 0x18
push eax
call fcn.00403880
lea ecx, [ebp - 0x74]
call fcn.00403830
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x165], 1
call fcn.00403830
jmp 0x40800c
lea ecx, [ebp - 0xa4]
call fcn.00403830
mov byte [ebp - 0x165], 0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x17c]
push 0
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x68]
mov ecx, esi
call dword [0x49b388]
call esi
jmp 0x408031
mov byte [ebp - 0x165], 0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x174]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x49b388]
call esi
cmp dword [ebp - 0x180], 0
jne 0x4080b5
mov esi, dword [ebp - 0x174]
mov eax, dword [esi]
test eax, eax
je 0x408064
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
test eax, eax
je 0x408072
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
movups xmm0, xmmword [ebp - 0x30]
push 0x14
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push dword [ebp - 0x174]
call fcn.0046e37b
add esp, 8
jmp 0x4080b5
mov byte [ebp - 0x165], 0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4080e5
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4080db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408106
push edx
push ecx
call fcn.0046e37b
add esp, 8
mov al, byte [ebp - 0x165]
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.0046e338
mov esp, ebp
pop ebp
ret
call fcn.00473144
int3