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

Disassembly:
push ebp
sub esp, 0x6c
push 0x54
mov eax, 0x1013a12b
call fcn.101018b2
push str.bdbar
lea ecx, [ebp + 0x54]
call fcn.1003d283
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 0x1003d33c
inc ebx
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 0x54]
call fcn.100015d9
mov eax, ebx
jmp 0x1003db2b
mov dword [ebp + 0x5c], ebx
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x54]
mov byte [ebp - 4], 1
call fcn.100e70df
pop ecx
test eax, eax
mov eax, dword [ebp + 0x5c]
pop ecx
jl 0x1003db0a
cmp eax, ebx
je 0x1003db0c
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 0x1003d394
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1003d38f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 2
pop ebx
jmp 0x1003d324
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.1000587e
mov esi, 0x10158e2c
push esi
push dword [ebp + 0x48]
call fcn.10002de4
test eax, eax
pop ecx
pop ecx
jne 0x1003d54c
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.100e70df
pop ecx
test eax, eax
mov eax, dword [ebp + 0x60]
pop ecx
jl 0x1003d504
cmp eax, ebx
je 0x1003d506
mov dword [ebp + 0x78], ebx
mov ecx, dword [eax]
lea edx, [ebp + 0x78]
push edx
push 0x10158d3c
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 0x1003d454
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 0x1003d454
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.1000e222
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 + 0x108]
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 0x1003d4a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x78]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x1003d4b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x60]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x1003d4c9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x48]
call fcn.100015d9
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 0x1003d4eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1003d324
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1003d324
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x1003d512
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x48]
call fcn.100015d9
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 0x1003d534
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1003d544
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or ebx, 0xffffffff
jmp 0x1003d324
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.100e70df
pop ecx
test eax, eax
mov eax, dword [ebp + 0x6c]
pop ecx
jl 0x1003d504
cmp eax, ebx
je 0x1003d506
mov dword [ebp + 0x44], ebx
mov ecx, dword [eax]
lea edx, [ebp + 0x44]
push edx
push 0x10158d3c
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 0x1003dac3
lea ecx, [ebp - 0x40]
call fcn.10091486
push dword [ebp + 0x54]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.10091554
test eax, eax
je 0x1003d62e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.1009152c
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x1003d5e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x1003d5f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x1003d603
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x48]
call fcn.100015d9
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 0x1003d37f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1003d37f
cmp dword [ebp - 0x3c], ebx
mov dword [ebp + 0x64], ebx
jle 0x1003d9f2
cmp dword [ebp + 0x64], 0xf
jge 0x1003d9f2
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.100913dd
mov esi, eax
lea eax, [esi + 4]
push eax
lea ecx, [ebp + 0x4c]
mov dword [ebp - 0x28], esi
call fcn.1000584b
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xf
call fcn.100dae54
push dword [ebp + 0x4c]
lea ecx, [ebp]
mov byte [ebp - 4], 0x10
call fcn.10003abd
push dword [eax]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x11
call fcn.100daef8
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 0x1003d6c8
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp + 0x4c]
call fcn.10005459
mov eax, dword [0x1019a8d4]
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.100e1bbf
add esp, 0x14
push eax
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 0x12
call fcn.10005459
lea ecx, [ebp + 4]
mov byte [ebp - 4], 0x10
call fcn.100015d9
mov eax, dword [ebp + 0x2c]
cmp eax, dword [0x1019a8d4]
jbe 0x1003d71a
push 0x10158e10
lea ecx, [ebp + 0x4c]
call fcn.1001c185
push esi
lea ecx, [ebp + 0x68]
call fcn.1000584b
push dword [ebp + 0x68]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x13
call fcn.10003abd
push dword [eax]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x14
call fcn.100daef8
push dword [ebp + 8]
mov byte [ebp + 0x7b], al
mov byte [ebp - 4], 0x13
call edi
cmp byte [ebp + 0x7b], bl
je 0x1003d75d
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp + 0x68]
call fcn.10005459
mov eax, dword [0x1019a8d8]
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.100e1bbf
add esp, 0x14
push eax
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0x15
call fcn.10005459
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.100015d9
mov eax, dword [ebp + 0x2c]
cmp eax, dword [0x1019a8d8]
jbe 0x1003d7b2
push 0x10158e10
lea ecx, [ebp + 0x68]
call fcn.1001c185
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp + 0x20]
call fcn.1000584b
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0x16
call fcn.10020ba7
push 0x10158e0c
lea ecx, [ebp + 0x24]
call fcn.10036445
mov eax, dword [ebp + 0x24]
push eax
push dword [eax - 8]
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0x17
call fcn.1000bdcb
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x16
call fcn.100015d9
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.100e3705
pop ecx
pop ecx
push dword [ebp + 0x4c]
lea ecx, [ebp - 0x50]
mov word [ebp - 0x50], bx
call fcn.1000e222
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 0x10158e00
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.1000e222
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 0x10158df4
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.1000584b
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.1000e222
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 0x1015586c
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 0x10158dc4
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.10003abd
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 0x1003d97f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
mov byte [ebp - 4], 0x1b
je 0x1003d990
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x60]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x1003d9a1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x1c]
call fcn.100015d9
lea ecx, [ebp + 0x20]
call fcn.100015d9
lea ecx, [ebp + 0x68]
call fcn.100015d9
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xf
call fcn.100dae41
lea ecx, [ebp + 0x4c]
call fcn.100015d9
mov eax, dword [ebp + 0x38]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x1003d9de
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, 0x10158e2c
jl 0x1003d63a
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 0x1003da37
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 0x1003da37
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.1000e222
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 + 0x108]
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 0x1003da8d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.1009152c
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x1003daaa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x1003dabb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x6c]
jmp 0x1003d4bb
mov eax, dword [ebp + 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x1003dad4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x1003dae5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x48]
call fcn.100015d9
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 0x1003db07
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1003db17
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.100015d9
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