joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4beee0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597728
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ea110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], edx
mov edi, ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x4befb1
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
jne 0x4befb1
push edi
call esi
test eax, eax
je 0x4befb1
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4bef4b
push edi
call ebx
test eax, eax
jne 0x4befb1
cmp dword [ebp - 0x10], 0
je 0x4befc8
lea ecx, [ebp - 0x10]
call fcn.004080b0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x10]
push 0x5c3a14
push eax
call fcn.0041ee80
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call ebx
push 1
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
push 4
push 0
push esi
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4befb1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
neg eax
sbb eax, eax
neg 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
Function at 0x4bfe90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597918
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x5ea110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x1c], ebx
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], 0
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x4bfede
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x4bff8c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4bff8c
xor ecx, ecx
lea edx, [ebp - 0x58]
mov dword [ebp - 0x14], ecx
xor esi, esi
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov ecx, dword [ecx]
call fcn.004be8e0
test eax, eax
je 0x4bff46
mov eax, dword [ebp - 0x50]
mov esi, eax
movzx eax, ax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
mov ebx, eax
movzx eax, ax
shr esi, 0x10
shr ebx, 0x10
mov dword [ebp - 0x14], eax
jmp 0x4bff48
xor eax, eax
push eax
push ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push str._d._d._d._d
push eax
call fcn.0041ee80
mov eax, dword [ebp + 8]
add esp, 0x18
test eax, eax
je 0x4bff68
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4bff74
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4bff7d
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4bff89
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
push esi
call fcn.004079b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
or eax, 0xffffffff
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4bffb5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bffd0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59794b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x5ea110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x4c0022
push 0x5c3ac8
push eax
call fcn.005337ca
add esp, 8
test eax, eax
je 0x4c0022
sub eax, dword [esi]
sar eax, 1
cmp eax, 1
je 0x4c0051
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x4c017f
push 0x5c3ad0
push eax
call fcn.005337ca
add esp, 8
test eax, eax
je 0x4c017f
invalid
sub eax, dword [esi]
sar eax, 1
cmp eax, 1
jne 0x4c017f
push 2
lea eax, [ebp - 0x824]
mov ecx, esi
push eax
call fcn.00423ce0
lea eax, [ebp - 0x824]
mov dword [ebp - 4], 0
push eax
mov edx, str.._
lea ecx, [ebp - 0x820]
call fcn.0045e4e0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x828], 0
push 0
push eax
call fcn.00533670
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push 0x20000
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4c0117
push 0
lea eax, [ebp - 0x828]
mov dword [ebp - 0x81c], 0
push eax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], 0
push eax
push 0xc
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x80c], 0x800
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4c015f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov edx, dword [ebp - 0x820]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c0139
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x824]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4c015b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
jmp 0x4c0181
mov eax, dword [ebp - 0x7f4]
xor esi, esi
cmp eax, 4
je 0x4c0171
cmp eax, 7
jne 0x4c0176
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4c0119
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed39
mov esp, ebp
pop ebp
ret
Function at 0x4c06e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597a8b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5ea110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00533670
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
je 0x4c07ca
mov ecx, ebx
call fcn.004a8590
cmp word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
je 0x4c07c5
nop dword [eax]
mov eax, esi
lea ecx, [ebp - 0x218]
sub eax, ecx
sar eax, 1
cmp eax, edi
jae 0x4c07c5
push esi
lea ecx, [ebp - 0x21c]
call fcn.004077e0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.004a8600
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax - 0xc]
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lea esi, [esi + ecx*2]
add esi, 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c07bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp word [esi], 0
jne 0x4c0760
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed39
mov esp, ebp
pop ebp
ret

Function at 0x4c07f0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x4c081c
push 0x5c3ad0
push eax
call fcn.005337ca
add esp, 8
test eax, eax
je 0x4c081c
sub eax, dword [esi]
sar eax, 1
cmp eax, 1
je 0x4c0843
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x4c08ac
push 0x5c3ac8
push eax
call fcn.005337ca
add esp, 8
test eax, eax
je 0x4c08ac
sub eax, dword [esi]
sar eax, 1
cmp eax, 1
jne 0x4c08ac
xorps xmm0, xmm0
lea eax, [ebp - 4]
push 3
push eax
mov ecx, esi
movq qword [ebp - 0xc], xmm0
movq qword [ebp - 0x14], xmm0
call fcn.00423ce0
push 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edx, dword [ebp - 4]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4c088c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4c08ac
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4c08a2
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c0ff0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597b8d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x5ea110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x1a4], edi
push 0xc8
lea eax, [ebp - 0x1a0]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x1a8], 0
call fcn.00533670
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.00533670
add esp, 0x18
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x4c107c
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 3
lea eax, [ebp - 0x1a4]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
mov dword [ebp - 0x1a8], 1
call fcn.00423ce0
push 0xc8
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x1a4]
push eax
push 0
push 0
push 0
push 0xc8
lea eax, [ebp - 0x1a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4c1104
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c10e6
sub ecx, edx
lea eax, [ebp - 0xd8]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00407620
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c1120
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed39
mov esp, ebp
pop ebp
ret
Function at 0x4c2b70
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5ea110]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
mov edi, edx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00533670
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x4c2bd4
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004077e0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0050ed39
mov esp, ebp
pop ebp
ret

Function at 0x4c2e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5ea110]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
mov edi, edx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00533670
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4c2e87
test edi, edi
je 0x4c2e87
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004077e0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0050ed39
mov esp, ebp
pop ebp
ret

Function at 0x4c3070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5ea110]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
mov edi, edx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00533670
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x4c30d4
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004077e0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0050ed39
mov esp, ebp
pop ebp
ret

Function at 0x4c32b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5ea110]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00533670
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x2e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.MasterPDFData
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004077e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0050ed39
mov esp, ebp
pop ebp
ret
Function at 0x4c5390
Capabilities:
Check for time delay via gettickcount
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 8], ebx
test eax, eax
jne 0x4c53aa
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
push edi
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.004a84f0
mov edi, dword [ebp + 8]
mov ecx, ebx
push 5
mov eax, dword [edi]
mov dword [edi + 4], eax
lea eax, [ebp + 8]
push eax
call fcn.004c5240
mov esi, dword [ebp + 8]
push 0xa
push 0
push esi
call fcn.00560ab2
mov ebx, eax
add esp, 0xc
mov eax, edx
add esi, 0xfffffff0
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4c5411
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4c5419
test ebx, ebx
je 0x4c5421
push ebx
mov ecx, edi
call fcn.004a84f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebp - 8]
xorps xmm0, xmm0
mov dword [ebp - 0xc], eax
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4c545a
cmp dword [ecx], 0
je 0x4c545a
push 0
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0
push dword [ecx]
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 4]
mov ebx, dword [ebp - 0x24]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
push ebx
mov dword [ebp - 0x10], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4c551a
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp + 8], eax
nop
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4c552f
mov edx, dword [edi + 4]
xor eax, eax
sub edx, dword [edi]
mov ebx, ecx
add ebx, esi
adc eax, dword [ebp + 8]
test eax, eax
jb 0x4c54c1
ja 0x4c54b3
cmp ebx, edx
jbe 0x4c54c1
lea eax, [esi + ecx]
mov ecx, edi
push eax
call fcn.004a84f0
mov ecx, dword [ebp - 4]
mov eax, dword [edi]
mov ebx, dword [ebp - 0x24]
add eax, esi
push ecx
push ebx
push eax
call fcn.005330f0
add esp, 0xc
add esi, dword [ebp - 4]
adc dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0xffffffff
je 0x4c54ee
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x4c551a
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x10]
push ebx
mov dword [ebp - 0x10], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4c5490
lea ecx, [ebp - 0x24]
xor esi, esi
call fcn.0046e2d0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x24]
mov esi, 1
call fcn.0046e2d0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4cd000
Capabilities:
Check for time delay via gettickcount
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598b58
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5ea110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x4cd1ca
push 0x5ef530
push 0x100
call fcn.0050ee34
xor ebx, ebx
mov dword [ebp - 0x38], vtable.CxAutoArray_unsigned_char_.0
add esp, 8
mov dword [ebp - 0x34], ebx
test eax, eax
je 0x4cd066
mov ebx, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x4cd07b
mov esi, dword [edi + 4]
sub esi, dword [edi]
jmp 0x4cd07d
xor esi, esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
call fcn.004c5550
mov ecx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x4cd09c
test eax, eax
je 0x4cd0a8
test edi, edi
je 0x4cd0a8
push eax
mov ecx, edi
call fcn.004a84f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x10]
push eax
push 0x100
push ebx
push dword [ecx]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4cd1a0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4cd1c3
test edi, edi
je 0x4cd12f
mov edx, dword [edi + 4]
xor eax, eax
sub edx, dword [edi]
mov dword [ebp - 0x18], ecx
add dword [ebp - 0x18], esi
adc eax, dword [ebp - 0x1c]
test eax, eax
jb 0x4cd11a
ja 0x4cd10c
cmp dword [ebp - 0x18], edx
jbe 0x4cd11a
lea eax, [esi + ecx]
mov ecx, edi
push eax
call fcn.004a84f0
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi]
push ecx
add eax, esi
push ebx
push eax
call fcn.005330f0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
add esi, ecx
adc eax, 0
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x4cd15b
push ecx
push eax
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x28]
call edx
add esp, 0x24
test eax, eax
je 0x4cd1a0
cmp dword [ebp + 0x18], 0xffffffff
je 0x4cd16f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x18]
jae 0x4cd1a0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push 0x100
push ebx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [ebp + 0xc]
test eax, eax
jne 0x4cd0e2
xor esi, esi
test ebx, ebx
je 0x4cd1af
push ebx
call fcn.0050ee59
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 1
jmp 0x4cd1a2
xor eax, 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
Function at 0x4cd1e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598b8e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5ea110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
test edi, edi
je 0x4cd2e2
test esi, esi
je 0x4cd2e2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.004cce40
test eax, eax
je 0x4cd29d
mov ebx, dword [ebp - 0x18]
test ebx, ebx
setne al
test al, al
je 0x4cd29d
mov ecx, ebx
call fcn.004c5110
mov ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 5
cmp edx, 3
je 0x4cd272
cmp edx, 4
je 0x4cd29d
cmp edx, 5
je 0x4cd29d
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4cd282
lea eax, [ebp - 0x18]
push eax
call fcn.004cd670
push dword [ebp + 0x18]
mov edx, ebx
push ecx
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
push esi
call fcn.004cd300
add esp, 0x14
mov ebx, eax
jmp 0x4cd29f
xor ebx, ebx
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4cd2ce
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4cd2ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4cd2ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, 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
Function at 0x4ce8f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598fd9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x5ea110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea esi, [edi + 8]
mov dword [edi], vtable.CMessageCallbackSink_class_CHttpDownloader_.0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d18a0
mov dword [esi], eax
mov ecx, edi
mov dword [edi + 4], edi
mov dword [edi + 0x10], 0
call fcn.004d1aa0
lea eax, [edi + 0x14]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
movups xmmword [eax], xmm0
push eax
movq qword [eax + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x4ce98b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4ce983
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x4ce98b
push eax
call fcn.00407ba0
mov byte [ebp - 4], 1
lea esi, [edi + 0x2c]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d0bb0
mov dword [esi], eax
mov dword [edi + 0x34], vtable.ATL::CThreadPool_class_CHttpDownloader::CDownloadWorker__class_ATL::CRTThreadTraits__class_ATL::Win32WaitTraits_.0
xorps xmm0, xmm0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
movups xmmword [edi + 0x48], xmm0
movq qword [edi + 0x58], xmm0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0x8ca0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x74], 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1c]
mov dword [edi + 0x78], 0
push eax
lea ecx, [edi + 8]
mov dword [ebp - 0x10], 0x547
call fcn.004d1fc0
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 8]
mov dword [eax + 0x14], 0x4cf100
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x548
push eax
call fcn.004d1fc0
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [eax + 0x14], 0x4cf100
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x2c]
mov ecx, 1
test eax, eax
cmove eax, ecx
sub esp, 8
mov dword [ebp - 0x2c], eax
lea ecx, [edi + 0x34]
add eax, 2
push eax
push edi
call fcn.004cf810
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret