Function at 0x40cddf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b3a6
mov eax, dword fs:[0]
push eax
sub esp, 0x620
mov eax, dword [0x47a2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x620], esi
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
add eax, 0xfffffbff
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x628], ebx
mov dword [ebp - 0x62c], edi
mov dword [ecx], 1
cmp eax, 4
ja case.default.0x40cac2
jmp dword [eax*4 + 0x40d038]
mov eax, dword [esi + 0x27c]
mov ecx, ebx
mov esi, dword [eax]
call fcn.0040de91
mov ecx, dword [ebp - 0x620]
push eax
mov ecx, dword [ecx + 0x27c]
call dword [esi + 0x2c]
test ebx, ebx
je 0x40d009
mov ecx, ebx
call fcn.0040dd97
push 0x84
push ebx
call fcn.0043feb1
add esp, 8
jmp 0x40d009
mov ecx, ebx
call fcn.0040de91
push eax
lea ecx, [esi + 0x2e8]
call fcn.0040de39
jmp case.0x40cac2.1025
mov ecx, ebx
call fcn.0040de91
push eax
call fcn.00448bee
add esp, 4
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x624], xmm0
call fcn.0040de91
push eax
call fcn.00448bee
movss xmm1, dword [ebp - 0x624]
add esp, 4
mov ecx, dword [esi + 0x280]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x472d08]
cvttss2si edi, xmm1
push edi
call fcn.004135dd
lea ecx, [ebp - 0x178]
call fcn.0040dca5
push edi
lea eax, [ebp - 0x178]
mov dword [ebp - 4], 0
push str._d__
push eax
call fcn.0040e212
mov eax, dword [esi + 0x280]
lea ecx, [ebp - 0x178]
add esp, 0xc
mov esi, dword [eax]
call fcn.0040de91
mov ecx, dword [ebp - 0x620]
push eax
mov ecx, dword [ecx + 0x280]
call dword [esi + 0x2c]
test edi, edi
je 0x40cd78
push 0xffffffffffffffff
push 0x472c18
lea ecx, [ebp - 0x598]
call fcn.0040dc81
mov dword [ebp - 0x624], eax
mov ecx, dword [ebp - 0x62c]
mov byte [ebp - 4], 1
call fcn.0040de91
push eax
call fcn.00448bee
add esp, 4
lea ecx, [ebp - 0x514]
mov edx, eax
call fcn.0040bd50
mov ebx, eax
push 0xffffffffffffffff
push 0x472c10
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 2
call fcn.0040dc81
mov edi, eax
mov ecx, dword [ebp - 0x628]
mov byte [ebp - 4], 3
call fcn.0040de91
push eax
call fcn.00448bee
add esp, 4
lea ecx, [ebp - 0x40c]
mov edx, eax
call fcn.0040bd50
mov esi, eax
push 0xffffffffffffffff
push 0x472c08
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 4
call fcn.0040dc81
push esi
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.0040de94
push edi
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.0040de94
push ebx
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.0040de94
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xf4]
push dword [ebp - 0x624]
push ecx
mov ecx, eax
call fcn.0040de94
lea ecx, [ebp - 0x1fc]
call fcn.0040dd97
lea ecx, [ebp - 0x280]
call fcn.0040dd97
lea ecx, [ebp - 0x304]
call fcn.0040dd97
lea ecx, [ebp - 0x388]
call fcn.0040dd97
lea ecx, [ebp - 0x40c]
call fcn.0040dd97
lea ecx, [ebp - 0x490]
call fcn.0040dd97
lea ecx, [ebp - 0x514]
call fcn.0040dd97
lea ecx, [ebp - 0x598]
mov byte [ebp - 4], 0x11
call fcn.0040dd97
mov ebx, dword [ebp - 0x620]
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebx + 0x2e8]
call fcn.0040de94
push eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x12
call fcn.0040de1a
lea ecx, [ebp - 0x61c]
mov byte [ebp - 4], 0x11
call fcn.0040dd97
mov eax, dword [ebx + 0x27c]
lea ecx, [ebp - 0xf4]
mov esi, dword [eax]
call fcn.0040de91
mov ecx, dword [ebx + 0x27c]
push eax
call dword [esi + 0x2c]
lea ecx, [ebp - 0xf4]
call fcn.0040dd97
mov ebx, dword [ebp - 0x628]
test ebx, ebx
je 0x40cd91
mov ecx, ebx
call fcn.0040dd97
push 0x84
push ebx
call fcn.0043feb1
add esp, 8
mov ebx, dword [ebp - 0x62c]
test ebx, ebx
je 0x40cdb0
mov ecx, ebx
call fcn.0040dd97
push 0x84
push ebx
call fcn.0043feb1
add esp, 8
lea ecx, [ebp - 0x178]
call fcn.0040dd97
jmp 0x40d009
mov ecx, dword [esi + 0x27c]
mov dword [esi + 0x2e4], 1
push 0x472c1c
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp 0x40d009
add esi, 0x2b4
cmp dword [esi + 0x14], 0x10
jb 0x40cded
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ce04
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00406bb0
push 0
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmovae eax, dword [ebp - 0x28]
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043febf
lea ecx, [esi*2 + 2]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.004421a0
add esp, 0x10
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
push esi
push ebx
push 0xffffffffffffffff
push ecx
push 0
push 0
call edi
mov ecx, ebx
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cea0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.00401880
push 2
push ebx
call fcn.0043feb1
add esp, 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x14
push eax
call fcn.004041f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x15
push ecx
push eax
push dword [ebp - 0x624]
lea ecx, [ebp - 0x70]
call fcn.0040d1c0
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40cf22
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cf18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d02c
push edx
push ecx
call fcn.0043feb1
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x40cf70
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cf66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d02c
push edx
push ecx
call fcn.0043feb1
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40cfa4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cf9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d02c
push edx
push ecx
call fcn.0043feb1
add esp, 8
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push 5
cmovae eax, dword [ebp - 0x70]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40d009
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cff7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d031
push edx
push ecx
call fcn.0043feb1
add esp, 8
jmp 0x40d009
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fe70
mov esp, ebp
pop ebp
ret 0x10
call fcn.00444fd9
call fcn.00444fd9
nop
leave
retf 64