Function at 0x43c530
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476417
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4ab028]
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
xor eax, eax
mov edi, 0xf
mov ebx, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x80], al
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0043c360
test al, al
jne 0x43c5cb
mov ebx, dword [sym.imp.mfc100u.dll_delete]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x43c5a9
mov ecx, dword [ebp - 0x2c]
push ecx
call ebx
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x6c], esi
jb 0x43c803
mov edx, dword [ebp - 0x80]
push edx
call ebx
jmp 0x43c800
lea ecx, [ebp - 0xa0]
call dword [0x479d7c]
push 0x104
push 0x104
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
push eax
call dword [sym.imp.Common.dll_SBGetAppPathW]
add esp, 8
push 0xffffffffffffffff
lea ecx, [ebp - 0xa0]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call dword [sym.imp.Common.dll_SBWCharToChar]
add esp, 4
mov ebx, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c632
sub eax, edx
mov edi, eax
mov eax, ebx
lea esi, [ebp - 0x64]
call fcn.00440970
mov byte [ebp - 4], 3
push ebx
mov ebx, dword [sym.imp.mfc100u.dll_delete]
call ebx
add esp, 4
push str.download
lea ecx, [ebp - 0xa0]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.Common.dll_SBRecursiveCreateDirectoryW]
mov ecx, esi
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0043fdc0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 4
call fcn.0043fe80
add esp, 0x18
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.00440400
mov esi, 0x10
cmp dword [ebp - 0x88], esi
jb 0x43c6c3
mov eax, dword [ebp - 0x9c]
push eax
call ebx
add esp, 4
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x43c6ce
lea eax, [ebp - 0x48]
push 0x48bd58
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov ecx, dword [ebp - 0x80]
add esp, 8
mov ebx, eax
cmp dword [ebp - 0x6c], esi
jae 0x43c6ea
lea ecx, [ebp - 0x80]
call fcn.0043c460
push ebx
mov edi, eax
call dword [sym.imp.MSVCR100.dll_fclose]
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x43c78f
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x43c710
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x34], esi
jb 0x43c729
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], esi
jb 0x43c749
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp dword [ebp - 0x18], esi
jb 0x43c770
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x6c], esi
jb 0x43c78b
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor al, al
jmp 0x43c805
cmp dword [ebp - 0x34], esi
jb 0x43c7a1
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], esi
jb 0x43c7c1
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp dword [ebp - 0x18], esi
jb 0x43c7e8
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x6c], esi
jb 0x43c803
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.mfc100u.dll_delete]
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.0046bf30
mov esp, ebp
pop ebp
ret