Function at 0x412e80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b786
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4a62e4]
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 ebx, ecx
call fcn.004133b0
add eax, 4
lea ecx, [ebp - 0x44]
push eax
call fcn.00411340
push str.7z.dll
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00412b30
mov edi, dword [ebp - 0x44]
push edi
call fcn.004318c0
or esi, 0xffffffff
test eax, eax
jne 0x412fb8
call fcn.0042fcb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x412fb1
push 0x48
push str.d:_buildlib_commonwin11_update_assistant_srcconfig_mgrconfig_mgr.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040e510
push 3
push 0x482dd8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040e510
mov byte [ebp - 4], 2
call fcn.0042fcb0
mov ebx, eax
lea ecx, [ebp - 0xe4]
push 0x7a
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405aa0
mov esi, eax
push str.Load7ZipDll_failed_path:
push esi
mov byte [ebp - 4], 3
call fcn.00403950
test edi, edi
mov ecx, 0x482c68
cmovne ecx, edi
push ecx
push esi
call fcn.00403950
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.00406fb0
lea ecx, [ebp - 0x28]
call fcn.00406570
lea ecx, [ebp - 0x40]
call fcn.00406570
or esi, 0xffffffff
xor ebx, ebx
jmp 0x4130d4
lea esi, [ebx + 4]
push esi
lea ecx, [ebp - 0x48]
call fcn.00411340
push str._res_data.7z
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00412b30
push 0
push dword [esi]
mov esi, dword [ebp - 0x48]
push esi
call fcn.00431d90
cmp eax, 0xffffffff
jne 0x4130aa
call fcn.0042fcb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4130a6
push 0x48
push str.d:_buildlib_commonwin11_update_assistant_srcconfig_mgrconfig_mgr.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040e510
push 3
push 0x482dd8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040e510
mov byte [ebp - 4], 6
call fcn.0042fcb0
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0xe4]
push 0x83
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405aa0
mov ebx, eax
push str.Unzip7zFileToDir_failed
push ebx
mov byte [ebp - 4], 7
call fcn.00403950
mov eax, dword [ebp - 0x4c]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push ebx
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.00406fb0
lea ecx, [ebp - 0x40]
call fcn.00406570
lea ecx, [ebp - 0x28]
call fcn.00406570
xor ebx, ebx
jmp 0x4130b6
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 1
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4130d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x4130f0
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.00443153
mov esp, ebp
pop ebp
ret