Function at 0x403890
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x465de5
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x485618]
xor eax, esp
mov dword [esp + 0x390], eax
push ebx
push esi
mov eax, dword [0x485618]
xor eax, esp
push eax
lea eax, [esp + 0x3a0]
mov dword fs:[0], eax
lea ecx, [esp + 0xd]
call fcn.004052f0
mov ebx, 2
cmp dword [0x489104], ebx
mov dword [esp + 0x3a8], 0
jl 0x403e69
mov eax, dword [0x489108]
mov eax, dword [eax + 4]
push str._installcompact
push eax
call fcn.0043b0b3
add esp, 8
test eax, eax
jne 0x403a88
push 0x104
push eax
lea ecx, [esp + 0x98]
push ecx
call fcn.0043ac90
add esp, 0xc
cmp dword [0x489104], 3
jl 0x40394c
mov edx, dword [0x489108]
mov eax, dword [edx + 8]
push eax
lea ecx, [esp + 0x94]
push 0x103
push ecx
call fcn.0043b575
add esp, 0xc
jmp 0x4039be
push 0x104
lea edx, [esp + 0x198]
push 0
push edx
call fcn.0043ac90
add esp, 0xc
push 0x104
lea eax, [esp + 0x198]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x194]
push 0x5c
push ecx
call fcn.0043ad10
add eax, 1
lea edx, [esp + 0x98]
add esp, 8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x403996
lea edx, [esp + 0x90]
push 0x46b050
push edx
call fcn.0043ad40
add esp, 8
test eax, eax
je 0x4039be
mov byte [eax], 0
lea ecx, [esp + 0xc]
call fcn.00405c60
lea ecx, [esp + 0xc]
mov byte [esp + 0x3a8], 1
call fcn.004068f0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x10]
call fcn.00407280
push 1
push ecx
lea edx, [esp + 0x98]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00402d00
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.agent
mov byte [esp + 0x3b8], bl
call fcn.00402d00
lea ecx, [esp + 0x18]
mov byte [esp + 0x3b4], 1
call fcn.004066d0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call fcn.004074e0
mov eax, dword [eax]
push 5
push 0x46adb8
push 0x46b044
push eax
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x3a8], 0
call fcn.00405c70
jmp 0x403fc9
cmp dword [0x489104], ebx
jl 0x403e69
mov ecx, dword [0x489108]
mov eax, dword [ecx + 4]
push str._install
push eax
call fcn.0043b0b3
add esp, 8
test eax, eax
jne 0x403c8d
push 0x104
push eax
lea edx, [esp + 0x98]
push edx
call fcn.0043ac90
mov ebx, 3
add esp, 0xc
cmp dword [0x489104], ebx
jl 0x403af6
mov eax, dword [0x489108]
mov ecx, dword [eax + 8]
push ecx
lea edx, [esp + 0x94]
push 0x103
push edx
call fcn.0043b575
add esp, 0xc
jmp 0x403b68
push 0x104
lea eax, [esp + 0x198]
push 0
push eax
call fcn.0043ac90
add esp, 0xc
push 0x104
lea ecx, [esp + 0x198]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x194]
push 0x5c
push edx
call fcn.0043ad10
add eax, 1
lea edx, [esp + 0x98]
add esp, 8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x403b40
lea eax, [esp + 0x90]
push 0x46b050
push eax
call fcn.0043ad40
add esp, 8
test eax, eax
je 0x403b68
mov byte [eax], 0
lea ecx, [esp + 0xc]
call fcn.00405c60
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x3ac], bl
call fcn.004074e0
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov byte [esp + 0x3a8], 4
jle 0x403ba6
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401690
mov esi, dword [esi]
push esi
call fcn.00404be0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x3a8], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403bd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
call fcn.004068f0
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x10]
call fcn.00407280
push 1
push ecx
lea edx, [esp + 0x98]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00402d00
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.agent
mov byte [esp + 0x3b8], 5
call fcn.00402d00
lea ecx, [esp + 0x18]
mov byte [esp + 0x3b4], bl
call fcn.004066d0
mov eax, dword [0x487050]
push eax
lea ecx, [esp + 0x10]
call fcn.00407bb0
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00403610
push esi
lea ecx, [esp + 0x14]
push 0x46b024
push ecx
mov byte [esp + 0x3b4], 6
call fcn.00403870
mov esi, dword [esp + 0x1c]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esi - 0x10]
mov byte [esp + 0x3a8], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x403a66
cmp dword [0x489104], ebx
jl 0x403e69
mov ecx, dword [0x489108]
mov eax, dword [ecx + 4]
push str._uninstall
push eax
call fcn.0043b0b3
add esp, 8
test eax, eax
jne 0x403df5
push eax
lea ecx, [esp + 0x20]
call fcn.00405b90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a8], 7
call fcn.0040dfc7
cmp eax, 1
jne 0x403ddf
lea ecx, [esp + 0xe]
call fcn.004052f0
mov bl, 8
lea ecx, [esp + 0xe]
mov byte [esp + 0x3a8], bl
call fcn.004056d0
push 0x104
lea edx, [esp + 0x198]
push 0
push edx
call fcn.0043ac90
add esp, 0xc
push 0x104
lea eax, [esp + 0x198]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x194]
push ecx
lea ecx, [esp + 0x12]
call fcn.00405930
lea ecx, [esp + 0xc]
call fcn.00405c60
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.agent
mov byte [esp + 0x3b0], 9
call fcn.00402d00
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.004075d0
mov byte [esp + 0x3a8], 0xa
call fcn.00404cd0
lea ecx, [esp + 0xc]
call fcn.00405f20
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0xc]
call fcn.00406110
push 0
push 0x46b00c
push 0x46affc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x10]
call fcn.00403640
push eax
lea ecx, [esp + 0x10]
call fcn.004073a0
lea ecx, [esp + 0x10]
call fcn.00402590
lea ecx, [esp + 0xc]
mov byte [esp + 0x3a8], bl
call fcn.00405c70
lea ecx, [esp + 0xe]
mov byte [esp + 0x3a8], 7
call fcn.00405300
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a8], 0
call fcn.00405be0
jmp 0x403fc9
cmp dword [0x489104], ebx
jne 0x403e69
mov eax, dword [0x489108]
mov eax, dword [eax + 4]
push 0x46b044
push eax
call fcn.0043b0b3
add esp, 8
test eax, eax
je 0x403e32
mov ecx, dword [0x489108]
mov eax, dword [ecx + 4]
push 0x46aff8
push eax
call fcn.0043b0b3
add esp, 8
test eax, eax
jne 0x403e69
lea ecx, [esp + 0xe]
call fcn.00405c60
lea ecx, [esp + 0xe]
mov byte [esp + 0x3a8], 0xb
call fcn.00406470
push 0
call fcn.00403330
lea ecx, [esp + 0xe]
mov byte [esp + 0x3a8], 0
call fcn.00405c70
jmp 0x403fc9
push str.kyh_update
lea ecx, [esp + 0x11]
call fcn.00405310
test eax, eax
je 0x403fb1
lea ecx, [esp + 0xf]
call fcn.00405c60
lea edx, [esp + 0x14]
mov bl, 0xc
push edx
lea ecx, [esp + 0x13]
mov byte [esp + 0x3ac], bl
call fcn.004074e0
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov byte [esp + 0x3a8], 0xd
jle 0x403ebf
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401690
mov esi, dword [esi]
push esi
call fcn.00404be0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x3a8], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ef1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xf]
call fcn.004068f0
push 0x104
lea ecx, [esp + 0x29c]
push 0
push ecx
call fcn.0043ac90
add esp, 0xc
push 0x104
lea edx, [esp + 0x29c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x298]
push 0x5c
push eax
call fcn.0043ad10
mov esi, eax
add esi, 1
push 0x46b050
push esi
call fcn.0043ad40
add esp, 0x10
test eax, eax
je 0x403f4f
mov byte [eax], 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.00402d00
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.agent
mov byte [esp + 0x3b8], 0xe
call fcn.00402d00
lea ecx, [esp + 0x1b]
mov byte [esp + 0x3b4], bl
call fcn.004066d0
push str.kyh_update
lea ecx, [esp + 0x11]
call fcn.004053e0
lea ecx, [esp + 0xf]
call fcn.00405c80
lea ecx, [esp + 0xf]
mov byte [esp + 0x3a8], 0
call fcn.00405c70
jmp 0x403fc9
push 5
push 0
push 0
push str.http:__www.youhuibao.cc
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xd]
mov dword [esp + 0x3a8], 0xffffffff
call fcn.00405300
mov ecx, dword [esp + 0x3a0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x390]
xor ecx, esp
call fcn.0043a450
add esp, 0x3a0
ret