Function at 0x40d493
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 0x40d540
fild dword [ebp + 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fmul qword [0x4a1196]
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 [0x4a1196]
fcomp qword [0x4a0cc8]
fnstsw ax
test ah, 0x41
jne 0x40d51e
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x40590000
push 1
fld qword [ebp - 8]
call fcn.00401131
push eax
push 0x630562
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
jmp 0x40da7b
cmp dword [ebp + 8], 0
jne 0x40d8b2
cmp dword [ebp + 0x14], 3
jne 0x40d8a3
mov ebx, dword [0x6305c6]
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 0x40d575
mov eax, 0x4732d5
push eax
push 1
mov ebx, 0x268
call fcn.0044ff30
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40d59f
push ebx
call fcn.0044a40f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push VariantCopy
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40d5b6
mov eax, 0x47338d
push eax
push 1
mov ebx, 0x194
call fcn.004502e0
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100000
jle 0x40d7a3
push 0x80000301
push 0
push 2
push VariantCopy
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40d5f8
mov eax, 0x47338d
push eax
push 2
mov ebx, 0x1a0
call fcn.0044f540
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d622
push ebx
call fcn.0044a40f
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, 0x4a119e
xor ecx, ecx
test eax, eax
je 0x40d634
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
xor ebx, ebx
test eax, eax
je 0x40d645
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40d65c
dec eax
test ecx, ecx
je 0x40d65c
call fcn.00403add
add esp, 0xc
test eax, eax
jne 0x40d7a3
push 0x630592
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [0x6305c6]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x6305c6]
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 0x40d6a0
mov eax, 0x4732d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x40d6b6
mov eax, 0x4732d5
push eax
push 2
mov ebx, 0x23c
call fcn.0044f100
add esp, 0x1c
mov ebx, dword [0x6305c6]
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 0x40d6ea
mov eax, 0x4732d5
push eax
push 1
mov ebx, 0x244
call fcn.0044f0f0
add esp, 0x10
mov ebx, dword [0x6305c6]
mov dword [ebp - 0x18], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
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 0x40d77c
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40d78c
push ebx
call fcn.0044a40f
add esp, 4
push 0x63054e
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
jmp 0x40da7b
mov ebx, dword [0x6305c6]
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 0x40d7c4
mov eax, 0x4732d5
push eax
push 1
mov ebx, 0x244
call fcn.0044f0f0
add esp, 0x10
push 0x630592
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 1
mov eax, 0x4a112b
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x630566
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x40d815
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d825
push ebx
call fcn.0044a40f
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
push 0xff
push 0x630566
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x194]
push 0
mov eax, 0x4a1148
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4a1157
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [0x630556]
push 0x63058e
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 0x40d88e
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d89e
push ebx
call fcn.0044a40f
add esp, 4
jmp 0x40d8ad
mov dword [0x6305ae], 1
jmp 0x40da7b
cmp dword [ebp + 8], 0xffffffff
jne 0x40da7b
cmp dword [ebp + 0x14], 3
jne 0x40d9a1
push 0x630592
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 1
mov eax, 0x4a112b
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x630566
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x40d904
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d914
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [0x6305c6]
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 0x40d935
mov eax, 0x4732d5
push eax
push 1
mov ebx, 0x244
call fcn.0044f0f0
add esp, 0x10
push 0
mov eax, 0x4a1148
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4a1157
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [0x630556]
push 0x63058e
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 0x40d98c
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d99c
push ebx
call fcn.0044a40f
add esp, 4
jmp 0x40da7b
cmp dword [ebp + 0x14], 2
jne 0x40da7b
push 0x630592
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 1
mov eax, 0x4a11a8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x630566
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x40d9e9
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d9f9
push ebx
call fcn.0044a40f
add esp, 4
call fcn.00401924
mov dword [ebp - 0x18], eax
push 1
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4a0b39
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [0x630556]
push 0x63058e
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 0x40da40
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40da50
push ebx
call fcn.0044a40f
add esp, 4
cmp dword [ebp - 0x20], 1
jne 0x40da7b
call fcn.00401780
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004025d3
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40da7b
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40da8b
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40da9b
push ebx
call fcn.0044a40f
add esp, 4
mov esp, ebp
pop ebp
ret 0x10