Function at 0x10038770
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044b7a
mov eax, dword fs:[0]
push eax
sub esp, 0xafc
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa6c], ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0xb08], eax
xor eax, eax
lea ecx, [ebp - 0x60]
mov word [ebp - 0x60], ax
movq qword [ebp - 0x5e], xmm0
movq qword [ebp - 0x56], xmm0
movq qword [ebp - 0x4e], xmm0
movq qword [ebp - 0x46], xmm0
mov dword [ebp - 0x3e], eax
mov word [ebp - 0x3a], ax
call fcn.10036940
mov dword [ebp - 0xaf0], 0xf
mov dword [ebp - 0xaf4], 0
mov byte [ebp - 0xb04], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xad8], 0xf
mov dword [ebp - 0xadc], 0
mov byte [ebp - 0xaec], 0
push ecx
mov edx, esi
lea ecx, [ebp - 0xad4]
mov byte [ebp - 4], 1
call fcn.100332a0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0xac0], 0x10
mov edx, dword [ebp - 0xac4]
lea eax, [ebp - 0xb04]
lea ecx, [ebp - 0xad4]
cmovae ecx, dword [ebp - 0xad4]
push eax
call fcn.10037330
mov edx, edi
lea ecx, [ebp - 0xabc]
call fcn.100332a0
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0xaa8], 0x10
mov edx, dword [ebp - 0xaac]
lea eax, [ebp - 0xaec]
lea ecx, [ebp - 0xabc]
cmovae ecx, dword [ebp - 0xabc]
push eax
call fcn.10037330
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x38], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x38]
push eax
movq qword [ebp - 0x36], xmm0
movq qword [ebp - 0x2e], xmm0
movq qword [ebp - 0x26], xmm0
movq qword [ebp - 0x1e], xmm0
call fcn.1003cec0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xa68], ax
lea eax, [ebp - 0xa66]
push eax
call sub.MSVCR110.dll_memset
add esp, 8
lea edx, [ebp - 0xaec]
lea ecx, [ebp - 0xa8c]
call fcn.100333b0
mov esi, eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0xb04]
lea ecx, [ebp - 0xaa4]
call fcn.100333b0
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x10038916
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x1003891e
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x10038926
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0xa6c]
push dword [ecx + 8]
push esi
push eax
push ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x60]
push eax
push str.isafe
push str.bugreport.yac.mx_Feedback_client
push str.http:___s_soft_sosver_ssoftver_suid_sdesc_smail_stype_dreport_type2
lea eax, [ebp - 0xa68]
push 0x400
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 0x2c
cmp dword [ebp - 0xa90], 8
jb 0x10038978
push dword [ebp - 0xaa4]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa78], 8
mov dword [ebp - 0xa90], 7
mov dword [ebp - 0xa94], 0
mov word [ebp - 0xaa4], ax
jb 0x100389ad
push dword [ebp - 0xa8c]
call edi
add esp, 4
lea eax, [ebp - 0xa68]
push eax
push str.report_problem__s
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
mov esi, dword [ebp - 0xb08]
add esp, 8
cmp dword [esi + 0x10], 0
jne 0x10038b79
xor eax, eax
mov dword [ebp - 0xa78], 7
mov dword [ebp - 0xa7c], 0
mov word [ebp - 0xa8c], ax
cmp word [ebp - 0xa68], ax
jne 0x100389fc
xor ecx, ecx
jmp 0x10038a14
lea ecx, [ebp - 0xa68]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10038a05
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xa68]
push eax
lea ecx, [ebp - 0xa8c]
call fcn.1000dd10
push ecx
lea edx, [ebp - 0xa8c]
lea ecx, [ebp - 0xaa4]
mov byte [ebp - 4], 5
call fcn.1003a6b0
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0xa78], 8
jb 0x10038a58
push dword [ebp - 0xa8c]
call edi
add esp, 4
xor eax, eax
lea ecx, [ebp - 0xaa4]
mov dword [ebp - 0xa78], 7
mov dword [ebp - 0xa7c], 0
mov word [ebp - 0xa8c], ax
call fcn.10039300
test eax, eax
jne 0x10038b61
cmp dword [ebp - 0xa90], 8
jb 0x10038a9c
push dword [ebp - 0xaa4]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa90], 7
mov dword [ebp - 0xa94], 0
mov word [ebp - 0xaa4], ax
cmp dword [ebp - 0xaa8], 0x10
jb 0x10038acd
push dword [ebp - 0xabc]
call edi
add esp, 4
cmp dword [ebp - 0xac0], 0x10
mov byte [ebp - 0xabc], 0
mov dword [ebp - 0xaac], 0
mov dword [ebp - 0xaa8], 0xf
jb 0x10038afc
push dword [ebp - 0xad4]
call edi
add esp, 4
cmp dword [ebp - 0xad8], 0x10
mov byte [ebp - 0xad4], 0
mov dword [ebp - 0xac4], 0
mov dword [ebp - 0xac0], 0xf
jb 0x10038b2b
push dword [ebp - 0xaec]
call edi
add esp, 4
cmp dword [ebp - 0xaf0], 0x10
mov dword [ebp - 0xad8], 0xf
mov dword [ebp - 0xadc], 0
mov byte [ebp - 0xaec], 0
jb 0x10038b5a
push dword [ebp - 0xb04]
call edi
add esp, 4
xor al, al
jmp 0x10038e4b
cmp dword [ebp - 0xa90], 8
jb 0x10038da8
push dword [ebp - 0xaa4]
jmp 0x10038da3
mov dword [ebp - 0xa74], 0
mov dword [ebp - 0xa70], 0
call fcn.1001cda0
mov dword [ebp - 0xa74], eax
mov byte [ebp - 4], 8
xor eax, eax
mov dword [ebp - 0xa90], 7
mov dword [ebp - 0xa94], 0
mov word [ebp - 0xaa4], ax
cmp word [ebp - 0xa68], ax
jne 0x10038bc6
xor ecx, ecx
jmp 0x10038bdf
lea ecx, [ebp - 0xa68]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10038bd0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xa68]
push eax
lea ecx, [ebp - 0xaa4]
call fcn.1000dd10
sub esp, 0xc
lea eax, [ebp - 0xa74]
push eax
push esi
lea edx, [ebp - 0xaa4]
lea ecx, [ebp - 0xa8c]
mov byte [ebp - 4], 9
call fcn.1003a6e0
add esp, 0x14
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa90], 8
jb 0x10038c2d
push dword [ebp - 0xaa4]
call edi
add esp, 4
xor eax, eax
lea ecx, [ebp - 0xa8c]
mov dword [ebp - 0xa90], 7
mov dword [ebp - 0xa94], 0
mov word [ebp - 0xaa4], ax
call fcn.10039300
test eax, eax
jne 0x10038d4d
push 0x206
push eax
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x266]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x268]
call fcn.100340b0
lea ecx, [ebp - 0xa6c]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_void_]
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0xa6c]
push str._slog_bugreport.ini
push eax
mov byte [ebp - 4], 0xc
call dword [sym.imp.ouilibx.dll_public:_int___cdecl_OUI::COString::Format_wchar_t_const__]
mov esi, dword [sym.imp.ouilibx.dll_public:_wchar_t____thiscall_OUI::COString::GetBuffer_int_]
add esp, 0xc
lea ecx, [ebp - 0xa6c]
push 0x80
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
lea ecx, [ebp - 0xa6c]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xa6c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
cmp dword [ebp - 0xa78], 8
jb 0x10038d01
push dword [ebp - 0xa8c]
call edi
add esp, 4
xor eax, eax
mov word [ebp - 0xa8c], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa74]
push eax
mov dword [ebp - 0xa78], 7
mov dword [ebp - 0xa7c], 0
push dword [eax]
lea eax, [ebp - 0xb08]
push eax
lea ecx, [ebp - 0xa74]
call fcn.1001cc50
push dword [ebp - 0xa74]
call edi
add esp, 4
jmp 0x10038ab9
cmp dword [ebp - 0xa78], 8
jb 0x10038d61
push dword [ebp - 0xa8c]
call edi
add esp, 4
xor eax, eax
mov word [ebp - 0xa8c], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa74]
push eax
mov dword [ebp - 0xa78], 7
mov dword [ebp - 0xa7c], 0
push dword [eax]
lea eax, [ebp - 0xb08]
push eax
lea ecx, [ebp - 0xa74]
call fcn.1001cc50
push dword [ebp - 0xa74]
call edi
add esp, 4
cmp dword [ebp - 0xaa8], 0x10
jb 0x10038dbc
push dword [ebp - 0xabc]
call edi
add esp, 4
cmp dword [ebp - 0xac0], 0x10
mov dword [ebp - 0xaa8], 0xf
mov dword [ebp - 0xaac], 0
mov byte [ebp - 0xabc], 0
jb 0x10038deb
push dword [ebp - 0xad4]
call edi
add esp, 4
cmp dword [ebp - 0xad8], 0x10
mov dword [ebp - 0xac0], 0xf
mov dword [ebp - 0xac4], 0
mov byte [ebp - 0xad4], 0
jb 0x10038e1a
push dword [ebp - 0xaec]
call edi
add esp, 4
cmp dword [ebp - 0xaf0], 0x10
mov dword [ebp - 0xad8], 0xf
mov dword [ebp - 0xadc], 0
mov byte [ebp - 0xaec], 0
jb 0x10038e49
push dword [ebp - 0xb04]
call edi
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret 0x10