Function at 0x45eb80
Capabilities:
Check for time delay via gettickcount
Download and write a file
Get number of processors
Read data from internet
Receive and write data from server to client
Receive data
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dceb4
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 4]
push str.____________________Entrance____________________
lea ecx, [esp + 0x24]
mov eax, edi
push ecx
push eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], str.GetSyncNotif
call fcn.00471a00
add esp, 0xc
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x148]
mov ebp, dword [esp + 0x144]
push 1
push edx
mov edx, dword [esp + 0x144]
push eax
xor ebx, ebx
mov dword [esp + 0x140], ebx
mov ecx, dword [ebp]
mov eax, dword [edx]
push ecx
push eax
push str.strRequestURL_s__bStop_d__pINotifier_d__pStatisticsNotify_d__bSaveToFile_d
lea ecx, [esp + 0x38]
push ecx
push edi
call fcn.004719c0
mov edx, dword [esp + 0x168]
add esp, 0x20
push edx
push ebp
mov ecx, esi
call fcn.0045e280
mov edi, eax
cmp edi, ebx
je 0x45ec59
push str.______________________Exit______________________
lea eax, [esp + 0x24]
mov dword [esp + 0x138], 0xffffffff
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.00471a00
add esp, 0xc
mov eax, edi
jmp 0x45f5b8
mov edx, dword [ebp]
test edx, edx
je 0x45ec87
push str.______________________Exit______________________
lea eax, [esp + 0x24]
mov dword [esp + 0x138], 0xffffffff
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.00471a00
add esp, 0xc
jmp 0x45f5b6
lea edx, [esp + 0x18]
push edx
mov ecx, 0x4f23a8
call fcn.00405a00
lea eax, [esi + 0x54]
push eax
mov ecx, 0x4e7868
mov byte [esp + 0x138], 1
call fcn.004606b0
add esp, 4
test al, al
je 0x45ed52
mov edx, str.POST
lea edi, [esp + 0x18]
call fcn.00405c20
lea ecx, [esp + 0x50]
push ecx
mov ecx, str.content_type
call fcn.00405a00
lea edx, [esp + 0x58]
push edx
mov ecx, str.text_xml
mov byte [esp + 0x138], 2
call fcn.00405a00
lea eax, [esp + 0x58]
push eax
push esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x13c], 3
call fcn.0045d550
mov byte [esp + 0x134], 2
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ed2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x134], 1
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ed52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp]
test ecx, ecx
je 0x45eda7
mov byte [esp + 0x134], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ed80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.______________________Exit______________________
lea ecx, [esp + 0x24]
mov dword [esp + 0x138], 0xffffffff
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.00471a00
add esp, 0xc
jmp 0x45f5b6
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x148]
push eax
mov eax, dword [esp + 0x140]
push ebp
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push esi
mov byte [esp + 0x14c], 4
call fcn.0045e500
mov edi, eax
cmp edi, ebx
je 0x45ee1b
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x45ede9
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x18]
call fcn.00405f50
push str.______________________Exit______________________
lea ecx, [esp + 0x24]
mov dword [esp + 0x138], 0xffffffff
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.00471a00
add esp, 0xc
mov eax, edi
jmp 0x45f5b8
mov eax, dword [ebp]
test eax, eax
jne 0x45f590
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x6c]
mov dword [esp + 0x60], ecx
push eax
mov ecx, esi
call fcn.0045cbb0
lea ebp, [esi + 0x58]
mov edi, ebp
mov byte [esp + 0x134], 5
call fcn.004082a0
lea ecx, [esp + 0x68]
mov byte [esp + 0x134], 4
call fcn.00405f50
mov ecx, dword [esp + 0x144]
mov edx, dword [ecx]
test edx, edx
jne 0x45f590
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x74], edi
call fcn.0045dab0
test al, al
jne 0x45eeea
mov ecx, dword [esp + 0x148]
cmp ecx, ebx
je 0x45ee9c
mov edx, dword [ecx]
mov eax, dword [edx]
push 0xb
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x44]
push eax
push str.GetLastError_____d
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.00471980
add esp, 0x10
lea esi, [esp + 0x14]
call fcn.0047e3d0
lea ecx, [esp + 0x18]
call fcn.00405f50
lea eax, [esp + 0x20]
mov dword [esp + 0x134], 0xffffffff
call fcn.0042e9b0
mov eax, 0xb
jmp 0x45f5b8
lea eax, [esp + 0x78]
mov dword [esp + 0x78], edi
push eax
mov edi, esi
call fcn.0045ce20
mov ecx, dword [esp + 0x144]
mov edx, dword [ecx]
test edx, edx
jne 0x45f590
mov edi, dword [esp + 0x140]
push edi
lea eax, [esp + 0x40]
push eax
call fcn.0045c030
push ebx
push 0x80
push 2
push ebx
push 2
mov byte [esp + 0x148], 6
mov eax, dword [edi]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x3c], eax
cmp eax, 0xffffffff
jne 0x45ef9f
mov edx, 0x4ed124
mov edi, ebp
call fcn.00405c20
mov ecx, dword [esp + 0x148]
cmp ecx, ebx
je 0x45ef66
mov edx, dword [ecx]
mov eax, dword [edx]
push 0xd
call eax
lea esi, [esp + 0x3c]
call fcn.0045c0a0
lea esi, [esp + 0x14]
call fcn.0047e3d0
lea ecx, [esp + 0x18]
call fcn.00405f50
lea eax, [esp + 0x20]
mov dword [esp + 0x134], 0xffffffff
call fcn.0042e9b0
mov eax, 0xd
jmp 0x45f5b8
mov ecx, dword [esp + 0x144]
mov edx, dword [ecx]
test edx, edx
jne 0x45f587
lea eax, [esp + 0x4c]
push eax
mov ecx, str.content_length
call fcn.00405a00
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x108]
lea edi, [esi + 0x64]
push edx
mov esi, edi
call fcn.00460a10
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edx
call fcn.00405f50
lea esi, [esp + 0x28]
call fcn.00424d90
mov byte [esp + 0x134], 7
mov eax, dword [edi + 0x18]
mov ecx, dword [edi]
lea esi, [esp + 0x7c]
lea edi, [esp + 0x60]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
call fcn.0046dab0
test al, al
je 0x45f02e
mov edx, 0x4f2cc0
lea edi, [esp + 0x28]
call fcn.00405c20
jmp 0x45f043
lea esi, [esp + 0x60]
call fcn.00483a00
add eax, 4
lea edi, [esp + 0x28]
call fcn.004082a0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x148]
mov ebp, dword [edi]
push esi
call fcn.004a5c83
mov edx, dword [ebp + 4]
add esp, 4
push eax
mov ecx, edi
call edx
test eax, eax
jne 0x45f06e
lea ecx, [esp + 0x14]
call fcn.0047e3f0
mov edi, dword [esp + 0x14c]
mov ebp, dword [edi]
push esi
call fcn.004a5c83
cdq
add esp, 4
push edx
push eax
mov eax, dword [ebp + 4]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x144]
mov edx, dword [ecx]
test edx, edx
jne 0x45f57e
push 0x1001
mov dword [esp + 0x30], ebx
call fcn.004a3368
add esp, 4
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push eax
mov ecx, 0x4ed100
mov byte [esp + 0x138], 8
call fcn.00460540
mov edi, dword [esp + 0x140]
mov byte [esp + 0x134], 9
mov eax, dword [edi]
sub eax, 0x10
call fcn.00408230
add eax, 0x10
mov dword [esp + 0x38], eax
mov edx, 0x4e7868
mov byte [esp + 0x134], 0xa
mov dword [esp + 0x48], ebx
call fcn.00405c20
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebp, ebp
call edi
push ebx
push ebx
lea esi, [esp + 0x114]
mov dword [esp + 0x5c], eax
call fcn.004531c0
mov ecx, dword [esp + 0x14c]
mov esi, dword [ecx]
add esi, 8
call edi
mov ecx, dword [esp + 0x14c]
mov edx, dword [esi]
push eax
call edx
mov eax, dword [esp + 0x144]
mov ecx, dword [eax]
test ecx, ecx
jne 0x45f416
mov byte [esp + 0x1f], bl
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x45f159
cmp ebp, 1
je 0x45f3c7
mov eax, dword [esp + 0x144]
mov ecx, dword [eax]
test ecx, ecx
jne 0x45f432
fldz
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
fst qword [esp + 0xec]
xor eax, eax
fstp qword [esp + 0xf4]
mov ecx, 0x28
mov edx, 0x1000
mov dword [esp + 0x9c], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x14c]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x98], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xfc], ebx
cmp byte [esp + 0x1f], bl
jne 0x45f2a2
push ebx
push 4
lea edx, [esp + 0x8c]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFileExW]
mov ebp, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
cmp ebp, ebx
je 0x45f2ac
cmp byte [esp + 0x1f], bl
je 0x45f2d0
push ebx
push 4
lea ecx, [esp + 0xb4]
push ecx
push edi
mov byte [esp + 0x2f], 1
call dword [sym.imp.WININET.dll_InternetReadFileExA]
mov edx, dword [esp + 0xc4]
mov ebp, eax
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0xd4]
call fcn.004769e0
cmp ebp, ebx
je 0x45f44e
mov eax, dword [esp + 0x144]
mov ecx, dword [eax]
test ecx, ecx
jne 0x45f432
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jbe 0x45f14e
cmp eax, 0x1000
jbe 0x45f30e
xor eax, eax
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x144]
mov byte [edx + eax], bl
mov eax, dword [edi]
test eax, eax
jne 0x45f55f
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
push ebx
lea ecx, [esp + 0x70]
push ecx
push edx
push esi
push eax
mov dword [esp + 0x80], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45f4d8
mov ecx, dword [edi]
test ecx, ecx
jne 0x45f432
mov esi, dword [esp + 0x48]
add esi, dword [esp + 0x2c]
mov eax, 0x51eb851f
imul esi
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32000
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x48], esi
je 0x45f398
mov edx, dword [esp + 0x28]
push edx
call fcn.004a5c83
add esp, 4
cmp esi, eax
jne 0x45f148
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x148]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 8]
push esi
call eax
test eax, eax
je 0x45f55f
call edi
mov dword [esp + 0x54], eax
jmp 0x45f148
mov ecx, dword [esp + 0x14c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x74]
push ecx
call fcn.00477160
add esp, 4
mov edi, dword [esp + 0x140]
mov byte [esp + 0x134], 0xb
call fcn.004082a0
lea ecx, [esp + 0x74]
call fcn.00405f50
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x45f416
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x38]
call fcn.00405f50
lea eax, [esp + 0x34]
call fcn.00452320
mov edx, dword [esp + 0x30]
push edx
jmp 0x45f576
lea ecx, [esp + 0x38]
call fcn.00405f50
lea eax, [esp + 0x34]
call fcn.00452320
mov eax, dword [esp + 0x30]
push eax
jmp 0x45f576
mov ecx, dword [esp + 0x148]
mov edx, dword [ecx]
mov eax, dword [edx]
push 0xc
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x44]
push eax
push str.GetLastError_____d
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.00471980
add esp, 0x10
lea ecx, [esp + 0x38]
call fcn.00405f50
lea eax, [esp + 0x34]
call fcn.00452320
push esi
call fcn.004a529a
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00405f50
lea esi, [esp + 0x3c]
call fcn.0045c0a0
lea esi, [esp + 0x14]
call fcn.0047e3d0
lea ecx, [esp + 0x18]
call fcn.00405f50
lea eax, [esp + 0x20]
mov dword [esp + 0x134], 0xffffffff
call fcn.0042e9b0
mov eax, 0xc
jmp 0x45f5b8
mov ecx, dword [esp + 0x148]
mov edx, dword [ecx]
mov eax, dword [edx]
push 0xe
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x44]
push eax
push str.GetLastError_____d
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.00471980
add esp, 0x10
lea ecx, [esp + 0x38]
call fcn.00405f50
lea eax, [esp + 0x34]
call fcn.00452320
push esi
call fcn.004a529a
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00405f50
lea esi, [esp + 0x3c]
call fcn.0045c0a0
lea esi, [esp + 0x14]
call fcn.0047e3d0
lea ecx, [esp + 0x18]
call fcn.00405f50
lea eax, [esp + 0x20]
mov dword [esp + 0x134], 0xffffffff
call fcn.0042e9b0
mov eax, 0xe
jmp 0x45f5b8
lea ecx, [esp + 0x38]
call fcn.00405f50
lea eax, [esp + 0x34]
call fcn.00452320
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004a529a
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00405f50
lea esi, [esp + 0x3c]
call fcn.0045c0a0
lea esi, [esp + 0x14]
call fcn.0047e3d0
lea ecx, [esp + 0x18]
call fcn.00405f50
lea eax, [esp + 0x20]
mov dword [esp + 0x134], 0xffffffff
call fcn.0042e9b0
xor eax, eax
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 0x14