Function at 0x406500
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x390]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov esi, dword [ebp + 0x18]
lea ebx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
add esi, ecx
mov dword [ebp - 0xb8], 7
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0xbc], 0
cmovae ebx, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0xcc], ax
mov eax, esi
sub eax, ebx
cmp eax, 7
je 0x406596
push 1
push eax
lea ecx, [ebp - 0xcc]
call fcn.00407c10
test al, al
je 0x406596
cmp dword [ebp - 0xb8], 8
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xbc], 0
cmovae eax, dword [ebp - 0xcc]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x130]
lea ecx, [ebp - 0xcc]
push esi
push ebx
call fcn.00408fb0
push 0x44
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.00415790
xor eax, eax
mov byte [ebp - 0x32], 0x3b
mov al, byte [ebp - 0x32]
mov esi, 0x1b
cbw
mov edi, 0x19
add esp, 0xc
mov dword [ebp - 0x188], 0x44
xor di, ax
mov dword [ebp - 0x1a], 0x450047
mov word [ebp - 0x30], di
lea edx, [esi + 2]
mov edi, esi
mov dword [ebp - 0x16], 0x430043
xor di, ax
mov dword [ebp - 0x12], 0x160045
mov word [ebp - 0x2e], di
lea ecx, [esi + 0x28]
mov edi, edx
mov dword [ebp - 0xe], 0x40011
xor di, ax
mov dword [ebp - 0xa], 0x110017
xor dx, ax
mov word [ebp - 0x2c], di
mov word [ebp - 0x2a], dx
lea ebx, [esi + 0x34]
xor si, ax
mov dword [ebp - 6], 0x470045
xor cx, ax
mov word [ebp - 0x28], si
xor bx, ax
mov word [ebp - 0x24], cx
mov edx, 0x5e
mov word [ebp - 0x20], bx
xor dx, ax
mov edi, 0x52
xor di, ax
mov word [ebp - 0x26], dx
xor eax, eax
mov word [ebp - 0x22], di
mov word [ebp - 0x1e], ax
xorps xmm0, xmm0
mov al, 0x65
xor ecx, ecx
movups xmmword [ebp - 0x140], xmm0
mov byte [ebp - 0x1c], al
mov word [ebp - 2], cx
cbw
xor word [ebp + ecx*2 - 0x1a], ax
inc ecx
cmp ecx, 0xc
jae 0x406688
mov al, byte [ebp - 0x1c]
jmp 0x406676
xor eax, eax
mov dword [ebp - 0xd0], 7
mov word [ebp - 2], ax
mov dword [ebp - 0xd4], eax
mov word [ebp - 0xe4], ax
cmp word [ebp - 0x390], ax
jne 0x4066b2
xor ecx, ecx
jmp 0x4066cf
lea ecx, [ebp - 0x390]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4066c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x390]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00407160
mov al, 0x18
mov dword [ebp - 0x5e], 0x7b0037
mov byte [ebp - 0x60], al
xor ecx, ecx
mov dword [ebp - 0x5a], 0x6c0038
mov dword [ebp - 0x56], 0x750071
mov dword [ebp - 0x52], 0x77007d
mov dword [ebp - 0x4e], 0x6c006d
mov dword [ebp - 0x4a], 0x2d0038
mov dword [ebp - 0x46], 0x3e0038
mov dword [ebp - 0x42], 0x38003e
mov dword [ebp - 0x3e], 0x7d007c
mov dword [ebp - 0x3a], 0x380074
mov dword [ebp - 0x36], 0x3a
cbw
xor word [ebp + ecx*2 - 0x5e], ax
inc ecx
cmp ecx, 0x15
jae 0x406748
mov al, byte [ebp - 0x60]
jmp 0x406736
xor eax, eax
lea edx, [ebp - 0x5e]
mov word [ebp - 0x34], ax
lea ecx, [ebp - 0x12c]
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.004086b0
add esp, 4
lea ecx, [ebp - 0x114]
mov edx, eax
call fcn.00408750
add esp, 4
lea ecx, [ebp - 0xcc]
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00408a90
mov esi, eax
mov dword [ebp - 0xa0], 7
xor eax, eax
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xb4], ax
cmp dword [esi + 0x14], 8
jae 0x4067ce
mov eax, dword [esi + 0x10]
add eax, 1
je 0x4067dc
add eax, eax
push eax
lea eax, [ebp - 0xb4]
push esi
push eax
call fcn.00413700
add esp, 0xc
jmp 0x4067dc
mov eax, dword [esi]
mov dword [ebp - 0xb4], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xa4], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xa0], eax
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x406804
mov esi, dword [esi]
xor eax, eax
lea edx, [ebp - 0xb4]
mov word [esi], ax
lea ecx, [ebp - 0xfc]
lea eax, [ebp - 0x30]
push eax
call fcn.00408750
mov edx, eax
add esp, 4
cmp dword [edx + 0x14], 8
jb 0x40682b
mov edx, dword [edx]
mov al, 0x5d
mov dword [ebp - 0x98], 0x67001e
mov byte [ebp - 0x9a], al
xor ecx, ecx
mov dword [ebp - 0x94], 0xa0001
mov dword [ebp - 0x90], 0x330034
mov dword [ebp - 0x8c], 0x320039
mov dword [ebp - 0x88], 0x2e002a
mov dword [ebp - 0x84], 0xe0001
mov dword [ebp - 0x80], 0x2e0024
mov dword [ebp - 0x7c], 0x380029
mov dword [ebp - 0x78], 0x6e0030
mov dword [ebp - 0x74], 0x1006f
mov dword [ebp - 0x70], 0x30003e
mov dword [ebp - 0x6c], 0x730039
mov dword [ebp - 0x68], 0x250038
mov dword [ebp - 0x64], 0x38
nop dword [eax]
cbw
xor word [ebp + ecx*2 - 0x98], ax
inc ecx
cmp ecx, 0x1b
jae 0x4068c8
mov al, byte [ebp - 0x9a]
jmp 0x4068b0
xor eax, eax
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x188]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push edx
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0xe8]
mov esi, eax
cmp ecx, 8
jb 0x406919
inc ecx
push ecx
push dword [ebp - 0xfc]
lea ecx, [ebp - 0xfc]
call fcn.00407bb0
xor eax, eax
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xec], 0
cmp eax, 8
jb 0x406954
inc eax
lea ecx, [ebp - 0xb4]
push eax
push dword [ebp - 0xb4]
call fcn.00407bb0
xor eax, eax
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xa4], 0
cmp eax, 8
jb 0x40698f
inc eax
lea ecx, [ebp - 0x114]
push eax
push dword [ebp - 0x114]
call fcn.00407bb0
xor eax, eax
mov dword [ebp - 0x100], 7
mov word [ebp - 0x114], ax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x104], 0
cmp eax, 8
jb 0x4069ca
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.00407bb0
xor eax, eax
mov dword [ebp - 0x118], 7
mov word [ebp - 0x12c], ax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x11c], 0
cmp eax, 8
jb 0x406a05
inc eax
lea ecx, [ebp - 0xe4]
push eax
push dword [ebp - 0xe4]
call fcn.00407bb0
test esi, esi
je 0x406a23
push dword [ebp - 0x140]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x13c]
call esi
xor esi, esi
jmp 0x406a28
mov esi, 1
mov eax, dword [ebp - 0xb8]
cmp eax, 8
jb 0x406a46
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.00407bb0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x406a5b
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.004079e0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret