Function at 0x41bb90
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 0x46f86f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2b0
mov eax, dword [0x48b084]
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 0x41bcd9
movaps xmm0, xmmword [0x482230]
xor ecx, ecx
mov eax, 0x18
mov dword [ebp - 0x27c], 0xc2cfd3cf
mov dword [ebp - 0x290], eax
movups xmmword [ebp - 0x28c], xmm0
mov dword [ebp - 0x278], 0xc9c9ccd0
mov byte [ebp - 0x274], 0xa8
mov word [ebp - 0x273], cx
mov byte [ebp - 0x271], cl
lea eax, [ecx - 0x70]
xor byte [ebp + ecx - 0x28c], al
inc ecx
mov eax, dword [ebp - 0x290]
cmp ecx, eax
jb 0x41bc33
mov byte [ebp + eax - 0x28c], 0
xor ecx, ecx
mov dword [ebp - 0x268], 9
mov dword [ebp - 0x264], 0xe500fe
mov dword [ebp - 0x260], 0xff00f6
mov dword [ebp - 0x25c], 0xbb00f8
mov dword [ebp - 0x258], 0xfb00f2
mov dword [ebp - 0x254], 0x9900f4
nop
lea eax, [ecx + 0x90]
xor word [ebp + ecx*2 - 0x264], ax
inc ecx
mov eax, dword [ebp - 0x268]
cmp ecx, eax
jb 0x41bc90
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 0x41c0e8
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 0x41c0e8
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 0x41c0da
cmp dword [edi], 0
je 0x41c0da
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 0x41c0c3
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00449480
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 0x41bdc0
sub eax, edx
lea ecx, [ebp - 0x268]
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040c1a0
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.0041c110
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.0041d770
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2a8]
cmp edx, 8
jb 0x41be7f
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41be75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c106
push edx
push ecx
call fcn.00447495
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 0x41bee0
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bed6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c106
push edx
push ecx
call fcn.00447495
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.004470ea
mov edi, eax
add esp, 4
mov dword [ebp - 0x2a4], edi
push 0x44
push 0
push edi
call fcn.00449480
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.0040a990
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 9
lea ecx, [esi + 0x18]
push eax
call fcn.0041c490
lea eax, [ebp - 0x288]
mov dword [ebp - 4], 0xa
lea ecx, [edi + 0x2c]
push eax
call fcn.0040a990
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.0041d360
mov dword [ebp - 4], 0xd
and dword [ebp - 0x250], 0xfffffffe
mov edx, dword [ebp - 0x274]
cmp edx, 8
jb 0x41c026
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c01c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c106
push edx
push ecx
call fcn.00447495
add esp, 8
mov edx, dword [ebp - 0x26c]
mov ecx, dword [edx + 8]
cmp dword [edx + 0xc], ecx
je 0x41c060
mov esi, dword [ebp - 0x224]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test esi, esi
je 0x41c04f
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 0x41c076
lea eax, [ebp - 0x228]
push eax
push ecx
lea ecx, [edx + 4]
call fcn.0041ce40
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 0x41c0ab
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x41c0ab
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x41c0ab
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041b380
mov esi, dword [ebp - 0x270]
add esi, dword [esi]
mov dword [ebp - 0x270], esi
cmp dword [esi], 0
jne 0x41bd30
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.00446e47
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0044c379
int3