Function at 0x4029f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405471
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x24c], 0
movups xmmword [ebp - 0x260], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402a60
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.00401160
mov edi, dword [ebp - 0x24c]
lea edx, [ebp - 0x260]
mov esi, dword [ebp - 0x250]
cmp edi, 7
mov dword [ebp - 4], 0
cmova edx, dword [ebp - 0x260]
test esi, esi
je 0x402ad3
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea eax, [edx + ecx*2]
je 0x402acd
nop
cmp eax, edx
je 0x402ad3
sub eax, 2
cmp word [eax], 0x5c
jne 0x402ac0
sub eax, edx
sar eax, 1
jmp 0x402ad6
or eax, 0xffffffff
cmp esi, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x234], 0
cmovb eax, esi
xorps xmm0, xmm0
cmp edi, 7
push eax
cmova ecx, dword [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x248]
movups xmmword [ebp - 0x248], xmm0
call fcn.00401160
mov ecx, dword [ebp - 0x238]
mov eax, 0x7ffffffe
sub eax, ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x2ac], ecx
cmp eax, 0x28
jb 0x402ee6
cmp dword [ebp - 0x234], 7
lea eax, [ebp - 0x248]
lea esi, [ecx + 0x28]
mov dword [ebp - 0x220], 0
cmova eax, dword [ebp - 0x248]
lea edi, [ebp - 0x230]
mov edx, 7
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
cmp esi, edx
jbe 0x402bd2
mov eax, esi
or eax, edx
cmp eax, 0x7ffffffe
jbe 0x402b92
mov eax, 0x7ffffffe
jmp 0x402b9c
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00401060
mov edx, dword [ebp - 0x2a8]
mov edi, eax
mov eax, dword [ebp - 0x2a0]
add esp, 8
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x220], esi
lea esi, [ecx + ecx]
push esi
push eax
push edi
mov dword [ebp - 0x21c], edx
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [str..LunaTranslatorLunaTranslator_main.exe]
mov eax, dword [ebp - 0x2ac]
xor ecx, ecx
add esp, 0xc
movups xmmword [edi + esi], xmm0
movups xmm0, xmmword [0x406250]
movups xmmword [edi + esi + 0x10], xmm0
movups xmm0, xmmword [0x406260]
movups xmmword [edi + esi + 0x20], xmm0
movups xmm0, xmmword [0x406270]
movups xmmword [edi + esi + 0x30], xmm0
movups xmm0, xmmword [0x406280]
movups xmmword [edi + esi + 0x40], xmm0
mov word [edi + eax*2 + 0x50], cx
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmova eax, dword [ebp - 0x230]
xorps xmm0, xmm0
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], ecx
lea ecx, [ebp - 0x278]
push eax
mov byte [ebp - 4], 2
movups xmmword [ebp - 0x278], xmm0
call fcn.00401160
cmp dword [ebp - 0x264], 7
lea ecx, [ebp - 0x298]
push 0xffffffffffffffff
push 3
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 3
cmova eax, dword [ebp - 0x278]
push ecx
push eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xffff
call fcn.00403168
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x2b0], eax
push ecx
push eax
lea ecx, [ebp - 0x2b8]
call fcn.004020f0
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2a0], 0x409008
test eax, eax
je 0x402d2c
cmp eax, 1
sete byte [ebp - 0x299]
mov ecx, dword [ebp - 0x264]
cmp ecx, 7
jbe 0x402d47
mov edx, dword [ebp - 0x278]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402d3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402eeb
jmp 0x402d3d
mov byte [ebp - 0x299], 1
test ecx, ecx
jne 0x402ef0
jmp 0x402cf4
push ecx
push edx
call fcn.00403438
add esp, 8
cmp byte [ebp - 0x299], 0
je 0x402d76
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
push 0
cmova eax, dword [ebp - 0x230]
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x402dd3
push 0x44
lea eax, [ebp - 0x30c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea edx, [ebp - 0x2c8]
cmp dword [ebp - 0x234], 7
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x230]
cmova eax, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], 7
push edx
cmova ecx, dword [ebp - 0x230]
lea edx, [ebp - 0x30c]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x402e13
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f08
push ecx
push edx
call fcn.00403438
add esp, 8
mov ecx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp ecx, 7
jbe 0x402e70
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f08
push ecx
push edx
call fcn.00403438
add esp, 8
mov ecx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp ecx, 7
jbe 0x402ec9
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402ebf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f08
push ecx
push edx
call fcn.00403438
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403446
mov esp, ebp
pop ebp
ret
call fcn.00402290
call fcn.00404240
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2a4]
push eax
push str.exists
call fcn.004021a0
call fcn.00404240
int3