Function at 0x4214d0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1054
call fcn.00447860
mov eax, dword [0x4b83c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x4214fc
mov dword [ebp - 0x1028], 1
jmp 0x421506
mov dword [ebp - 0x1028], 0
mov cl, byte [ebp - 0x1028]
mov byte [ebp - 0x1019], cl
movzx edx, byte [ebp - 0x1019]
test edx, edx
jne 0x421553
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x421532
mov dword [ebp - 0x102c], 1
jmp 0x42153c
mov dword [ebp - 0x102c], 0
mov cl, byte [ebp - 0x102c]
mov byte [ebp - 0x101a], cl
movzx edx, byte [ebp - 0x101a]
test edx, edx
je 0x42155d
mov eax, 0x80070057
jmp 0x421796
mov dword [ebp - 0x1014], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1020], eax
mov ecx, dword [ebp - 0x1020]
mov dword [ebp - 0x1034], ecx
mov edx, dword [ebp - 0x1020]
cmp dword [edx + 0x14], 7
jbe 0x421594
mov dword [ebp - 0x1030], 1
jmp 0x42159e
mov dword [ebp - 0x1030], 0
mov al, byte [ebp - 0x1030]
mov byte [ebp - 0x101b], al
movzx ecx, byte [ebp - 0x101b]
test ecx, ecx
je 0x4215cf
mov edx, dword [ebp - 0x1020]
mov eax, dword [edx]
mov dword [ebp - 0x1040], eax
mov ecx, dword [ebp - 0x1040]
mov dword [ebp - 0x1034], ecx
mov edx, dword [ebp - 0x1034]
mov dword [ebp - 0x1044], edx
mov eax, dword [ebp - 0x1044]
mov dword [ebp - 0x1048], eax
lea ecx, [ebp - 0x1014]
push ecx
push 0
push 1
push 0x80
push 0x1001
mov edx, dword [ebp - 0x1048]
push edx
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileEx]
mov dword [ebp - 0x1018], eax
cmp dword [ebp - 0x1018], 0
jl 0x421790
mov dword [ebp - 0x1010], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1024], eax
mov ecx, dword [ebp - 0x1024]
mov dword [ebp - 0x103c], ecx
mov edx, dword [ebp - 0x1024]
cmp dword [edx + 0x14], 7
jbe 0x421653
mov dword [ebp - 0x1038], 1
jmp 0x42165d
mov dword [ebp - 0x1038], 0
mov al, byte [ebp - 0x1038]
mov byte [ebp - 0x101c], al
movzx ecx, byte [ebp - 0x101c]
test ecx, ecx
je 0x42168e
mov edx, dword [ebp - 0x1024]
mov eax, dword [edx]
mov dword [ebp - 0x104c], eax
mov ecx, dword [ebp - 0x104c]
mov dword [ebp - 0x103c], ecx
mov edx, dword [ebp - 0x103c]
mov dword [ebp - 0x1050], edx
mov eax, dword [ebp - 0x1050]
mov dword [ebp - 0x1054], eax
push 0
push 0
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp - 0x1054]
push edx
push 0
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
mov dword [ebp - 0x1018], eax
cmp dword [ebp - 0x1018], 0
jl 0x42177c
mov dword [ebp - 0x1018], 0x80004005
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea ecx, [ebp - 0x1004]
push ecx
mov edx, dword [ebp - 0x1010]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1010]
push ecx
mov edx, dword [eax + 0xc]
call edx
test eax, eax
jne 0x421768
cmp dword [ebp - 0x1008], 0
jbe 0x421768
lea eax, [ebp - 0x100c]
push eax
mov ecx, dword [ebp - 0x1008]
push ecx
lea edx, [ebp - 0x1004]
push edx
mov eax, dword [ebp - 0x1014]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1014]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x1018], eax
cmp dword [ebp - 0x1018], 0
jl 0x421757
mov ecx, dword [ebp - 0x1008]
cmp ecx, dword [ebp - 0x100c]
je 0x421763
mov dword [ebp - 0x1018], 0x80004005
jmp 0x421768
jmp 0x4216dd
mov edx, dword [ebp - 0x1010]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1010]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x1014]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1014]
push edx
mov eax, dword [ecx + 8]
call eax
mov eax, dword [ebp - 0x1018]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446382
mov esp, ebp
pop ebp
ret