Function at 0x413340
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45b0e4
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x4737e0]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4737e0]
xor eax, esp
push eax
lea eax, [esp + 0x480]
mov dword fs:[0], eax
mov dword [esp + 0x488], 1
mov eax, dword [esp + 0x490]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x4133a0
mov byte [esp + 0x488], cl
jmp 0x41381c
lea ecx, [esp + 0x18]
push ecx
call fcn.00413890
push 0x466058
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x494], 2
call fcn.00403050
mov byte [esp + 0x494], 3
mov eax, dword [esp + 0x30]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00401ff0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004154f0
add esp, 4
test eax, eax
jne 0x4137bd
mov eax, dword [esp + 0x490]
add eax, 0xfffffff0
push eax
call fcn.00401ff0
add eax, 0x10
add esp, 4
mov dword [esp + 0x2c], eax
lea esi, [esp + 0x2c]
mov byte [esp + 0x488], 4
call fcn.00415690
call fcn.0041d42a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413441
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x27e]
mov bl, 5
mov byte [esp + 0x490], bl
push edx
mov word [esp + 0x280], cx
call fcn.0043ebe0
add esp, 0xc
lea eax, [esp + 0x274]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, dword [esp + 0x2c]
push edi
lea ecx, [esp + 0x278]
push ecx
lea edx, [esp + 0x30]
push 0x4659e8
push edx
call fcn.00402130
mov ebp, dword [esp + 0x38]
add esp, 0xc
add ebp, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push ebp
call fcn.00401ff0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x490], 6
mov eax, dword [esp + 0x498]
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x490], bl
call fcn.00401180
add esp, 4
mov dword [esp + 0x18], esp
mov esi, esp
push ebp
call fcn.00401ff0
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esi], eax
call fcn.0040a120
add esp, 4
push eax
lea eax, [esp + 0x498]
push eax
call fcn.00414d70
mov bl, al
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41354c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x413777
lea esi, [esp + 0x34]
call fcn.0041bc10
push 0x462fd4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x494], 7
call fcn.00403050
add esp, 0xc
mov ecx, esi
push ecx
mov ecx, eax
lea edx, [esp + 0x2c]
mov byte [esp + 0x48c], 8
call fcn.0041bcb0
mov byte [esp + 0x488], 7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4135ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x466084
call fcn.00401ac0
mov byte [esp + 0x48c], 9
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00401ff0
add eax, 0x10
lea ecx, [esp + 0x28]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [esp + 0x494], 7
call fcn.004151d0
mov bl, 0xa
mov byte [esp + 0x494], bl
mov eax, dword [esp + 0x24]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401ff0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00413bd0
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x490], 0xb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x490], bl
call fcn.00413dd0
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401ff0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004140e0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.http:__tongji.box.yxdown.com_do_from_sversion_smac_stypeinstall
call fcn.00401ac0
push ecx
mov byte [esp + 0x490], 0xc
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], esp
mov esi, esp
add eax, 0xfffffff0
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.yxdown_patch
mov byte [esp + 0x498], 0xd
call fcn.00401ac0
mov byte [esp + 0x494], bl
call fcn.004146b0
push 0x46614c
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00403050
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
add esp, 0xc
push 1
push eax
push 0x466164
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x488], 7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41376e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x34]
call fcn.0041bc60
mov byte [esp + 0x488], 4
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413799
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0xfffffff0
mov byte [esp + 0x488], 3
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4137bd
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [esp + 0x488], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4137e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x488], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41380d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x488], 0
mov eax, dword [esp + 0x490]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413838
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x488], 0xffffffff
mov eax, dword [esp + 0x494]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413866
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x480]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.0043bfab
add esp, 0x478
ret 8