Function at 0x10003640
Capabilities:
Delete file
Download url
Move file
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10008748
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1000c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
mov eax, dword [eax - 0xc]
lea esi, [edi + 8]
xor ebx, ebx
cmp eax, ebx
jne 0x100036e8
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x1000967c
call fcn.100054d0
lea edx, [ebp - 0x18]
push edx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100044d0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10005580
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100036c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100036e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ebx, 0x1000966c
call fcn.100058b0
lea edx, [ebp - 0x1c]
push esi
push edx
mov ebx, eax
mov dword [ebp - 4], 2
call fcn.10005800
push eax
lea eax, [ebp - 0x14]
push eax
mov ebx, 0x10009690
mov byte [ebp - 4], 3
call fcn.100058b0
add esp, 0x18
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003749
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000376c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ebx, 0x1000966c
call fcn.100058b0
lea edx, [ebp - 0x10]
push esi
push edx
mov ebx, eax
mov byte [ebp - 4], 7
call fcn.10005800
add esp, 0x10
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100037b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
call esi
mov edx, dword [edi + 0x10]
mov eax, dword [edx - 0xc]
lea ebx, [edi + 0x10]
test eax, eax
jne 0x100037de
mov eax, dword [edi]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
jmp 0x1000394b
mov eax, dword [0x1000c028]
mov edx, dword [eax + 0xc]
mov ecx, 0x1000c028
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.100045b0
test eax, eax
je 0x10003928
lea eax, [ebp - 0x18]
push eax
mov eax, ebx
call fcn.10005a50
add esp, 4
test al, al
je 0x10003928
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x14]
push edx
lea esi, [ebp - 0x10]
call fcn.10003b30
test eax, eax
je 0x10003922
mov dword [edi + 0x18], 1
mov edi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x28]
push eax
lea ebx, [edi + 0x28]
call fcn.10005800
push eax
lea ecx, [ebp + 8]
push ecx
mov ebx, 0x1000969c
mov byte [ebp - 4], 0xb
call fcn.100058b0
add esp, 0x10
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 0xc
call fcn.10005580
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003893
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100038b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x28]
push eax
push esi
push 0x100094f0
push 0x100094e4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x2bf20
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003906
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x10003ae6
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000394b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi]
push 0
push 0
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jne 0x10003acf
mov edx, dword [ebp - 0x10]
push edx
call esi
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x10003a28
mov edx, dword [0x1000c028]
mov eax, dword [edx + 0xc]
mov ecx, 0x1000c028
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xd
mov eax, dword [edi]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.100045b0
test eax, eax
je 0x100039c2
lea ecx, [ebp - 0x18]
push ecx
mov eax, ebx
call fcn.10005ab0
add esp, 4
test al, al
je 0x10003a05
mov edx, dword [ebp - 0x14]
push edx
call esi
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003906
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x10003ae6
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003a28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10003acf
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x14]
push eax
lea esi, [ebp - 0x10]
call fcn.10003b30
test eax, eax
je 0x10003acf
mov ecx, dword [ebx]
mov dword [edi + 0x18], 1
cmp dword [ecx - 0xc], 0
je 0x10003aba
mov edi, dword [ebp + 8]
push ebx
lea edx, [ebp - 0x28]
push edx
lea ebx, [edi + 0x28]
call fcn.10005800
push eax
lea eax, [ebp + 8]
push eax
mov ebx, 0x1000969c
mov byte [ebp - 4], 0xe
call fcn.100058b0
add esp, 0x10
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 0xf
call fcn.10005580
lea eax, [ebp + 8]
call fcn.10005eb0
lea eax, [ebp - 0x28]
call fcn.10005eb0
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x28]
push eax
push esi
push 0x100094f0
push 0x100094e4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x2bf20
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003af2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003b18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4