Function at 0x43a630
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4419bd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4af040]
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
lea ecx, [ebp - 0x50]
call fcn.004089b0
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0043a420
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x43a6b4
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a6aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43a6aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov esi, dword [ebp - 0x1c]
xor eax, eax
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp esi, edi
je 0x43a79d
mov ebx, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
nop dword [eax]
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x43a6ea
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 0xa
push str.OLDVersion
push 0
call fcn.00411440
add esp, 0xc
cmp eax, 0xffffffff
je 0x43a78c
push esi
lea ecx, [ebp - 0x38]
call fcn.0040c330
mov byte [ebp - 4], 3
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 7
push 0x43ac10
cmova edx, dword [ebp - 0x38]
push ecx
push dword [ebp - 0x28]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.0043acb0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x43a77c
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a772
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6a4
push ecx
push edx
call fcn.0043ff31
add esp, 8
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x43a786
mov eax, dword [esi]
push eax
call ebx
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x43a6e0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x43a7f7
push ecx
mov edx, edi
mov ecx, esi
call fcn.0040d950
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x43a7ed
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43a7ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0043ff31
add esp, 8
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.0043fbc2
mov esp, ebp
pop ebp
ret