Function at 0x41bc80
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 0x46feff
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2b0
mov eax, dword [0x48c084]
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 0x41bdc9
movaps xmm0, xmmword [0x483220]
xor ecx, ecx
mov eax, 0x18
mov dword [ebp - 0x27c], 0xaaa7bba7
mov dword [ebp - 0x290], eax
movups xmmword [ebp - 0x28c], xmm0
mov dword [ebp - 0x278], 0xa1a1a4b8
mov byte [ebp - 0x274], 0xd0
mov word [ebp - 0x273], cx
mov byte [ebp - 0x271], cl
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x28c], al
inc ecx
mov eax, dword [ebp - 0x290]
cmp ecx, eax
jb 0x41bd23
mov byte [ebp + eax - 0x28c], 0
xor ecx, ecx
mov dword [ebp - 0x268], 9
mov dword [ebp - 0x264], 0xcd00d6
mov dword [ebp - 0x260], 0xd700de
mov dword [ebp - 0x25c], 0x9300d0
mov dword [ebp - 0x258], 0xd300da
mov dword [ebp - 0x254], 0xc100ac
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x264], ax
inc ecx
mov eax, dword [ebp - 0x268]
cmp ecx, eax
jb 0x41bd80
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 0x41c1d8
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 0x41c1d8
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 0x41c1ca
cmp dword [edi], 0
je 0x41c1ca
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 0x41c1b3
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00449b30
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 0x41beb0
sub eax, edx
lea ecx, [ebp - 0x268]
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040c290
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.0041c200
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.0041d860
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2a8]
cmp edx, 8
jb 0x41bf6f
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bf65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c1f6
push edx
push ecx
call fcn.00447b45
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 0x41bfd0
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bfc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c1f6
push edx
push ecx
call fcn.00447b45
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.0044779a
mov edi, eax
add esp, 4
mov dword [ebp - 0x2a4], edi
push 0x44
push 0
push edi
call fcn.00449b30
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.0040aa80
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 9
lea ecx, [esi + 0x18]
push eax
call fcn.0041c580
lea eax, [ebp - 0x288]
mov dword [ebp - 4], 0xa
lea ecx, [edi + 0x2c]
push eax
call fcn.0040aa80
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.0041d450
mov dword [ebp - 4], 0xd
and dword [ebp - 0x250], 0xfffffffe
mov edx, dword [ebp - 0x274]
cmp edx, 8
jb 0x41c116
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c10c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c1f6
push edx
push ecx
call fcn.00447b45
add esp, 8
mov edx, dword [ebp - 0x26c]
mov ecx, dword [edx + 8]
cmp dword [edx + 0xc], ecx
je 0x41c150
mov esi, dword [ebp - 0x224]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test esi, esi
je 0x41c13f
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 0x41c166
lea eax, [ebp - 0x228]
push eax
push ecx
lea ecx, [edx + 4]
call fcn.0041cf30
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 0x41c19b
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x41c19b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x41c19b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041b470
mov esi, dword [ebp - 0x270]
add esi, dword [esi]
mov dword [ebp - 0x270], esi
cmp dword [esi], 0
jne 0x41be20
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.004474f7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0044ca29
int3