Function at 0x10002fa0
Capabilities:
Delete file
Get common file path
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x131c
call fcn.10004c10
mov eax, dword [0x10007018]
xor eax, esp
mov dword [esp + 0x1318], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 1
cmp dword [0x10007028], esi
push edi
mov dword [esp + 0xc], eax
jne 0x100032e9
lea ecx, [esp + 0x500]
push ecx
push 0x12c
mov dword [0x1000988c], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x500]
add eax, 0xffffffff
xor ebx, ebx
mov edi, edi
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x10003000
mov edx, dword [str.ctempa_]
mov ecx, dword [0x100059f4]
mov dword [eax], edx
mov dword [eax + 4], ecx
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + 0x10009688]
mov byte [esp + eax + 0x3d0], cl
add eax, esi
cmp cl, bl
jne 0x10003020
lea edi, [esp + 0x3d0]
add edi, 0xffffffff
lea ecx, [ecx]
mov al, byte [edi + 1]
add edi, esi
cmp al, bl
jne 0x10003040
mov eax, dword [0x10009608]
mov dx, word [0x100059f8]
push eax
lea ecx, [esp + 0x14]
push 0x100059fc
push ecx
mov word [edi], dx
call dword [sym.imp.MSVCR80.dll_sprintf]
lea eax, [esp + 0x1c]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10003072
lea edi, [esp + 0x3d0]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, esi
cmp cl, bl
jne 0x10003087
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [esp + eax + 0x500]
mov byte [esp + eax + 0x2a0], cl
add eax, 1
cmp cl, bl
jne 0x100030a2
lea eax, [esp + 0x3d0]
mov edx, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100030c0
lea edi, [esp + 0x2a0]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x100030d5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x2a0]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x10003100
mov edx, dword [str..bmp]
mov cl, byte [0x10005a04]
mov dword [eax], edx
mov byte [eax + 4], cl
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x500]
mov byte [esp + eax + 0x170], cl
add eax, 1
cmp cl, bl
jne 0x10003120
lea eax, [esp + 0x3d0]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10003140
lea edi, [esp + 0x170]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x10003155
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x170]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x10003180
mov edx, dword [str..jpg]
mov cl, byte [0x10005a0c]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x258
mov dword [eax], edx
lea edx, [esp + 0xe74]
push edx
push 0xffffffffffffffff
mov byte [eax + 4], cl
lea eax, [esp + 0x2ac]
push eax
push ebx
push ebx
call esi
push 0x258
lea ecx, [esp + 0x9c4]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x17c]
push edx
push ebx
push ebx
call esi
lea eax, [esp + 0x2a0]
push eax
call fcn.10002570
add esp, 4
lea ecx, [esp + 0x9c0]
lea esi, [esp + 0xe70]
call fcn.10002190
lea ecx, [esp + 0x2a0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [0x10009608]
imul edx, edx, 0x12c
lea eax, [esp + 0x170]
mov ecx, eax
sub edx, ecx
lea edx, [edx + 0x10007e98]
mov esi, 1
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, esi
cmp cl, bl
jne 0x10003230
mov edx, dword [0x10009754]
add dword [0x10009608], esi
push 0x3e8
mov dword [0x10007e94], esi
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x10009754]
cmp eax, ebx
mov dword [0x10007e94], ebx
je 0x10003276
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x10009754], ebx
mov ecx, dword [esp + 0xc]
push ebx
push str.error
push 0x14
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push ecx
push 0x200
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1d], bl
xor eax, eax
mov cl, byte [esp + eax + 0x18]
mov byte [eax + 0x10009938], cl
add eax, esi
cmp cl, bl
jne 0x100032a0
xor eax, eax
mov cl, byte [esp + eax + 0x1b]
mov byte [eax + 0x10009944], cl
add eax, esi
cmp cl, bl
jne 0x100032b2
xor eax, eax
mov cl, byte [esp + eax + 0x1e]
mov byte [eax + 0x10009950], cl
add eax, esi
cmp cl, bl
jne 0x100032c4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1318]
xor ecx, esp
call fcn.1000431f
mov esp, ebp
pop ebp
ret
xor ebx, ebx
push ebx
push str.error
push 0x14
lea edx, [esp + 0x38]
push edx
push 0xffffffffffffffff
push eax
push 0x200
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [sym.imp.MSVCR80.dll_atol]
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x32], bl
mov byte [esp + 0x35], bl
call esi
lea edx, [esp + 0x33]
add esp, 4
push edx
mov dword [esp + 0x14], eax
call esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x36]
add esp, 4
push eax
call esi
add esp, 4
mov esi, eax
xor eax, eax
nop
mov cl, byte [eax + 0x10009648]
mov byte [esp + eax + 0x630], cl
add eax, 1
cmp cl, bl
jne 0x10003340
mov edx, dword [0x10005ad4]
mov ecx, dword [str.ActiveMibao.asp]
mov eax, dword [0x10005ad8]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [0x10005adc]
lea edx, [esp + 0x630]
push 0x5c
push edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
call dword [sym.imp.MSVCR80.dll_strchr]
add esp, 8
cmp eax, ebx
je 0x100033fd
mov byte [eax], bl
add eax, 1
lea edx, [esp + 0x40]
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x100033a0
lea edi, [esp + 0x40]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x100033b3
mov ax, word [0x1000592c]
mov word [edi], ax
lea eax, [esp + 0x40]
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x100033d0
mov ecx, dword [str.ActiveMibao.asp]
mov edx, dword [0x10005ad4]
mov dword [eax], ecx
mov ecx, dword [0x10005ad8]
mov dword [eax + 4], edx
mov edx, dword [0x10005adc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
xor eax, eax
nop
mov cl, byte [esp + eax + 0x40]
mov byte [esp + eax + 0x760], cl
add eax, 1
cmp cl, bl
jne 0x10003400
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
push 0x10009688
lea edx, [esp + 0x8a0]
push str._d10_sc1_dc2_dc3_d
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
lea eax, [esp + 0x8a8]
add esp, 0x18
mov ecx, eax
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x10003441
lea edi, [esp + 0x760]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x10003458
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x630]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x764]
call fcn.10001fa0
mov ecx, dword [esp + 0x1328]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000431f
mov esp, ebp
pop ebp
ret