Function at 0x40e276
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 0x40e323
fild dword [ebp + 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fmul qword [0x4ab171]
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 [0x4ab171]
fcomp qword [0x4aac38]
fnstsw ax
test ah, 0x41
jne 0x40e301
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x40590000
push 1
fld qword [ebp - 8]
call fcn.004011da
push eax
push 0x51753b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
jmp 0x40e873
cmp dword [ebp + 8], 0
jne 0x40e6aa
cmp dword [ebp + 0x14], 3
jne 0x40e69b
mov ebx, dword [0x517597]
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 0x40e358
mov eax, 0x47d2f1
push eax
push 1
mov ebx, 0x268
call fcn.00459260
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e382
push ebx
call fcn.004518e8
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push getsockname
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40e399
mov eax, 0x47d3d3
push eax
push 1
mov ebx, 0x194
call fcn.004595b0
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100000
jle 0x40e59b
push 0x80000301
push 0
push 2
push getsockname
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40e3db
mov eax, 0x47d3d3
push eax
push 2
mov ebx, 0x1a0
call fcn.00458870
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e405
push ebx
call fcn.004518e8
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, 0x4ab179
xor ecx, ecx
test eax, eax
je 0x40e417
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
xor ebx, ebx
test eax, eax
je 0x40e428
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40e43f
dec eax
test ecx, ecx
je 0x40e43f
call fcn.00404253
add esp, 0xc
test eax, eax
jne 0x40e59b
push 0x517563
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [0x517597]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x517597]
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 0x40e483
mov eax, 0x47d2f1
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x40e499
mov eax, 0x47d2f1
push eax
push 2
mov ebx, 0x23c
call fcn.00458510
add esp, 0x1c
mov ebx, dword [0x517597]
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 0x40e4cd
mov eax, 0x47d2f1
push eax
push 1
mov ebx, 0x244
call fcn.00458500
add esp, 0x10
mov ebx, dword [0x517597]
mov dword [ebp - 0x18], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00457f90
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00457f90
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
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
cmp dword [ebp - 0x24], esp
je 0x40e564
push 6
call fcn.004518ee
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40e574
push ebx
call fcn.004518e8
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e584
push ebx
call fcn.004518e8
add esp, 4
push 0x517523
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
jmp 0x40e873
mov ebx, dword [0x517597]
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 0x40e5bc
mov eax, 0x47d2f1
push eax
push 1
mov ebx, 0x244
call fcn.00458500
add esp, 0x10
push 0x517563
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 1
mov eax, 0x4ab106
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x51753f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x40e60d
push ebx
call fcn.004518e8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e61d
push ebx
call fcn.004518e8
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
push 0xff
push 0x51753f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x194]
push 0
mov eax, 0x4ab123
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4ab132
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [0x51752f]
push 0x51755f
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 0x40e686
push ebx
call fcn.004518e8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e696
push ebx
call fcn.004518e8
add esp, 4
jmp 0x40e6a5
mov dword [0x51757f], 1
jmp 0x40e873
cmp dword [ebp + 8], 0xffffffff
jne 0x40e873
cmp dword [ebp + 0x14], 3
jne 0x40e799
push 0x517563
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 1
mov eax, 0x4ab106
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x51753f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x40e6fc
push ebx
call fcn.004518e8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e70c
push ebx
call fcn.004518e8
add esp, 4
mov ebx, dword [0x517597]
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 0x40e72d
mov eax, 0x47d2f1
push eax
push 1
mov ebx, 0x244
call fcn.00458500
add esp, 0x10
push 0
mov eax, 0x4ab123
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4ab132
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [0x51752f]
push 0x51755f
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 0x40e784
push ebx
call fcn.004518e8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e794
push ebx
call fcn.004518e8
add esp, 4
jmp 0x40e873
cmp dword [ebp + 0x14], 2
jne 0x40e873
push 0x517563
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 1
mov eax, 0x4ab183
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x51753f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x40e7e1
push ebx
call fcn.004518e8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e7f1
push ebx
call fcn.004518e8
add esp, 4
call fcn.00401bb8
mov dword [ebp - 0x18], eax
push 1
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4aab3e
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [0x51752f]
push 0x51755f
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 0x40e838
push ebx
call fcn.004518e8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e848
push ebx
call fcn.004518e8
add esp, 4
cmp dword [ebp - 0x20], 1
jne 0x40e873
call fcn.004019ac
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00402b62
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e873
push ebx
call fcn.004518e8
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e883
push ebx
call fcn.004518e8
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e893
push ebx
call fcn.004518e8
add esp, 4
mov esp, ebp
pop ebp
ret 0x10