Function at 0x417c50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
xor esi, esi
lea eax, [esp + 0xc]
push edi
push eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
call fcn.00417b40
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x417e74
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x417c91
lea ebx, [esi + 8]
jmp 0x417ec6
call fcn.00406ce0
mov ebx, eax
mov ecx, 0x49ca47
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x417cc0
test dl, dl
je 0x417cbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x417cc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x417ca0
xor eax, eax
jmp 0x417cc5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x417cd3
mov ebx, 2
jmp 0x417e74
call fcn.0040c1c0
lea edx, [eax + 2]
jmp 0x417ce0
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x417ce0
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417cf6
sub eax, esi
lea edi, [eax + edx + 0x10]
lea ecx, [edi + 0x10]
shr ecx, 4
shl ecx, 4
push ecx
call fcn.0047a780
mov esi, eax
add esp, 4
test esi, esi
jne 0x417d23
lea ebx, [eax + 8]
jmp 0x417e74
push ebx
call fcn.0040c1c0
push eax
push str._S_s
push edi
push esi
call fcn.0047b592
add esp, 0x14
push esi
push str.Downloading_scan_result_to:__S_r_n
call fcn.0040a210
call fcn.00414e90
mov edx, dword [ebp + 0xc]
push eax
push edx
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.00408800
add esp, 0x10
mov ebx, eax
push esi
test ebx, ebx
je 0x417d76
push str._Download_failed:___S_.
push ebx
call fcn.0040a310
add esp, 0xc
jmp 0x417e74
push str.Downloaded:___S_._r_n
call fcn.0040a210
lea eax, [edi + edi]
push eax
call fcn.0047a780
add esp, 0xc
mov dword [esp + 0x1c], eax
push esi
test eax, eax
jne 0x417da7
push str._Not_enough_memory_to_extract__S_r_n
call fcn.0040a210
add esp, 8
jmp 0x417e74
push 0x4a05b0
push edi
push eax
call fcn.0047a84a
lea ecx, [esp + 0x24]
add esp, 0x10
push ecx
call fcn.0040c1c0
mov edx, dword [esp + 0x20]
push edx
mov ebx, eax
call fcn.00401240
add esp, 8
mov ebx, eax
push esi
test ebx, ebx
je 0x417de6
push str._Extract_failed:___S_.
push ebx
call fcn.0040a310
jmp 0x417e64
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417df1
sub eax, edx
cmp byte [eax + esi - 3], 0x2e
jne 0x417e22
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417e06
push str..json
sub eax, edx
push edi
push esi
mov byte [eax + esi - 3], cl
call fcn.0047c07e
add esp, 0xc
push esi
push str.Extracted:___S_._r_n
call fcn.0040a210
push esi
call fcn.00407590
add esp, 0xc
or eax, edx
je 0x417e67
mov edi, dword [esp + 0x14]
test edi, edi
je 0x417e67
push str.__________________________________r_n
call fcn.0040a210
add esp, 4
push edi
push str._S_r_n
call fcn.0040a210
push str.__________________________________r_n
call fcn.0040a210
add esp, 0xc
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047a868
add esp, 4
mov edi, dword [esp + 0x10]
test edi, edi
je 0x417ea8
push edi
push str.Version1.0Filename_s
push str.POST
mov dword [esp + 0x24], 0
call fcn.00414e90
push eax
lea edx, [esp + 0x28]
mov ecx, str._NotifyRemoveMachineStatus.php
call fcn.00408560
add esp, 0x10
mov ebx, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x417eb9
push eax
call fcn.0047a868
add esp, 4
test edi, edi
je 0x417ec6
push edi
call fcn.0047a868
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x417ed1
mov dword [eax], esi
jmp 0x417ede
test esi, esi
je 0x417ede
push esi
call fcn.0047a868
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x417eef
push eax
call fcn.0047a868
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret