Function at 0x10002640
Capabilities:
Access peb ldr_data
Check if file exists
Check os version
Contain obfuscated stackstrings
Delete file
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10024a50
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x1002b2e0]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push esi
push edi
mov eax, dword [0x1002b2e0]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x208
lea eax, [esp + 0xf2]
push ebx
mov dword [esp + 0x24], ebx
push eax
mov dword [esp + 0x60], ebx
mov word [esp + 0xf8], bx
call fcn.1000dd80
add esp, 0xc
push 0x104
lea eax, [esp + 0xf0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x1002cc50]
mov ecx, 0x1002cc50
mov dword [esp + 0x50], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x314], ebx
call fcn.100013df
test eax, eax
pop ecx
je 0x10002740
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], ebx
je 0x10002740
mov ecx, esi
call fcn.1000129c
test eax, eax
jne 0x1000276f
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000276f
lea eax, [esp + 0x18]
call fcn.100015c1
xor eax, eax
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.1000d1e6
mov esp, ebp
pop ebp
ret
push ebx
lea esi, [esp + 0x1c]
call fcn.1000172c
push eax
lea esi, [esp + 0xa8]
call fcn.10002e4c
push ebx
mov eax, esi
push 1
push eax
mov byte [esp + 0x31c], 1
call fcn.10020130
mov ecx, eax
call fcn.100202b0
push ebx
push 1
mov byte [esp + 0x318], bl
call fcn.10002ed9
push 0x100275b8
lea ecx, [esp + 0x84]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.10002073
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
xor esi, esi
inc esi
mov ecx, esi
lea eax, [esp + 0x5c]
mov byte [esp + 0x310], 2
call fcn.10001516
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xfc]
call fcn.10002178
add esp, 0x10
test al, al
je 0x10002ce8
cmp dword [esp + 0x50], 8
jne 0x10002ce8
cmp dword [esp + 0x34], 6
jne 0x10002ce8
cmp dword [esp + 0x3c], 0x4974
jne 0x10002ce8
call fcn.100024d7
test eax, eax
je 0x10002882
push 4
pop ecx
lea eax, [esp + 0x5c]
call fcn.10001516
push ebx
push esi
lea ecx, [esp + 0x88]
call fcn.10001c09
jmp 0x10002740
cmp edi, ebx
jne 0x10002bc0
mov dword [esp + 0x34], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str._GetPlatformCore_Core_Util__YAHPAPAUITXCore___Z
push str.common.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str._GetCore_CoreCenter_Util__YAHPA_WPAPAUITXCore___Z
push str.common.dll
mov dword [esp + 0x44], eax
call esi
push eax
call edi
cmp eax, ebx
mov edi, 0x10027710
je 0x1000299e
lea ecx, [esp + 0x40]
push ecx
push str.com.tencent.vas
call eax
mov eax, dword [esp + 0x48]
cmp eax, ebx
pop ecx
pop ecx
je 0x1000299e
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push edi
push eax
call dword [ecx + 0x20]
cmp dword [esp + 0x20], ebx
je 0x10002937
push str.UTDConfig
lea esi, [esp + 0x3c]
call fcn.10003204
lea esi, [esp + 0x14]
push esi
mov byte [esp + 0x314], 3
mov eax, dword [eax]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push 1
push ebx
push eax
push ecx
mov dword [esp + 0x30], 1
call dword [edx + 0x20]
test eax, eax
jl 0x10002937
cmp dword [esp + 0x14], ebx
mov byte [esp + 0x13], 1
jne 0x1000293b
mov byte [esp + 0x13], bl
mov dword [esp + 0x310], 2
test byte [esp + 0x1c], 1
je 0x1000295c
push dword [esp + 0x38]
and dword [esp + 0x20], 0xfffffffe
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [esp + 0x13], bl
je 0x1000299e
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push str.QPStime
push eax
call dword [ecx + 0x40]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push str.UPGCount
push eax
call dword [ecx + 0x40]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push str.TVer
push eax
call dword [ecx + 0x40]
cmp dword [esp + 0x3c], ebx
je 0x10002bad
lea eax, [esp + 0x48]
push eax
call dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
cmp eax, ebx
pop ecx
je 0x10002bad
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push edi
push eax
call dword [ecx + 0x20]
cmp dword [esp + 0x28], ebx
push 0x61
pop eax
mov word [esp + 0xc0], 0x4d
mov word [esp + 0xc2], 0x65
mov word [esp + 0xc4], 0x64
mov word [esp + 0xc6], ax
mov word [esp + 0xc8], 0x6c
mov word [esp + 0xca], 0x57
mov word [esp + 0xcc], ax
mov word [esp + 0xce], 0x6c
mov word [esp + 0xd0], 0x6c
mov word [esp + 0xd2], 0x50
mov word [esp + 0xd4], ax
mov word [esp + 0xd6], 0x74
mov word [esp + 0xd8], 0x63
mov word [esp + 0xda], 0x68
mov word [esp + 0xdc], 0x44
mov word [esp + 0xde], 0x6f
mov word [esp + 0xe0], 0x6d
mov word [esp + 0xe2], ax
mov word [esp + 0xe4], 0x69
mov word [esp + 0xe6], 0x6e
mov word [esp + 0xe8], bx
je 0x10002add
lea eax, [esp + 0xc0]
push eax
lea esi, [esp + 0x3c]
call fcn.10003204
lea esi, [esp + 0x30]
push esi
mov byte [esp + 0x314], 4
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
or dword [esp + 0x20], 2
push 1
push ebx
push eax
push ecx
call dword [edx + 0x20]
test eax, eax
jl 0x10002add
cmp dword [esp + 0x30], ebx
mov byte [esp + 0x13], 1
jne 0x10002ae1
mov byte [esp + 0x13], bl
mov dword [esp + 0x310], 2
test byte [esp + 0x1c], 2
je 0x10002afd
push dword [esp + 0x38]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [esp + 0x13], bl
je 0x10002bad
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0xa8]
push edx
mov byte [esp + 0xac], 0x53
mov byte [esp + 0xad], 0x68
mov byte [esp + 0xae], 0x6f
mov byte [esp + 0xaf], 0x77
mov byte [esp + 0xb0], 0x4d
mov byte [esp + 0xb1], 0x65
mov byte [esp + 0xb2], 0x64
mov byte [esp + 0xb3], 0x61
mov byte [esp + 0xb4], 0x6c
mov byte [esp + 0xb5], 0x57
mov byte [esp + 0xb6], 0x61
mov byte [esp + 0xb7], 0x6c
mov byte [esp + 0xb8], 0x6c
mov byte [esp + 0xb9], 0x54
mov byte [esp + 0xba], 0x69
mov byte [esp + 0xbb], 0x6d
mov byte [esp + 0xbc], 0x65
mov byte [esp + 0xbd], bl
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
cmp dword [esp + 0x4c], ebx
jne 0x10002c00
cmp dword [esp + 0x44], ebx
jne 0x10002c00
push 6
jmp 0x10002cea
push edi
call fcn.1000df3b
pop ecx
push 5
pop ecx
cmp eax, ecx
mov dword [esp + 0x34], eax
jbe 0x1000288e
lea eax, [esp + 0x5c]
call fcn.10001516
xor esi, esi
push ebx
push 1
lea ecx, [esp + 0x88]
call fcn.10001c09
lea eax, [esp + 0x18]
call fcn.100015c1
mov eax, esi
jmp 0x1000274b
push ebx
call fcn.1000dd35
pop ecx
mov ecx, dword [esp + 0x34]
xor edi, edi
cmp dword [esp + 0x24], ecx
jae 0x10002ce4
mov ecx, dword [esp + 0x4c]
mov edx, eax
sub edx, ecx
cmp edx, 0x69780
jb 0x10002ce4
sub eax, dword [esp + 0x44]
cmp eax, 0xd2f00
jb 0x10002ce4
sub ecx, dword [esp + 0x44]
push ecx
call fcn.1000dd6e
cmp eax, 0x15180
pop ecx
jge 0x10002ce4
inc dword [esp + 0x24]
dec dword [esp + 0x2c]
push dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push str.TVer
push eax
call dword [ecx + 0x3c]
test eax, eax
jne 0x10002ca3
push dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push str.UPGCount
push eax
call dword [ecx + 0x3c]
test eax, eax
jne 0x10002ca3
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
push 2
pop ecx
lea eax, [esp + 0x5c]
inc edi
call fcn.10001516
push str.UTDConfig
lea esi, [esp + 0x5c]
call fcn.10003204
mov byte [esp + 0x310], 5
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
xor esi, esi
inc esi
push esi
push eax
push ecx
call dword [edx + 0x30]
mov byte [esp + 0x310], 2
push dword [esp + 0x58]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp edi, ebx
mov dword [esp + 0x54], esi
jne 0x10002cf4
push 7
jmp 0x10002cea
push 3
pop ecx
lea eax, [esp + 0x5c]
call fcn.10001516
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x10002d06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x10002d18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x10002d2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10002d3c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10002d4e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x10002d60
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x40], ebx
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10020130
mov ecx, eax
call fcn.10020140
cmp dword [esp + 0x18], ebx
je 0x10002d87
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x54]
jmp 0x10002be1