Function at 0x100587e7
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
sub esp, 0x6c
push 0x54
mov eax, 0x101818a0
call fcn.10145d80
push str.bdbar
lea ecx, [ebp + 0x54]
call fcn.10058786
mov esi, dword [ebp + 0x78]
push dword [esi]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov esi, dword [esi]
push ebx
push ebx
push dword [ebp + 0x54]
push esi
push ebx
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
je 0x1005883f
inc ebx
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 0x54]
call fcn.10003b75
mov eax, ebx
jmp 0x1005902e
mov dword [ebp + 0x5c], ebx
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x54]
mov byte [ebp - 4], 1
call fcn.10126d24
pop ecx
test eax, eax
mov eax, dword [ebp + 0x5c]
pop ecx
jl 0x1005900d
cmp eax, ebx
je 0x1005900f
mov dword [ebp + 0x58], ebx
mov ecx, dword [eax]
lea edx, [ebp + 0x58]
push edx
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0xb4]
mov eax, dword [ebp + 0x58]
cmp eax, ebx
jne 0x10058897
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x10058892
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
pop ebx
jmp 0x10058827
mov dword [ebp + 0x50], ebx
mov ecx, dword [eax]
lea edx, [ebp + 0x50]
push edx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0xac]
push dword [ebp + 0x50]
lea ecx, [ebp + 0x48]
call fcn.10007b11
mov esi, 0x101a6b18
push esi
push dword [ebp + 0x48]
call fcn.10005373
test eax, eax
pop ecx
pop ecx
jne 0x10058a4f
mov dword [ebp + 0x60], ebx
mov edi, dword [ebp + 0x7c]
mov eax, dword [edi]
lea ecx, [ebp + 0x60]
push ecx
push eax
mov byte [ebp - 4], 5
call fcn.10126d24
pop ecx
test eax, eax
mov eax, dword [ebp + 0x60]
pop ecx
jl 0x10058a07
cmp eax, ebx
je 0x10058a09
mov dword [ebp + 0x78], ebx
mov ecx, dword [eax]
lea edx, [ebp + 0x78]
push edx
push 0x101a6a40
push eax
mov byte [ebp - 4], 6
call dword [ecx + 0x94]
mov dword [ebp + 0x64], ebx
mov eax, dword [ebp + 0x78]
mov ecx, dword [eax]
lea edx, [ebp + 0x64]
push edx
push esi
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0x94]
cmp dword [ebp + 0x64], ebx
je 0x10058957
mov dword [ebp + 0x40], ebx
mov eax, dword [ebp + 0x78]
mov ecx, dword [eax]
lea edx, [ebp + 0x40]
push edx
push dword [ebp + 0x64]
mov byte [ebp - 4], 8
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x40]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x10058957
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x78]
mov ecx, dword [eax]
push ebx
push dword [ebp + 0x58]
push eax
call dword [ecx + 0x54]
mov eax, dword [edi]
push eax
lea ecx, [ebp + 0xc]
mov word [ebp + 0xc], bx
call fcn.10014b08
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 9
movsd dword es:[edi], dword [esi]
call dword [ecx + pe_nt_image_headers32]
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0x64]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x100589aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x78]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x100589bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x60]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x100589cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x48]
call fcn.10003b75
push dword [ebp + 0x50]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x58]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x100589ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x10058827
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10058827
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x10058a15
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x48]
call fcn.10003b75
push dword [ebp + 0x50]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x58]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x10058a37
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x10058a47
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or ebx, 0xffffffff
jmp 0x10058827
mov dword [ebp + 0x6c], ebx
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
lea ecx, [ebp + 0x6c]
push ecx
push eax
mov byte [ebp - 4], 0xa
call fcn.10126d24
pop ecx
test eax, eax
mov eax, dword [ebp + 0x6c]
pop ecx
jl 0x10058a07
cmp eax, ebx
je 0x10058a09
mov dword [ebp + 0x44], ebx
mov ecx, dword [eax]
lea edx, [ebp + 0x44]
push edx
push 0x101a6a40
push eax
mov byte [ebp - 4], 0xb
call dword [ecx + 0x94]
mov dword [ebp + 0x3c], ebx
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
lea edx, [ebp + 0x3c]
push edx
push esi
push eax
mov byte [ebp - 4], 0xc
call dword [ecx + 0xbc]
cmp dword [ebp + 0x3c], ebx
je 0x10058fc6
lea ecx, [ebp - 0x40]
call fcn.100b9aa4
push dword [ebp + 0x54]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.100b9b72
test eax, eax
je 0x10058b31
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.100b9b4a
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x10058ae4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x10058af5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x10058b06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x48]
call fcn.10003b75
push dword [ebp + 0x50]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x58]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x10058882
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10058882
cmp dword [ebp - 0x3c], ebx
mov dword [ebp + 0x64], ebx
jle 0x10058ef5
cmp dword [ebp + 0x64], 0xf
jge 0x10058ef5
mov dword [ebp + 0x38], ebx
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
lea edx, [ebp + 0x38]
push edx
push str.menuitem
push eax
mov byte [ebp - 4], 0xe
call dword [ecx + 0xbc]
push dword [ebp + 0x64]
lea ecx, [ebp - 0x40]
call fcn.100b99fb
mov esi, eax
lea eax, [esi + 4]
push eax
lea ecx, [ebp + 0x4c]
mov dword [ebp - 0x28], esi
call fcn.10007ade
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xf
call fcn.1011a113
push dword [ebp + 0x4c]
lea ecx, [ebp]
mov byte [ebp - 4], 0x10
call fcn.10005f82
push dword [eax]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x11
call fcn.1011a1b7
push dword [ebp]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp + 0x7b], al
mov byte [ebp - 4], 0x10
call edi
cmp byte [ebp + 0x7b], bl
je 0x10058bcb
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp + 0x4c]
call fcn.10007845
mov eax, dword [0x101f3b1c]
mov dword [ebp + 0x28], eax
push 0xffffffffffffffff
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x4c]
lea eax, [ebp + 4]
push eax
call fcn.10121860
add esp, 0x14
push eax
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 0x12
call fcn.10007845
lea ecx, [ebp + 4]
mov byte [ebp - 4], 0x10
call fcn.10003b75
mov eax, dword [ebp + 0x2c]
cmp eax, dword [0x101f3b1c]
jbe 0x10058c1d
push 0x101a32bc
lea ecx, [ebp + 0x4c]
call fcn.1001107f
push esi
lea ecx, [ebp + 0x68]
call fcn.10007ade
push dword [ebp + 0x68]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x13
call fcn.10005f82
push dword [eax]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x14
call fcn.1011a1b7
push dword [ebp + 8]
mov byte [ebp + 0x7b], al
mov byte [ebp - 4], 0x13
call edi
cmp byte [ebp + 0x7b], bl
je 0x10058c60
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp + 0x68]
call fcn.10007845
mov eax, dword [0x101f3b20]
mov dword [ebp + 0x28], eax
push 0xffffffffffffffff
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp + 0x2c], ebx
call fcn.10121860
add esp, 0x14
push eax
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0x15
call fcn.10007845
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.10003b75
mov eax, dword [ebp + 0x2c]
cmp eax, dword [0x101f3b20]
jbe 0x10058cb5
push 0x101a32bc
lea ecx, [ebp + 0x68]
call fcn.1001107f
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp + 0x20]
call fcn.10007ade
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0x16
call fcn.100116a5
push 0x101a6b00
lea ecx, [ebp + 0x24]
call fcn.1004fac3
mov eax, dword [ebp + 0x24]
push eax
push dword [eax - 8]
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0x17
call fcn.1000e791
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x16
call fcn.10003b75
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.101233a6
pop ecx
pop ecx
push dword [ebp + 0x4c]
lea ecx, [ebp - 0x50]
mov word [ebp - 0x50], bx
call fcn.10014b08
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x101a6af4
push eax
mov byte [ebp - 4], 0x18
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xb4]
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x16
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp + 0x68]
lea ecx, [ebp - 0x60]
mov word [ebp - 0x60], bx
call fcn.10014b08
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x101a6ae8
push eax
mov byte [ebp - 4], 0x19
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xb4]
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 0x16
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x28]
add eax, 8
push eax
lea ecx, [ebp + 0x1c]
call fcn.10007ade
mov dword [ebp + 0x60], ebx
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
lea edx, [ebp + 0x60]
push edx
push str.command
push eax
call dword [ecx + 0xbc]
push str.navigate
lea ecx, [ebp - 0x24]
mov word [ebp - 0x24], bx
call fcn.10014b08
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x101a2768
push eax
mov byte [ebp - 4], 0x1c
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xb4]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp + 0x30], ebx
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
lea edx, [ebp + 0x30]
push edx
push 0x101a6ab8
push eax
mov byte [ebp - 4], 0x1d
call dword [ecx + 0xbc]
mov dword [ebp + 0x40], ebx
push dword [ebp + 0x1c]
mov esi, dword [ebp + 0x6c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1e
call fcn.10005f82
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp + 0x40]
push edx
push eax
push esi
mov byte [ebp - 4], 0x1f
call dword [ecx + 0xc4]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x1e
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
push ebx
push dword [ebp + 0x40]
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
push ebx
push dword [ebp + 0x30]
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
push ebx
push dword [ebp + 0x60]
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
push ebx
push dword [ebp + 0x38]
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp + 0x40]
cmp eax, ebx
mov byte [ebp - 4], 0x1d
je 0x10058e82
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
mov byte [ebp - 4], 0x1b
je 0x10058e93
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x60]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x10058ea4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x1c]
call fcn.10003b75
lea ecx, [ebp + 0x20]
call fcn.10003b75
lea ecx, [ebp + 0x68]
call fcn.10003b75
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xf
call fcn.1011a100
lea ecx, [ebp + 0x4c]
call fcn.10003b75
mov eax, dword [ebp + 0x38]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x10058ee1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp + 0x64]
mov eax, dword [ebp + 0x64]
cmp eax, dword [ebp - 0x3c]
mov esi, 0x101a6b18
jl 0x10058b3d
mov dword [ebp + 0x34], ebx
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax]
lea edx, [ebp + 0x34]
push edx
push esi
push eax
mov byte [ebp - 4], 0x20
call dword [ecx + 0x94]
cmp dword [ebp + 0x34], ebx
je 0x10058f3a
mov dword [ebp + 0x78], ebx
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax]
lea edx, [ebp + 0x78]
push edx
push dword [ebp + 0x34]
mov byte [ebp - 4], 0x21
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x78]
cmp eax, ebx
mov byte [ebp - 4], 0x20
je 0x10058f3a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax]
push ebx
push dword [ebp + 0x3c]
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
mov word [ebp - 0x24], bx
call fcn.10014b08
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 0x22
movsd dword es:[edi], dword [esi]
call dword [ecx + pe_nt_image_headers32]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0x34]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x10058f90
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.100b9b4a
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x10058fad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x10058fbe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x6c]
jmp 0x100589be
mov eax, dword [ebp + 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x10058fd7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x10058fe8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x48]
call fcn.10003b75
push dword [ebp + 0x50]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x58]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x1005900a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1005901a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 0x54]
call fcn.10003b75
push 2
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret