Function at 0x403f80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca481
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x500770]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x506e84]
xor edi, edi
cmp eax, edi
je 0x403fce
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x404332
mov eax, dword [0x506e84]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
push 0x104
lea eax, [ebp - 0x224]
push eax
push edi
mov dword [0x506e84], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4d92dc
lea ecx, [ebp - 0x228]
call fcn.00401f00
lea eax, [ebp - 0x224]
mov dword [ebp - 4], edi
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x404020
sub eax, ecx
sar eax, 1
push eax
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x228]
call fcn.00406ad0
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401f00
push 1
push 0x4d92e0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.00406ad0
push 0xa
push 0x4d92e4
lea ecx, [ebp - 0x22c]
call fcn.00406ad0
call fcn.00407ed0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00406ea0
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x244], esi
push 0x14
push str.checkver.exe___url
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.00406ad0
push 0x34
push str.http:__client.oray.net_update_clientphddnsversion
lea ecx, [ebp - 0x228]
call fcn.00406ad0
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.00406ad0
push 0x1c
push str.__name_phddns__softname
lea ecx, [ebp - 0x228]
call fcn.00406ad0
push 5
push str._ver
lea ecx, [ebp - 0x228]
call fcn.00406ad0
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.00406ad0
push 0xa
push str.__banner__
lea ecx, [ebp - 0x228]
call fcn.00406ad0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00406ad0
cmp dword [ebp + 8], edi
lea ecx, [ebp - 0x228]
je 0x404140
push 0x1b
push str.___noupdatemsg2__noerrormsg
jmp 0x404147
push 1
push 0x4d92dc
call fcn.00406ad0
push 0x44
lea ecx, [ebp - 0x28c]
push edi
push ecx
call fcn.004ac850
mov edx, dword [ebp - 0x228]
xor eax, eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x28c], 0x44
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
add esp, 0xc
or eax, ecx
jge 0x4041b2
push 0x104
lea ecx, [ebp - 0x228]
call fcn.00401da0
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x28c]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4042ae
call dword [0x501c04]
mov ebx, eax
mov eax, dword [ebp - 0x228]
cmp eax, edi
mov dword [ebp - 0x230], eax
je 0x40421c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40421c
lea edi, [eax + eax]
mov eax, edi
call fcn.004aedf0
mov edx, dword [ebp - 0x230]
mov eax, esp
push ebx
push edi
push edx
push eax
call fcn.00406c70
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Run__s_failed___d_._n
push 4
call fcn.004054b0
call fcn.00403970
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404258
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40427e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4042a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x404337
mov edx, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x240]
push edx
mov dword [0x506e84], ecx
call ebx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4042e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404309
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404332
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
lea esp, [ebp - 0x29c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a74b2
mov esp, ebp
pop ebp
ret 4