Function at 0x4077c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49762f
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 0x4080de
cmp dword [edi + 0x10], 0
je 0x4080de
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 0x4078ef
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4078e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408136
push edx
push ecx
call fcn.0046e38b
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 0x407938
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40792e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408136
push edx
push ecx
call fcn.0046e38b
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 0x40795f
mov dword [ebp - 0x174], esi
jmp 0x4079a6
push 0x14
call fcn.0046e356
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 0x4080de
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 0x4079e4
mov byte [ebp - 0x165], 0
jmp 0x408078
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 0x4b22f4
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
jne 0x40805a
mov eax, dword [ebp - 0x174]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x178]
push eax
push 0x4b227c
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
jne 0x40805a
mov eax, dword [ebp - 0x174]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x198]
push eax
push 0x4b2324
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
jne 0x40805a
cmp dword [edi + 0x14], 8
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ecx]
mov esi, dword [eax + 0xf0]
jb 0x407a7f
mov edi, dword [edi]
push 0
push 0
push edi
push ecx
mov ecx, esi
call dword [0x49b388]
call esi
test eax, eax
jne 0x40805a
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 0x408035
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 0x408035
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 0x408035
mov eax, dword [ebp - 0x178]
xorps xmm0, xmm0
mov edx, 0xc2efa726
xor esi, esi
mov eax, dword [eax]
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], 0
mov dword [ebp - 0x184], 0x4b239c
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
imul edx, edx, 0x3671
mov dword [eax + esi], ecx
add esi, 4
add edx, 0x70e402
rol edx, 3
cmp esi, 8
jb 0x407b60
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x16c], 0x4b239c
mov dword [ebp - 0x184], eax
mov esi, 8
nop dword [eax]
nop word [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 0x407bb0
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 0x407bf5
sub esp, 0x18
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x114]
push esp
call fcn.004059a0
mov ecx, edx
call fcn.00406c40
add esp, 0x18
test al, al
je 0x408035
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 0x24]
cmp dword [ebp - 0x114], eax
jne 0x408035
cmp dword [ebp - 0x110], 0
jne 0x408035
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.00470240
lea eax, [ebp - 0x164]
mov dword [ebp - 0x170], 0x4b2340
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov edx, 0xbe614c1
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
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
rol edx, 4
cmp esi, 0x4c
jb 0x407c90
mov dword [ebp - 0x170], 0x4b2340
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 dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x407d20
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004059a0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x94], 0
je 0x407e1b
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x2c]
mov word [ebp - 0x20], 0
mov edx, 0xc56b0cd3
mov dword [ebp - 0x170], 0x4b221c
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
imul edx, edx, 0x41c64e6d
mov dword [eax + esi], ecx
add esi, 4
add edx, 0x3039
rol edx, 1
cmp esi, 0xc
jb 0x407d80
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x170], 0x4b221c
mov dword [ebp - 0x16c], eax
mov esi, 0xc
nop dword [eax]
nop word [eax + 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 0x407dd0
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.0040e190
test eax, eax
je 0x407e1b
mov dl, 1
jmp 0x407e1d
xor dl, dl
test byte [ebp - 0x188], 1
je 0x407e3b
mov ecx, 0xe
lea eax, [ebp - 0x2c]
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x407e30
test dl, dl
je 0x40802a
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 0x407e81
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x165], 0
call fcn.00403830
jmp 0x40803c
mov ecx, dword [ebp - 0x178]
push 2
push 0x4b21fc
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 0x407ed8
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x28]
push 1
push 0x4b2200
push 0
call fcn.00404990
add esp, 0xc
cmp eax, 0xffffffff
je 0x407f1f
mov ecx, dword [edi + 0x28]
cmp eax, ecx
jae 0x407f1f
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, 0x898cd033
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], 0x4b23cc
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, 0x343fd
mov dword [eax + esi], ecx
add esi, 4
add edx, 0x269ec3
ror edx, 2
cmp esi, 0xc
jb 0x407f60
mov dword [ebp - 0x170], 0x4b23cc
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 word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x407fe0
sub esp, 0x18
lea ecx, [ebp - 0x5c]
push esp
call fcn.004059a0
lea ecx, [ebp - 0x74]
call fcn.00407130
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 0x40803c
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 0x408061
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 0x4080e5
mov esi, dword [ebp - 0x174]
mov eax, dword [esi]
test eax, eax
je 0x408094
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
test eax, eax
je 0x4080a2
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.0046e38b
add esp, 8
jmp 0x4080e5
mov byte [ebp - 0x165], 0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x408115
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40810b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408136
push edx
push ecx
call fcn.0046e38b
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.0046e348
mov esp, ebp
pop ebp
ret
call fcn.00473154
int3