joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49cde0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579bdb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5c7128]
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.0051a2e0
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 0x49ceca
mov ecx, ebx
call fcn.0048d990
cmp word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
je 0x49cec5
nop dword [eax]
mov eax, esi
lea ecx, [ebp - 0x218]
sub eax, ecx
sar eax, 1
cmp eax, edi
jae 0x49cec5
push esi
lea ecx, [ebp - 0x21c]
call fcn.00407900
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.0048da00
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 0x49cebf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp word [esi], 0
jne 0x49ce60
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.004f598f
mov esp, ebp
pop ebp
ret

Function at 0x49cef0
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 0x49cf1c
push 0x5a3518
push eax
call fcn.0051a43a
add esp, 8
test eax, eax
je 0x49cf1c
sub eax, dword [esi]
sar eax, 1
cmp eax, 1
je 0x49cf43
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x49cfac
push 0x5a3318
push eax
call fcn.0051a43a
add esp, 8
test eax, eax
je 0x49cfac
sub eax, dword [esi]
sar eax, 1
cmp eax, 1
jne 0x49cfac
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.00415580
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 0x49cf8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x49cfac
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x49cfa2
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 0x49d6f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579cdd
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x5c7128]
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.0051a2e0
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.0051a2e0
add esp, 0x18
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x49d77c
push 0x80004005
call fcn.004079f0
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.00415580
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 0x49d804
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49d7e6
sub ecx, edx
lea eax, [ebp - 0xd8]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00407740
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49d820
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.004f598f
mov esp, ebp
pop ebp
ret
Function at 0x49eed0
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579e80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5c7128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edx, str.PDFConverter
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
call fcn.00499c20
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x49ef3c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test edi, edi
je 0x49ef96
push edi
lea ecx, [ebp - 0x14]
call fcn.00407900
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.0049b7e0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49ef7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jmp 0x49efc2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00406e20
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add esp, 4
mov dword [esi], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49efcc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49efe0
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5c7128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edx, str.UserData
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
call fcn.0049eed0
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x49f04c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test edi, edi
je 0x49f0a6
push edi
lea ecx, [ebp - 0x14]
call fcn.00407900
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.0049b7e0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49f08f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jmp 0x49f0d2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00406e20
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add esp, 4
mov dword [esi], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49f0dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a0d70
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 0x4a0d8a
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.0048d8f0
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.004a0c20
mov esi, dword [ebp + 8]
push 0xa
push 0
push esi
call fcn.00546599
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 0x4a0df1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4a0df9
test ebx, ebx
je 0x4a0e01
push ebx
mov ecx, edi
call fcn.0048d8f0
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 0x4a0e3a
cmp dword [ecx], 0
je 0x4a0e3a
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 0x4a0efa
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 0x4a0f0f
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 0x4a0ea1
ja 0x4a0e93
cmp ebx, edx
jbe 0x4a0ea1
lea eax, [esi + ecx]
mov ecx, edi
push eax
call fcn.0048d8f0
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.00519d60
add esp, 0xc
add esi, dword [ebp - 4]
adc dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0xffffffff
je 0x4a0ece
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x4a0efa
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 0x4a0e70
lea ecx, [ebp - 0x24]
xor esi, esi
call fcn.0045d8a0
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.0045d8a0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4af2f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
mov eax, edx
push 1
push SysReAllocStringLen
push ecx
mov dword [eax], 0
mov dword [ebp - 4], eax
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4af363
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi], eax
test eax, eax
je 0x4af39f
cmp eax, 0xffffffff
je 0x4af39f
add eax, 8
push 0x5cbf2c
push eax
call fcn.004f5a8a
mov ebx, dword [ebp - 4]
mov ecx, eax
add esp, 8
mov dword [ebx], ecx
test ecx, ecx
jne 0x4af36c
push esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
add eax, 8
push eax
push 0
push ecx
call fcn.0051a2e0
add esp, 0xc
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
push 0
push eax
push dword [edi]
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp ecx, dword [edi]
sete bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4af3b0
Capabilities:
Delete file
Move file
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b668
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5c7128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x14], esi
mov ebx, ecx
test ebx, ebx
je 0x4af4de
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4af4de
test esi, esi
je 0x4af4de
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x4af413
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str._s.write_cache
push eax
call fcn.00423d10
mov esi, dword [ebp - 0x10]
add esp, 0xc
xor edi, edi
push edi
push 0x80
push 2
push edi
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x4af4ab
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 8]
push ecx
push edi
push dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x18]
xor eax, eax
cmp dword [ebp - 0x10], edi
sete al
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x4af4ab
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4af4ca
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
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 0x4af500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b698
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5c7128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
test esi, esi
je 0x4af5aa
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4af5aa
mov dword [ebp - 0x1c], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea edx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
mov ecx, esi
call fcn.004af2f0
mov esi, dword [ebp - 0x18]
add esp, 4
test eax, eax
je 0x4af588
cmp dword [ebp - 0x10], 0
je 0x4af588
mov edx, edi
mov ecx, esi
call fcn.004af720
mov edi, eax
jmp 0x4af58a
xor edi, edi
test esi, esi
je 0x4af597
push esi
call fcn.004f5aaf
add esp, 4
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4af5c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b6d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5c7128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.00407900
mov dword [ebp - 4], 0
mov edx, 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x4af623
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00407460
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call fcn.0053732e
mov edx, eax
add esp, 8
test edx, edx
js 0x4af70c
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x4af70c
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4af672
push dword [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x4af687
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.004af950
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x4af6ba
push dword [esi - 0xc]
mov edx, esi
mov ecx, edi
call fcn.004af3b0
add esp, 4
mov edi, eax
jmp 0x4af6bc
xor edi, edi
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af6da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4af6f9
mov ecx, dword [edx]
push edx
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
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004079f0
int3
Function at 0x4b4900
Capabilities:
Check for time delay via gettickcount
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5c7128]
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 0x4b4aca
push 0x5cbf2c
push 0x100
call fcn.004f5a8a
xor ebx, ebx
mov dword [ebp - 0x38], vtable.CxAutoArray_unsigned_char_.0
add esp, 8
mov dword [ebp - 0x34], ebx
test eax, eax
je 0x4b4966
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 0x4b497b
mov esi, dword [edi + 4]
sub esi, dword [edi]
jmp 0x4b497d
xor esi, esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
call fcn.004a0f30
mov ecx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x4b499c
test eax, eax
je 0x4b49a8
test edi, edi
je 0x4b49a8
push eax
mov ecx, edi
call fcn.0048d8f0
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 0x4b4aa0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4b4ac3
test edi, edi
je 0x4b4a2f
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 0x4b4a1a
ja 0x4b4a0c
cmp dword [ebp - 0x18], edx
jbe 0x4b4a1a
lea eax, [esi + ecx]
mov ecx, edi
push eax
call fcn.0048d8f0
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi]
push ecx
add eax, esi
push ebx
push eax
call fcn.00519d60
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 0x4b4a5b
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 0x4b4aa0
cmp dword [ebp + 0x18], 0xffffffff
je 0x4b4a6f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x18]
jae 0x4b4aa0
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 0x4b49e2
xor esi, esi
test ebx, ebx
je 0x4b4aaf
push ebx
call fcn.004f5aaf
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 0x4b4aa2
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 0x4b4ae0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c20e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5c7128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
test edi, edi
je 0x4b4be2
test esi, esi
je 0x4b4be2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.004b4740
test eax, eax
je 0x4b4b9d
mov ebx, dword [ebp - 0x18]
test ebx, ebx
setne al
test al, al
je 0x4b4b9d
mov ecx, ebx
call fcn.004a0af0
mov ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 5
cmp edx, 3
je 0x4b4b72
cmp edx, 4
je 0x4b4b9d
cmp edx, 5
je 0x4b4b9d
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b4b82
lea eax, [ebp - 0x18]
push eax
call fcn.004b4f70
push dword [ebp + 0x18]
mov edx, ebx
push ecx
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
push esi
call fcn.004b4c00
add esp, 0x14
mov ebx, eax
jmp 0x4b4b9f
xor ebx, ebx
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4b4bce
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4b4bce
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4b4bce
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