Function at 0x4027f6
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x750]
sub esp, 0x818
mov eax, dword [0x413040]
push ebx
push esi
mov esi, dword [ebp + 0x760]
push edi
mov edi, dword [ebp + 0x758]
xor ebx, ebx
push ebx
push ebx
push ebx
xor eax, ebp
push ebx
mov dword [ebp + 0x74c], eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
pop eax
call fcn.00406503
lea eax, [ebp - 0x10]
call fcn.0040649e
mov eax, dword [0x413050]
mov dword [ebp + 0x6c], eax
lea eax, [ebp + 0x6c]
push eax
push esi
lea eax, [ebp - 0x10]
call fcn.004020f0
pop ecx
pop ecx
push esi
mov dword [ebp + 0x64], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x64], ebx
mov eax, dword [ebp + 0x6c]
jle 0x40320f
cmp dword [eax - 8], ebx
jne 0x40287b
push 0x410c54
lea eax, [ebp + 0x6c]
call fcn.00401d9c
push edi
xor edx, edx
xor eax, eax
mov esi, 0x4131e0
call fcn.004063fd
xor eax, eax
mov word [ebp + 0x4e8], bx
mov ecx, 0x81
lea edi, [ebp + 0x4ea]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp + 0x4e8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x4e8]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
cmp eax, ebx
pop ecx
pop ecx
je 0x4028d8
push str.packs_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4028ea
push 0x410c34
lea eax, [ebp + 0x4e8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 1
xor esi, esi
push esi
lea edx, [ebp + 0x4e8]
mov ecx, 0x413220
call fcn.00406c7b
lea eax, [ebp + 0x70]
push esi
push eax
mov eax, str.ttpsetup
call fcn.0040651e
push dword [eax]
push dword [0x4132bc]
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebx, eax
mov eax, dword [ebp + 0x70]
add esp, 0x10
neg ebx
sbb bl, bl
add eax, 0xfffffff4
inc bl
cmp eax, dword [0x413054]
je 0x40293b
push eax
call fcn.004018e7
test bl, bl
je 0x402c88
call fcn.00402023
cmp eax, esi
mov dword [ebp + 0x64], eax
je 0x40320c
mov esi, eax
push esi
push 0x413138
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea edi, [ebp - 0xc8]
mov dword [0x4131d8], esi
call fcn.0040107d
lea eax, [ebp - 0x10]
push eax
push str.ttpsetup
push 0x4132c8
mov ebx, edi
call fcn.00401155
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov eax, edi
call fcn.0040336f
cmp eax, 1
jne 0x402c69
push str..exe_
push ebx
push str.ttpsetup
push 0x413220
xor edx, edx
lea ecx, [ebp + 0x74]
call fcn.00407125
lea eax, [ebp + 0x14]
call fcn.004063d5
mov edi, dword [0x413050]
push 0x80
push 3
push 1
push 0x80000000
push dword [ebp + 0x74]
lea eax, [ebp + 0x14]
mov dword [ebp + 0x78], edi
call fcn.00406180
test eax, eax
je 0x402a24
cmp dword [ebp + 0x40], ebx
je 0x4029f3
mov esi, dword [ebp + 0x3c]
jmp 0x4029fd
lea esi, [ebp + 0x14]
call fcn.00406129
mov esi, eax
push 0x40
pop eax
push eax
lea ecx, [ebp + 0x78]
call fcn.0040697e
mov ecx, dword [ebp + 0x40]
push esi
mov esi, eax
call fcn.0040c9d8
pop ecx
pop ecx
or eax, 0xffffffff
lea ecx, [ebp + 0x78]
call fcn.00406917
mov edi, dword [ebp + 0x78]
mov eax, dword [0x413050]
push dword [ebp - 0xa8]
mov dword [ebp + 0x80], eax
lea eax, [ebp + 0x80]
push 0x410c24
push eax
call fcn.0040332d
mov eax, dword [ebp + 0x80]
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 0xc
cmp dword [eax - 8], ebx
je 0x402a69
push dword [0x4132c0]
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x402a85
cmp dword [edi - 8], ebx
je 0x402b32
push dword [0x4132c4]
push edi
call esi
test eax, eax
pop ecx
pop ecx
je 0x402b32
push 0x82a1
lea eax, [ebp + 0x7c]
call fcn.00401b10
lea eax, [ebp + 0x70]
mov dword [esp], 0x82a2
call fcn.00401b10
mov esi, dword [ebp + 0x70]
pop ecx
push 0x30
push esi
push dword [ebp + 0x7c]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0xc]
cmp eax, dword [0x413054]
je 0x402ac3
push eax
call fcn.004018e7
mov eax, dword [ebp + 0x7c]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x402ad7
push eax
call fcn.004018e7
mov eax, dword [ebp + 0x80]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x402aee
push eax
call fcn.004018e7
lea eax, [edi - 0xc]
cmp eax, dword [0x413054]
je 0x402aff
push eax
call fcn.004018e7
lea esi, [ebp + 0x14]
call fcn.004063b4
mov eax, esi
call fcn.004062be
mov eax, dword [ebp + 0x74]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x402b22
push eax
call fcn.004018e7
lea esi, [ebp - 0xc8]
call fcn.004010fe
jmp 0x40320c
push 0x16
pop ecx
mov esi, str.2A85B11F_C71F_4fbd_9B99_EBC6613D63C4_Event
lea edi, [ebp + 0x6f0]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x6f0]
push eax
push ebx
push 1
push ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
cmp esi, ebx
je 0x402bb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402bb9
push str.TTPlayer_PlayerWnd
lea edi, [ebp + 0x7c]
call fcn.004069d4
push ebx
push dword [ebp + 0x7c]
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402ba5
push ebx
push ebx
push 0x10
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x7c]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x402bb9
push eax
call fcn.004018e7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea ecx, [ebp + 0x4c]
push ecx
mov dword [ebp + 0x4c], ebx
lea ecx, [ebp - 0x54]
push ecx
push ebx
lea edi, [ebp + 0x50]
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
push ebx
push ebx
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x74]
push ebx
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], 0xa
mov eax, dword [eax - 8]
push ebx
lea ecx, [ebp + 0x74]
call fcn.004060fd
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402c1b
push dword [ebp + 0x50]
call esi
push dword [ebp + 0x4c]
call esi
mov eax, dword [ebp + 0x80]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x402c32
push eax
call fcn.004018e7
mov eax, dword [ebp + 0x78]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x402c46
push eax
call fcn.004018e7
lea esi, [ebp + 0x14]
call fcn.004063b4
mov eax, esi
call fcn.004062be
mov eax, dword [ebp + 0x74]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x402c69
push eax
call fcn.004018e7
push dword [ebp + 0x64]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esi, [ebp - 0xc8]
mov dword [0x4131d8], ebx
call fcn.004010fe
jmp 0x4031f7
push 0xf4
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x402ca3
mov edi, eax
call fcn.00409b9e
mov dword [ebp + 0x5c], eax
jmp 0x402ca6
mov dword [ebp + 0x5c], esi
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [ebp + 0x60], eax
je 0x40320c
cmp dword [ebp + 0x64], esi
jle 0x402fb7
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x74], 0x4132c8
mov dword [ebp + 0x70], eax
mov esi, dword [ebp + 0x74]
push dword [esi - 0xc]
or eax, 0xffffffff
lea ecx, [ebp + 0x80]
call fcn.0040664f
cmp dword [esi + 4], 0
pop ecx
ja 0x402cf7
push 0x80070057
call fcn.00401657
mov eax, dword [esi]
mov ecx, dword [eax]
add ecx, 8
lea esi, [ebp + 0x78]
call fcn.00401c29
push 0x410b90
mov eax, esi
call fcn.00403278
xor ecx, ecx
mov esi, eax
call fcn.00403292
test eax, eax
jne 0x402f03
push dword [ebp + 0x60]
mov edi, dword [ebp + 0x80]
push 0x4027db
push 2
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x74]
push edi
push dword [ebp + 0x5c]
call fcn.00409cc3
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x402d60
push 0x927c0
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov eax, dword [ebp + 0x5c]
call fcn.00409eb2
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp esi, ebx
jne 0x402d91
mov eax, dword [ebp + 0x78]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x402d89
push eax
call fcn.004018e7
lea eax, [edi - 0xc]
jmp 0x402f9c
push str..exe_
push ebx
push dword [ebp + 0x80]
xor edx, edx
push 0x413220
lea ecx, [ebp + 0x68]
call fcn.00407125
mov edi, eax
lea eax, [ebp + 0x78]
call fcn.004019e8
mov eax, dword [ebp + 0x68]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x402dca
push eax
call fcn.004018e7
mov esi, dword [ebp + 0x78]
cmp dword [esi - 8], ebx
jne 0x402de7
add esi, 0xfffffff4
cmp esi, dword [0x413054]
je 0x402f93
push esi
jmp 0x402f8e
mov eax, dword [ebp + 0x74]
mov eax, dword [eax - 8]
cmp dword [eax - 8], ebx
je 0x402e46
mov eax, dword [0x413050]
push esi
mov dword [ebp + 0x7c], eax
call fcn.0040609c
push eax
lea eax, [ebp + 0x7c]
push 0x410c24
push eax
call fcn.0040332d
mov eax, dword [ebp + 0x74]
push dword [eax - 8]
mov edi, dword [ebp + 0x7c]
push edi
call dword [sym.imp.MSVCRT.dll__mbsicmp]
mov esi, eax
add esp, 0x18
neg esi
sbb esi, esi
lea eax, [edi - 0xc]
neg esi
cmp eax, dword [0x413054]
je 0x402e3b
push eax
call fcn.004018e7
cmp esi, ebx
jne 0x402ef8
mov esi, dword [ebp + 0x78]
mov eax, dword [ebp + 0x74]
mov eax, dword [eax - 4]
cmp dword [eax - 8], ebx
je 0x402f08
lea eax, [ebp + 0x14]
call fcn.004063d5
mov ebx, dword [0x413050]
push 0x80
push 3
push 1
push 0x80000000
push esi
lea eax, [ebp + 0x14]
mov dword [ebp + 0x7c], ebx
call fcn.00406180
test eax, eax
je 0x402ebd
cmp dword [ebp + 0x40], 0
je 0x402e8c
mov esi, dword [ebp + 0x3c]
jmp 0x402e96
lea esi, [ebp + 0x14]
call fcn.00406129
mov esi, eax
push 0x40
pop eax
push eax
lea ecx, [ebp + 0x7c]
call fcn.0040697e
mov ecx, dword [ebp + 0x40]
push esi
mov esi, eax
call fcn.0040c9d8
pop ecx
pop ecx
or eax, 0xffffffff
lea ecx, [ebp + 0x7c]
call fcn.00406917
mov ebx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x74]
push dword [eax - 4]
push ebx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
mov edi, eax
neg edi
sbb edi, edi
lea eax, [ebx - 0xc]
pop ecx
neg edi
cmp eax, dword [0x413054]
pop ecx
je 0x402ee5
push eax
call fcn.004018e7
lea esi, [ebp + 0x14]
call fcn.004063b4
mov eax, esi
call fcn.004062be
test edi, edi
je 0x402f03
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x402f7f
mov esi, dword [ebp + 0x78]
xor ebx, ebx
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov dword [ebp + 0x4c], ebx
lea edi, [ebp + 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], 0xa
mov esi, dword [esi - 8]
push ebx
push ebx
mov eax, esi
lea ecx, [ebp + 0x78]
call fcn.004060fd
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402f7f
push 0x927c0
push dword [ebp + 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0x74]
push dword [ebp + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
neg eax
sbb eax, eax
inc eax
mov dword [ecx - 0x10], eax
call esi
push dword [ebp + 0x4c]
call esi
mov eax, dword [ebp + 0x78]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x402f93
push eax
call fcn.004018e7
mov eax, dword [ebp + 0x80]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x402faa
push eax
call fcn.004018e7
add dword [ebp + 0x74], 0x40
dec dword [ebp + 0x70]
jne 0x402cd2
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov ebx, dword [ebp + 0x64]
mov eax, dword [0x413050]
xor edi, edi
cmp ebx, edi
mov dword [ebp + 0x80], eax
jle 0x40300c
mov esi, 0x4132bc
cmp dword [esi - 4], edi
je 0x403006
lea eax, [ebp + 0x80]
push eax
mov eax, esi
call fcn.00403315
push 0x410b8c
lea eax, [ebp + 0x80]
push eax
call fcn.00406073
add esi, 0x40
dec ebx
jne 0x402fe2
mov eax, dword [ebp + 0x80]
cmp dword [eax - 8], edi
je 0x4030e3
mov eax, dword [0x413050]
mov dword [ebp + 0x70], eax
lea eax, [ebp + 0x7c]
push eax
lea ecx, [ebp + 0x80]
call fcn.0040cad5
mov eax, dword [eax]
lea ecx, [ebp + 0x68]
push edi
push ecx
call fcn.00406849
push dword [eax]
lea eax, [ebp + 0x70]
push dword [ebp + 0x6c]
push str.http:__ttpack.qianqian.com_setupped.html_id_srs_s
push eax
call fcn.00401813
mov eax, dword [ebp + 0x68]
add eax, 0xfffffff4
add esp, 0x1c
cmp eax, dword [0x413054]
je 0x403068
push eax
call fcn.004018e7
mov eax, dword [ebp + 0x7c]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x40307c
push eax
call fcn.004018e7
push 0xea60
lea esi, [ebp - 0x64]
call fcn.0040600e
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
lea eax, [ebp - 0x10]
mov ecx, esi
call fcn.00405e6b
test eax, eax
mov edi, dword [ebp + 0x70]
je 0x4030ca
push 0xffffffffffffffff
push 0
push edi
mov eax, esi
push eax
xor ebx, ebx
mov ecx, 0x84000200
lea eax, [ebp + 0x68]
call fcn.00405742
mov eax, dword [ebp + 0x68]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x4030ca
push eax
call fcn.004018e7
lea esi, [ebp - 0x64]
call fcn.00405fb5
lea eax, [edi - 0xc]
cmp eax, dword [0x413054]
je 0x4030e3
push eax
call fcn.004018e7
lea eax, [ebp + 0x4e8]
push eax
lea edi, [ebp + 0x70]
call fcn.004069d4
xor eax, eax
mov dword [ebp + 0x4e0], eax
mov dword [ebp + 0x4e4], eax
mov word [ebp + 0x2d4], ax
push 0x410aa8
mov eax, edi
push eax
lea eax, [ebp + 0x68]
push eax
mov word [ebp + 0x4dc], 0x5c
call fcn.004032b9
mov eax, dword [eax]
lea ebx, [ebp + 0x84]
call fcn.00405667
mov esi, eax
mov eax, dword [ebp + 0x68]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x403144
push eax
call fcn.004018e7
test esi, esi
je 0x4031bf
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x84]
push eax
call fcn.0040559c
mov eax, dword [eax]
push str.ttpsetup
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
test eax, eax
mov eax, dword [ebp + 0x68]
setne bl
add eax, 0xfffffff4
cmp eax, dword [0x413054]
pop ecx
pop ecx
je 0x403181
push eax
call fcn.004018e7
test bl, bl
je 0x4031b0
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp + 0x84]
call fcn.0040542c
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x7c]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x4031b0
push eax
call fcn.004018e7
lea eax, [ebp + 0x84]
call fcn.0040563e
test eax, eax
jne 0x403148
lea eax, [ebp + 0x84]
call fcn.0040571d
mov eax, dword [ebp + 0x70]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x4031de
push eax
call fcn.004018e7
mov eax, dword [ebp + 0x80]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x4031f5
push eax
call fcn.004018e7
xor ebx, ebx
push ebx
mov ecx, 0x413220
call fcn.00406b2e
mov eax, 0x4131e0
call fcn.004052c8
mov eax, dword [ebp + 0x6c]
add eax, 0xfffffff4
cmp eax, dword [0x413054]
je 0x403220
push eax
call fcn.004018e7
lea esi, [ebp - 0x10]
call fcn.00403244
mov ecx, dword [ebp + 0x74c]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040f143
add ebp, 0x750
leave
ret 0x10