Function at 0x10029eb0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbc49
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x100f6458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], 0
mov dword [ecx + 4], eax
call fcn.10029d80
push 1
mov ecx, eax
call fcn.10051090
test al, al
je 0x1002a391
call fcn.1005aa30
mov ecx, eax
push 1
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test al, al
je 0x1002a391
mov ecx, dword [0x100fbe74]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ecx, ecx
jne 0x10029fa0
push 0x100f6074
call edi
cmp dword [0x100fbe74], 0
jne 0x10029f8b
push 4
call fcn.10065f32
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10029f6e
mov ecx, esi
mov dword [esi], 0
call fcn.1004cee0
mov byte [ebp - 4], 0
jmp 0x10029f70
xor esi, esi
mov dword [ebp - 4], 0xffffffff
xor ecx, ecx
lea eax, [ebp - 0x14]
lock or dword [eax], ecx
mov dword [0x100fbe74], esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x100f6074
call esi
mov ecx, dword [0x100fbe74]
test ecx, ecx
je 0x1002a391
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.1004de60
mov dword [ebp - 4], 2
push str.Loginst_pop.log
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100292e0
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x1002a002
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029ff8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a3b1
push edx
push ecx
call fcn.10065f62
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x18], 8
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002a03e
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10042cf0
mov ecx, dword [0x100fbe78]
test ecx, ecx
jne 0x1002a0ea
push 0x100f602c
call edi
cmp dword [0x100fbe78], 0
jne 0x1002a0dd
push 0x1c
call fcn.10065f32
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x1002a0ca
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 5
jmp 0x1002a0cc
xor eax, eax
mov byte [ebp - 4], 4
xor edx, edx
lea ecx, [ebp - 0x14]
lock or dword [ecx], edx
mov dword [0x100fbe78], eax
push 0x100f602c
call esi
mov ecx, dword [0x100fbe78]
push 1
call fcn.1002a3c0
test eax, eax
jne 0x1002a1df
call fcn.100429f0
mov ecx, eax
push 2
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1002a1cb
push 0x5a
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], eax
push 0x100cafc0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.1000c4b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
push 3
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
push 0x100cafbc
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.1000c4b0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x44]
push 0x2f
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xfc]
call fcn.100041a0
mov esi, eax
mov byte [ebp - 4], 9
push str.init_NetBridge_fail.
push esi
call fcn.10005ff0
add esp, 8
call fcn.100429f0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xfc]
call fcn.100062e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call fcn.10005180
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.10005180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10005200
jmp 0x1002a391
mov ecx, dword [0x100fbe7c]
test ecx, ecx
jne 0x1002a23d
push 0x100f6090
call edi
cmp dword [0x100fbe7c], 0
jne 0x1002a230
push 4
call fcn.10065f32
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1002a21d
mov ecx, eax
mov dword [eax], 0
call fcn.100643b0
jmp 0x1002a21f
xor eax, eax
mov byte [ebp - 4], 4
xor edx, edx
lea ecx, [ebp - 0x14]
lock or dword [ecx], edx
mov dword [0x100fbe7c], eax
push 0x100f6090
call esi
mov ecx, dword [0x100fbe7c]
push str.http:__s.ludashi.com_url3_pidpidmidmidmid2mid2appverappvermodvermodvertypetypeactionactionchannelpid
push str.installup
push 1
call fcn.10064440
test eax, eax
jne 0x1002a339
call fcn.100429f0
mov ecx, eax
push 2
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1002a328
push 0x5a
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], eax
push 0x100cb048
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], al
call fcn.1000c4b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x44]
push 3
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0x100cb0a4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.1000c4b0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x60]
push 0x35
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xfc]
call fcn.100041a0
mov esi, eax
mov byte [ebp - 4], 0xe
push str.init_inst_pop_statistic_fail.
push esi
call fcn.10005ff0
add esp, 8
call fcn.100429f0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xfc]
call fcn.100062e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x44]
call fcn.10005180
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.10005180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10005200
jmp 0x1002a391
mov dword [ebp - 0x48], 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1002a37d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a373
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a3b6
push edx
push ecx
call fcn.10065f62
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100662e1
mov esp, ebp
pop ebp
ret 8
call fcn.1008c70a
call fcn.1008c70a
int3