Function at 0x40d18d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 1
jne 0x40d23a
fild dword [ebp + 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fmul qword [0x4a7178]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x2c]
fdiv qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
fld qword [ebp - 8]
fsub qword [0x4a7178]
fcomp qword [0x4a6c9e]
fnstsw ax
test ah, 0x41
jne 0x40d218
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x40590000
push 1
fld qword [ebp - 8]
call fcn.00401131
push eax
push 0x674454
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
jmp 0x40d775
cmp dword [ebp + 8], 0
jne 0x40d5ac
cmp dword [ebp + 0x14], 3
jne 0x40d59d
mov ebx, dword [0x6744b8]
add ebx, 4
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x40d26f
mov eax, 0x4792d5
push eax
push 1
mov ebx, 0x268
call fcn.00456730
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40d299
push ebx
call fcn.00450c09
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push VariantCopy
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40d2b0
mov eax, 0x47938d
push eax
push 1
mov ebx, 0x194
call fcn.00456ae0
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100000
jle 0x40d49d
push 0x80000301
push 0
push 2
push VariantCopy
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40d2f2
mov eax, 0x47938d
push eax
push 2
mov ebx, 0x1a0
call fcn.00455d40
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d31c
push ebx
call fcn.00450c09
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, 0x4a7180
xor ecx, ecx
test eax, eax
je 0x40d32e
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
xor ebx, ebx
test eax, eax
je 0x40d33f
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40d356
dec eax
test ecx, ecx
je 0x40d356
call fcn.00403aad
add esp, 0xc
test eax, eax
jne 0x40d49d
push 0x674484
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [0x6744b8]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x6744b8]
mov dword [ebp - 0x1c], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x40d39a
mov eax, 0x4792d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x40d3b0
mov eax, 0x4792d5
push eax
push 2
mov ebx, 0x23c
call fcn.00455900
add esp, 0x1c
mov ebx, dword [0x6744b8]
add ebx, 4
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x40d3e4
mov eax, 0x4792d5
push eax
push 1
mov ebx, 0x244
call fcn.004558f0
add esp, 0x10
mov ebx, dword [0x6744b8]
mov dword [ebp - 0x18], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004553e0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004553e0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 5
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d476
push ebx
call fcn.00450c09
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40d486
push ebx
call fcn.00450c09
add esp, 4
push 0x674440
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
jmp 0x40d775
mov ebx, dword [0x6744b8]
add ebx, 4
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x40d4be
mov eax, 0x4792d5
push eax
push 1
mov ebx, 0x244
call fcn.004558f0
add esp, 0x10
push 0x674484
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 1
mov eax, 0x4a710d
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x674458
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x40d50f
push ebx
call fcn.00450c09
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d51f
push ebx
call fcn.00450c09
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
push 0xff
push 0x674458
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x194]
push 0
mov eax, 0x4a712a
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4a7139
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [0x674448]
push 0x674480
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d588
push ebx
call fcn.00450c09
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d598
push ebx
call fcn.00450c09
add esp, 4
jmp 0x40d5a7
mov dword [0x6744a0], 1
jmp 0x40d775
cmp dword [ebp + 8], 0xffffffff
jne 0x40d775
cmp dword [ebp + 0x14], 3
jne 0x40d69b
push 0x674484
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 1
mov eax, 0x4a710d
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x674458
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x40d5fe
push ebx
call fcn.00450c09
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d60e
push ebx
call fcn.00450c09
add esp, 4
mov ebx, dword [0x6744b8]
add ebx, 4
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x40d62f
mov eax, 0x4792d5
push eax
push 1
mov ebx, 0x244
call fcn.004558f0
add esp, 0x10
push 0
mov eax, 0x4a712a
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4a7139
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [0x674448]
push 0x674480
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d686
push ebx
call fcn.00450c09
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d696
push ebx
call fcn.00450c09
add esp, 4
jmp 0x40d775
cmp dword [ebp + 0x14], 2
jne 0x40d775
push 0x674484
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 1
mov eax, 0x4a718a
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x674458
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x40d6e3
push ebx
call fcn.00450c09
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d6f3
push ebx
call fcn.00450c09
add esp, 4
call fcn.004018f4
mov dword [ebp - 0x18], eax
push 1
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4a6b0f
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [0x674448]
push 0x674480
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d73a
push ebx
call fcn.00450c09
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d74a
push ebx
call fcn.00450c09
add esp, 4
cmp dword [ebp - 0x20], 1
jne 0x40d775
call fcn.00401750
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004025a3
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d775
push ebx
call fcn.00450c09
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40d785
push ebx
call fcn.00450c09
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d795
push ebx
call fcn.00450c09
add esp, 4
mov esp, ebp
pop ebp
ret 0x10