Function at 0x41a8b0
Capabilities:
Encode data using xor
Get process image filename

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447c3f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2b0
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x26c], esi
xor eax, eax
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x250], eax
cmp dword [esi + 0x10], eax
jne 0x41a9f9
movaps xmm0, xmmword [0x457220]
xor ecx, ecx
mov eax, 0x18
mov dword [ebp - 0x27c], 0xd1c2dcc2
mov dword [ebp - 0x290], eax
movups xmmword [ebp - 0x28c], xmm0
mov dword [ebp - 0x278], 0xdadcdbc5
mov byte [ebp - 0x274], 0xb5
mov word [ebp - 0x273], cx
mov byte [ebp - 0x271], cl
lea eax, [ecx - 0x63]
xor byte [ebp + ecx - 0x28c], al
inc ecx
mov eax, dword [ebp - 0x290]
cmp ecx, eax
jb 0x41a953
mov byte [ebp + eax - 0x28c], 0
xor ecx, ecx
mov dword [ebp - 0x268], 9
mov dword [ebp - 0x264], 0xea00f3
mov dword [ebp - 0x260], 0xcc00fb
mov dword [ebp - 0x25c], 0x8c00cd
mov dword [ebp - 0x258], 0xc800c7
mov dword [ebp - 0x254], 0xa600c9
nop
lea eax, [ecx + 0x9d]
xor word [ebp + ecx*2 - 0x264], ax
inc ecx
mov eax, dword [ebp - 0x268]
cmp ecx, eax
jb 0x41a9b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x264], cx
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [ebp - 0x28c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x10], eax
test eax, eax
je 0x41ae08
push 4
push 0x3000
push 0x100000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [ebp - 0x29c], edi
test edi, edi
je 0x41ae08
mov ecx, dword [ebp - 0x26c]
mov esi, edi
push 0
push 0x100000
push edi
mov ecx, dword [ecx + 0x10]
push 5
mov dword [ebp - 0x270], esi
call ecx
test eax, eax
js 0x41adfa
cmp dword [edi], 0
je 0x41adfa
nop dword [eax + eax]
push dword [esi + 0x44]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x298], edi
test edi, edi
je 0x41ade3
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004294d0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
xor eax, eax
mov dword [ebp - 0x22c], 0
xorps xmm0, xmm0
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x258], 0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x254], 7
lea edx, [eax + 2]
movups xmmword [ebp - 0x23c], xmm0
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41aae0
sub eax, edx
lea ecx, [ebp - 0x268]
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040b6e0
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.0041ae30
xor ecx, ecx
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], cx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], ecx
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.0041bf90
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2a8]
cmp edx, 8
jb 0x41ab9f
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ae26
push edx
push ecx
call fcn.004274df
add esp, 8
xor eax, eax
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x41ac00
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41abf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ae26
push edx
push ecx
call fcn.004274df
add esp, 8
xor eax, eax
mov dword [ebp - 0x258], 0
xorps xmm0, xmm0
mov dword [ebp - 0x254], 7
push 0x44
mov word [ebp - 0x268], ax
movlpd qword [ebp - 0x228], xmm0
call fcn.00427134
mov edi, eax
add esp, 4
mov dword [ebp - 0x2a4], edi
push 0x44
push 0
push edi
call fcn.004294d0
xor eax, eax
mov dword [ebp - 0x278], 0
add esp, 0xc
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x250]
mov ecx, dword [esi + 0x48]
or eax, 1
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x294], eax
mov eax, dword [esi + 0x44]
lea esi, [edi + 8]
mov dword [edi], eax
lea eax, [ebp - 0x24c]
mov dword [edi + 4], ecx
mov ecx, esi
push eax
mov dword [ebp - 0x2a0], esi
call fcn.00409f50
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 9
lea ecx, [esi + 0x18]
push eax
call fcn.0041b220
lea eax, [ebp - 0x288]
mov dword [ebp - 4], 0xa
lea ecx, [edi + 0x2c]
push eax
call fcn.00409f50
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x228]
push dword [ebp - 0x2a0]
mov dword [ebp - 0x228], 0
push edi
mov dword [ebp - 0x224], 0
call fcn.0041bb80
mov dword [ebp - 4], 0xd
and dword [ebp - 0x250], 0xfffffffe
mov edx, dword [ebp - 0x274]
cmp edx, 8
jb 0x41ad46
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ad3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ae26
push edx
push ecx
call fcn.004274df
add esp, 8
mov edx, dword [ebp - 0x26c]
mov ecx, dword [edx + 8]
cmp dword [edx + 0xc], ecx
je 0x41ad80
mov esi, dword [ebp - 0x224]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test esi, esi
je 0x41ad6f
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x228]
mov dword [ecx], eax
mov dword [ecx + 4], esi
add dword [edx + 8], 8
jmp 0x41ad96
lea eax, [ebp - 0x228]
push eax
push ecx
lea ecx, [edx + 4]
call fcn.0041b660
mov esi, dword [ebp - 0x224]
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0xe
test esi, esi
je 0x41adcb
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x41adcb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x41adcb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041a0a0
mov esi, dword [ebp - 0x270]
add esi, dword [esi]
mov dword [ebp - 0x270], esi
cmp dword [esi], 0
jne 0x41aa50
mov edi, dword [ebp - 0x29c]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00426e91
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042c3c9
int3