Function at 0x101102d
Capabilities:
Check for time delay via gettickcount
Check http status code
Delete file
Timestomp file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x550
mov eax, dword [0x10161d4]
mov dword [ebp - 0x46c], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x49c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x478], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4b4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x47c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x494], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x4a8], ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
or dword [ebp - 0x480], 0xffffffff
push esi
push edi
mov ecx, eax
not ecx
xor edi, edi
inc edi
and ecx, edi
mov dword [ebp - 0x4a4], ecx
mov ecx, eax
shr ecx, 3
not ecx
and ecx, edi
mov dword [ebp - 0x4d8], ecx
mov ecx, eax
mov edx, eax
mov ebx, eax
shr ecx, 4
shr eax, 5
xor esi, esi
not ecx
and ecx, edi
not eax
and eax, edi
shr edx, 1
and edx, edi
shr ebx, 2
and ebx, edi
mov dword [ebp - 0x4b8], ecx
push 7
mov dword [ebp - 0x4cc], eax
xor eax, eax
cmp dword [ebp - 0x49c], esi
pop ecx
lea edi, [ebp - 0x4f8]
mov dword [ebp - 0x4ac], esi
mov dword [ebp - 0x490], esi
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x48c], esi
mov dword [ebp - 0x4c8], 0x100303c
mov dword [ebp - 0x4c4], esi
mov dword [ebp - 0x484], esi
mov dword [ebp - 0x4a0], esi
mov dword [ebp - 0x4b0], esi
mov dword [ebp - 0x4c0], edx
rep stosd dword es:[edi], eax
je 0x1011904
cmp dword [ebp - 0x478], esi
jne 0x101113b
cmp edx, esi
je 0x1011904
mov eax, dword [ebp - 0x4b4]
cmp eax, esi
je 0x1011147
mov dword [eax], esi
mov esi, 0x1130
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
push esi
push 0
mov dword [ebp - 0x470], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
cmp dword [ebp - 0x470], 0
mov dword [ebp - 0x474], eax
je 0x101137d
xor ecx, ecx
cmp eax, ecx
je 0x101137d
push dword [ebp + 0x18]
mov edx, dword [ebp - 0x470]
push dword [ebp - 0x47c]
mov word [edx], cx
mov word [eax], cx
mov word [ebp - 0x260], cx
mov word [ebp - 0x464], cx
call fcn.01011d96
test eax, eax
jne 0x10111c3
mov ebx, 0x80004004
jmp 0x1011382
xor eax, eax
push 0xf
pop ecx
lea edi, [ebp - 0x550]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x540], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x524], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x534], eax
mov eax, 0x101
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x528], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x54c], eax
lea eax, [ebp - 0x550]
push eax
mov eax, dword [ebp - 0x46c]
push 0
push 0
push dword [ebp - 0x49c]
mov edi, 0x898
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x550], 0x3c
mov dword [ebp - 0x53c], edi
mov dword [ebp - 0x520], edi
mov dword [ebp - 0x52c], ecx
mov dword [ebp - 0x548], 0x20
call dword [eax + 8]
test eax, eax
je 0x1011782
mov ecx, dword [ebp - 0x49c]
xor eax, eax
cmp word [ecx], ax
je 0x1011376
cmp word [ebp - 0x5c], ax
je 0x1011376
mov ecx, dword [ebp - 0x470]
cmp word [ecx], ax
je 0x1011376
lea eax, [ebp - 0x5c]
push 0x1002f8c
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x10112c1
lea eax, [ebp - 0x5c]
push 0x1002f80
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
jne 0x1011376
mov dword [ebp - 0x4b0], 0x800000
test ebx, ebx
je 0x1011342
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x4fe]
push eax
movzx eax, word [ebp - 0x500]
push eax
movzx eax, word [ebp - 0x502]
push eax
movzx eax, word [ebp - 0x506]
push eax
movzx eax, word [ebp - 0x508]
push 0x64
pop ecx
cdq
idiv ecx
lea eax, [ebp - 0x1c]
push edx
push 0x1003010
push 0x100
push 0
push 0
push 0xc
push eax
call fcn.0100606b
mov ebx, eax
add esp, 0x2c
test ebx, ebx
jl 0x1011382
push 0x100
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push dword [ebp - 0x474]
call fcn.0100725b
mov ebx, eax
test ebx, ebx
jl 0x1011382
xor eax, eax
cmp dword [ebp - 0x4a4], eax
sete al
mov dword [ebp - 0x4d0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4a0], eax
jmp 0x10114ae
call esi
mov ebx, eax
and ebx, 0xffff
or ebx, 0x80070000
jmp 0x1011382
mov ebx, 0x80070057
jmp 0x1011382
mov ebx, 0x8007000e
mov edi, dword [ebp - 0x46c]
xor esi, esi
cmp dword [ebp - 0x468], esi
je 0x10113a1
push dword [ebp - 0x468]
call dword [edi + 0x28]
mov dword [ebp - 0x468], esi
cmp dword [ebp - 0x490], esi
je 0x10113b8
push dword [ebp - 0x490]
call dword [edi + 0x28]
mov dword [ebp - 0x490], esi
cmp dword [ebp - 0x4ac], esi
je 0x10113c9
push dword [ebp - 0x4ac]
call dword [edi + 0x28]
cmp dword [ebp - 0x48c], esi
je 0x10113eb
push dword [ebp - 0x48c]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x48c], esi
cmp dword [ebp - 0x4f0], esi
je 0x10113ff
push dword [ebp - 0x4f0]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x4ec], esi
je 0x1011413
push dword [ebp - 0x4ec]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x4e8], esi
je 0x1011427
push dword [ebp - 0x4e8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 7
xor eax, eax
cmp ebx, esi
pop ecx
lea edi, [ebp - 0x4f8]
rep stosd dword es:[edi], eax
jge 0x10118b6
push dword [ebp + 0x18]
push dword [ebp - 0x47c]
call fcn.01011d96
test eax, eax
je 0x101188d
cmp dword [ebp - 0x480], esi
jl 0x101188d
cmp dword [ebp - 0x480], 3
jae 0x101188d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x4a0]
jbe 0x1011481
sub eax, dword [ebp - 0x4a0]
jmp 0x1011488
sub eax, dword [ebp - 0x4a0]
dec eax
cmp eax, 0x1d4c0
jae 0x101187e
push 0x1002fec
push ebx
call fcn.01013512
cmp dword [ebp - 0x480], esi
pop ecx
pop ecx
jne 0x10114ae
mov dword [ebp - 0x484], ebx
mov esi, dword [ebp - 0x46c]
inc dword [ebp - 0x480]
xor edi, edi
push edi
push edi
push edi
push dword [ebp - 0x4d0]
push 0x1002e50
call dword [esi + 0xc]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x4ac], ebx
je 0x1011782
cmp dword [ebp - 0x4a4], edi
je 0x1011504
push dword [ebp - 0x470]
lea eax, [ebp - 0x4f8]
push dword [ebp - 0x49c]
push ebx
push dword [ebp - 0x4cc]
push esi
call fcn.01010a84
push edi
push edi
push dword [ebp - 0x470]
push ebx
call dword [esi + 0x10]
cmp eax, edi
mov dword [ebp - 0x490], eax
je 0x1011782
xor eax, eax
cmp dword [ebp - 0x4c0], edi
setne al
cmp eax, 2
mov dword [ebp - 0x488], eax
jae 0x1011625
mov edi, dword [ebp - 0x4a4]
neg edi
sbb edi, edi
lea eax, [ebp - 0x4f8]
and edi, eax
cmp dword [ebp - 0x468], 0
je 0x1011569
push dword [ebp - 0x468]
mov eax, dword [ebp - 0x46c]
call dword [eax + 0x28]
and dword [ebp - 0x468], 0
mov eax, dword [ebp - 0x488]
mov esi, dword [ebp + eax*4 - 0x4c8]
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x4b0]
push dword [ebp + 0x18]
push dword [ebp - 0x47c]
push dword [ebp - 0x474]
push esi
push dword [ebp - 0x470]
push 0
push dword [ebp - 0x490]
push dword [ebp - 0x46c]
call fcn.01010c70
mov ebx, eax
test ebx, ebx
jl 0x1011382
push 0
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x4dc]
push eax
mov eax, dword [ebp - 0x46c]
push 0
push 0x20000013
push dword [ebp - 0x468]
mov dword [ebp - 0x4d4], 4
call dword [eax + 0x20]
test eax, eax
je 0x1011782
mov ebx, dword [ebp - 0x4dc]
cmp ebx, 0xc8
je 0x1011625
cmp ebx, 0xce
je 0x1011625
or ebx, 0x80190000
test esi, esi
je 0x1011382
inc dword [ebp - 0x488]
cmp dword [ebp - 0x488], 2
jb 0x101154a
xor esi, esi
cmp dword [ebp - 0x4c0], esi
jne 0x1011842
mov edi, dword [ebp - 0x46c]
lea eax, [ebp - 0x514]
push eax
push dword [ebp - 0x478]
lea ebx, [ebp - 0x498]
push dword [ebp + 0x18]
mov eax, edi
push dword [ebp - 0x47c]
push dword [ebp - 0x468]
call fcn.01010e86
mov ebx, eax
cmp ebx, esi
jl 0x1011382
cmp dword [ebp - 0x4d8], esi
je 0x101167e
mov dword [ebp - 0x480], 3
cmp ebx, esi
jne 0x1011850
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0x488]
cmp dword [ebp + eax*4 - 0x4c8], esi
je 0x10116b8
cmp dword [ebp - 0x468], esi
je 0x10116b8
push dword [ebp - 0x468]
call dword [edi + 0x28]
mov dword [ebp - 0x468], esi
mov edi, dword [ebp - 0x4a4]
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x4b0]
neg edi
push dword [ebp + 0x18]
sbb edi, edi
push dword [ebp - 0x47c]
lea eax, [ebp - 0x4f8]
push dword [ebp - 0x474]
and edi, eax
push esi
push dword [ebp - 0x470]
push dword [ebp - 0x468]
push dword [ebp - 0x490]
push dword [ebp - 0x46c]
call fcn.01010c70
mov ebx, eax
cmp ebx, esi
jl 0x1011382
cmp dword [ebp - 0x4b8], esi
je 0x1011760
mov ebx, dword [ebp - 0x46c]
lea eax, [ebp - 0x48c]
push eax
push dword [ebp - 0x468]
call fcn.01010f4e
test eax, eax
jl 0x1011760
cmp dword [ebp - 0x48c], esi
je 0x1011760
push 0x1002fd8
push dword [ebp - 0x48c]
mov dword [ebp - 0x4bc], esi
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
jne 0x1011760
mov ebx, 0x8007000b
jmp 0x1011382
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x101179b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1011364
call esi
mov ebx, eax
jmp 0x1011382
lea eax, [ebp - 0x50c]
push eax
push dword [ebp - 0x4a8]
mov eax, dword [ebp - 0x46c]
push dword [ebp - 0x494]
push dword [ebp + 0x18]
push dword [ebp - 0x47c]
push dword [ebp + 0x28]
push dword [ebp - 0x498]
push edi
push dword [ebp - 0x468]
push dword [eax + 0x24]
call fcn.01011dcd
mov ebx, eax
cmp ebx, esi
jge 0x10117f3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1011382
push esi
push esi
lea eax, [ebp - 0x514]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4b4]
cmp eax, esi
je 0x101181c
mov ecx, dword [ebp - 0x498]
mov dword [eax], ecx
cmp dword [ebp - 0x4bc], esi
je 0x1011382
push dword [ebp - 0x478]
call fcn.0101206f
mov ebx, eax
test ebx, ebx
jl 0x1011382
cmp ebx, 1
jne 0x1011849
xor ebx, ebx
jmp 0x1011382
mov ebx, 0x8007000b
jmp 0x10117e2
xor ebx, ebx
cmp dword [ebp - 0x494], esi
je 0x1011382
push esi
push esi
push dword [ebp - 0x498]
push dword [ebp - 0x498]
push esi
push dword [ebp - 0x4a8]
call dword [ebp - 0x494]
jmp 0x1011382
push eax
push 0x1002f98
push ebx
call fcn.01013512
add esp, 0xc
cmp dword [ebp - 0x494], esi
je 0x10118ac
push esi
push esi
push esi
push dword [ebp - 0x498]
push 2
push dword [ebp - 0x4a8]
call dword [ebp - 0x494]
cmp dword [ebp - 0x484], esi
jl 0x10118c4
jmp 0x10118be
cmp dword [ebp - 0x484], esi
jge 0x10118c4
mov dword [ebp - 0x484], ebx
cmp dword [ebp - 0x470], esi
je 0x10118e0
push dword [ebp - 0x470]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x474], esi
je 0x10118fc
push dword [ebp - 0x474]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x484]
jmp 0x1011909
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100c0c3
leave
ret 0x24