Function at 0x40ead0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5110fa
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push 0x35
xor eax, eax
mov dword [ebp - 0x48], 7
push str.https:__ldcdn.ldmnq.com_download_ru_downloader_en.exe
mov dword [edi], 1
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00407100
mov dword [ebp - 4], 0
mov eax, dword [0x56cb9c]
test eax, eax
jne 0x40eb7b
push 0x508
call fcn.004d5562
mov esi, eax
add esp, 4
mov dword [ebp - 0xe0], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x40eb70
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x40eb72
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x56cb9c], eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.004206d0
push str.YD_en.tmp
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00408d20
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ebe1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push eax
cmovae ecx, dword [ebp - 0x2c]
push ecx
push 0x53e398
push 0x122
push str.utility::ufile::removeFile
call fcn.0040c770
add esp, 0x14
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.satart_download__s
push 0x12f
push str.LDADManager::downloadYanDex2
call fcn.0040c770
push 0x64
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.004de630
add esp, 0x1c
lea ecx, [ebp - 0xc4]
call fcn.00431390
push 0
push 0xbb8
push 2
push ecx
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
lea ecx, [ebp - 0xc4]
call fcn.004316a0
test al, al
jne 0x40ee8d
push 1
push 0xbb8
push 2
push ecx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
lea ecx, [ebp - 0xc4]
call fcn.004316a0
test al, al
je 0x40ecad
push str.YD_en.exe
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xdc]
call fcn.00408d20
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00408450
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0xc8], 8
jb 0x40eecc
push dword [ebp - 0xdc]
jmp 0x40eec4
push str.download_ad_error
push 0x13e
push str.LDADManager::downloadYanDex2
call fcn.0040c770
mov eax, dword [0x56cb9c]
add esp, 0xc
test eax, eax
jne 0x40ed0e
push 0x508
call fcn.004d5562
mov esi, eax
add esp, 4
mov dword [ebp - 0xe0], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x40ed03
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x40ed05
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x56cb9c], eax
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.00420690
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 8
jb 0x40ed2a
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0xc8], 7
mov dword [ebp - 0xcc], 0
mov word [ebp - 0xdc], ax
cmp word [edx], ax
jne 0x40ed50
xor ecx, ecx
jmp 0x40ed64
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ed55
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xdc]
call fcn.00407100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xf8]
push 0x10
xor eax, eax
mov dword [ebp - 0xe4], 7
push str.YD_downloaderror
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xf8], ax
call fcn.00407100
mov byte [ebp - 4], 0xa
mov eax, dword [0x56cb9c]
test eax, eax
jne 0x40edf2
push 0x508
call fcn.004d5562
mov esi, eax
add esp, 4
mov dword [ebp - 0xe0], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x40ede7
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x40ede9
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [0x56cb9c], eax
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, eax
call fcn.00426980
cmp dword [ebp - 0xe4], 8
jb 0x40ee1e
push dword [ebp - 0xf8]
call fcn.004c8900
add esp, 4
xor eax, eax
mov dword [ebp - 0xe4], 7
cmp dword [ebp - 0xc8], 8
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xf8], ax
jb 0x40ee52
push dword [ebp - 0xdc]
call fcn.004c8900
add esp, 4
xor eax, eax
mov dword [ebp - 0xc8], 7
cmp dword [ebp - 0xfc], 8
mov dword [ebp - 0xcc], 0
mov word [ebp - 0xdc], ax
jb 0x40ee86
push dword [ebp - 0x110]
call fcn.004c8900
add esp, 4
xor bl, bl
jmp 0x40ef7c
push str.YD_en.exe
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x110]
call fcn.00408d20
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00408450
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0xfc], 8
jb 0x40eecc
push dword [ebp - 0x110]
call fcn.004c8900
add esp, 4
push 0x4d
xor eax, eax
mov dword [edi], 2
push str.__partner_125079___distr__quiet__msicl__YAHOMEPAGEy_YAQSEARCHy_YABROWSERy_
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xc8], 7
mov dword [ebp - 0xcc], 0
mov word [ebp - 0xdc], ax
call fcn.00407100
push str.YD_en.exe
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf8]
call fcn.00408d20
sub esp, 8
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0xdc]
mov ecx, eax
call fcn.004091f0
add esp, 0xc
cmp dword [ebp - 0xe4], 8
jb 0x40ef46
push dword [ebp - 0xf8]
call fcn.004c8900
add esp, 4
xor eax, eax
mov dword [ebp - 0xe4], 7
cmp dword [ebp - 0xc8], 8
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xf8], ax
jb 0x40ef7a
push dword [ebp - 0xdc]
call fcn.004c8900
add esp, 4
mov bl, 1
lea ecx, [ebp - 0xc4]
mov dword [edi], 0
mov byte [ebp - 4], 3
call fcn.00430490
cmp dword [ebp - 0x18], 8
jb 0x40efa2
push dword [ebp - 0x2c]
call fcn.004c8900
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x40efc7
push dword [ebp - 0x44]
call fcn.004c8900
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x40efec
push dword [ebp - 0x5c]
call fcn.004c8900
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d5413
mov esp, ebp
pop ebp
ret 4