joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d2340
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], ecx
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00491e40
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4d238e
xor al, al
jmp 0x4d23df
cmp dword [ebp - 0x124], 5
jne 0x4d23a4
cmp dword [ebp - 0x120], 2
jne 0x4d23a4
mov al, 1
jmp 0x4d23df
cmp dword [ebp - 0x124], 5
jne 0x4d23ba
cmp dword [ebp - 0x120], 1
jne 0x4d23ba
mov al, 1
jmp 0x4d23df
cmp dword [ebp - 0x124], 5
jne 0x4d23d0
cmp dword [ebp - 0x120], 0
jne 0x4d23d0
xor al, al
jmp 0x4d23df
cmp dword [ebp - 0x124], 4
ja 0x4d23dd
xor al, al
jmp 0x4d23df
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret

Function at 0x4d2420
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4d2499
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x4d2499
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x40]
test edx, edx
je 0x4d2499
mov eax, dword [ebp + 0x10]
sub eax, 1
mov ecx, dword [ebp + 0x14]
sbb ecx, 0
push ecx
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [0x566cf0]
call eax
test eax, eax
je 0x4d2499
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x60], 0
jmp 0x4d253a
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x40000080
push 3
push 0
push 3
push 0xc0000000
mov ecx, dword [ebp + 8]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 0x10
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x50], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x54], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x5c], eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x60], 1
mov edx, dword [ebp - 0x18]
add edx, 0x5c
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x58], edx
mov byte [ebp - 0x14], 0
xor ecx, ecx
mov dword [ebp - 0x13], ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
mov byte [ebp - 5], cl
push 0x10
push 1
lea edx, [ebp - 0x14]
push edx
call fcn.00491e40
add esp, 0xc
push 0x4d2300
mov eax, dword [ebp - 0x18]
add eax, 0x48
push eax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d2770
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525f40
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x50]
add ecx, 0xc
call fcn.004101a0
sub eax, 1
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0xc
call fcn.004213a0
movzx edx, word [eax]
cmp edx, 0x5c
jne 0x4d2818
mov ecx, dword [ebp - 0x50]
add ecx, 0xc
call fcn.004101a0
sub eax, 1
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0xc
call fcn.00422250
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0xc
call fcn.00420a50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c30
mov eax, 0x14
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x3a], 0
mov dword [ebp - 0x36], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x32], 0
mov ecx, dword [ebp - 0x50]
add ecx, 0xc
call fcn.0040acf0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 3
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push 4
mov ecx, dword [ebp - 0x50]
call fcn.0050f6d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret
Function at 0x4d3290
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5294e5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
push 0x53f37c
lea ecx, [ebp - 0x2c]
call fcn.0040ac70
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4d32e8
mov eax, dword [ebp - 0x5c]
add eax, 0xac
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402c90
jmp 0x4d332d
cmp dword [ebp + 0xc], 1
jne 0x4d330f
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc8
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402c90
push 0x53f4f4
lea ecx, [ebp - 0x2c]
call fcn.00422200
jmp 0x4d332d
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c30
mov eax, dword [ebp - 0x40]
jmp 0x4d34a4
mov dword [ebp - 0x30], 0
push 0x53f5e4
lea ecx, [ebp - 0x2c]
call fcn.0040acf0
push eax
call fcn.00495129
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4d3371
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c30
mov eax, dword [ebp - 0x44]
jmp 0x4d34a4
mov dword [ebp - 0x34], 0
push 2
push 0
mov edx, dword [ebp - 0x30]
push edx
call fcn.00495984
add esp, 0xc
test eax, eax
je 0x4d33aa
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c30
mov eax, dword [ebp - 0x48]
jmp 0x4d34a4
mov eax, dword [ebp - 0x30]
push eax
call fcn.00495895
add esp, 4
mov dword [ebp - 0x34], eax
push 0
push 0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00495984
add esp, 0xc
cmp dword [ebp - 0x34], 0xffffffff
jne 0x4d33ed
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c30
mov eax, dword [ebp - 0x4c]
jmp 0x4d34a4
mov edx, dword [ebp - 0x34]
push edx
call fcn.0048e173
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00432ff0
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0043e060
push eax
call fcn.004956e4
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4d345e
mov dword [ebp - 0x54], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004213d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c30
mov eax, dword [ebp - 0x54]
jmp 0x4d34a4
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043e060
push eax
mov ecx, dword [ebp + 8]
call fcn.00419cf0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00493537
add esp, 4
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004213d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c30
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 8
Function at 0x4d4560
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c1be
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], ecx
push str.sppart_.dat
mov eax, dword [ebp - 0x288]
add eax, 8
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.004523b0
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x284], 0
push 0x24c
push 0
lea edx, [ebp - 0x280]
push edx
call fcn.00491e40
add esp, 0xc
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4d4603
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402c30
jmp 0x4d4657
lea ecx, [ebp - 0x258]
push ecx
mov ecx, dword [ebp - 0x288]
call fcn.004d41e0
lea edx, [ebp - 0x284]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4d463e
lea ecx, [ebp - 0x258]
push ecx
mov ecx, dword [ebp - 0x288]
call fcn.004d41e0
jmp 0x4d4615
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402c30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret

Function at 0x4d4d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], 0
jne 0x4d4d32
or eax, 0xffffffff
jmp 0x4d4d69
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x70]
push edx
call fcn.00495984
add esp, 0xc
test eax, eax
je 0x4d4d50
or eax, 0xffffffff
jmp 0x4d4d69
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 0x10]
push eax
call fcn.004956e4
add esp, 0x10
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4d4d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], 0
jne 0x4d4d82
or eax, 0xffffffff
jmp 0x4d4dca
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x70]
push edx
call fcn.00495984
add esp, 0xc
test eax, eax
je 0x4d4da0
or eax, 0xffffffff
jmp 0x4d4dca
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 0x10]
push eax
call fcn.004952de
add esp, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x70]
push edx
call fcn.0049500f
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d5f80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0x10
jb 0x4d5fde
cmp dword [0x569c70], 0
je 0x4d5fde
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x569c74]
cmp eax, 0x3e8
jbe 0x4d5fde
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x569c74]
mov dword [ebp - 4], eax
mov dword [0x569c70], 0
mov dword [0x569c74], 0
cmp dword [ebp - 4], 0x493e0
jbe 0x4d5fd9
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x4d5ffe
mov dword [0x569c70], 0
mov dword [0x569c74], 0
mov dword [0x569c78], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4daac0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ba0b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0xcc
call fcn.004336f0
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 0xcc
call fcn.0044d550
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
jmp 0x4dab29
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004449c0
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x30]
call fcn.00429660
movzx eax, al
test eax, eax
je 0x4dab7f
movzx ecx, byte [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00485150
add eax, 4
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.0050eb50
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0
call fcn.004e50d0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.004e5f30
jmp 0x4dab1b
mov ecx, dword [ebp - 0x48]
add ecx, 0xf8
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x53ffec
mov eax, dword [ebp - 0x48]
add eax, 0xf8
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004523b0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
call fcn.00402c30
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 4
Function at 0x4dfeb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ba40
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0xc4], 0
je 0x4dff19
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xc4]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xc4]
mov edx, dword [edx]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xc4]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xc4]
mov edx, dword [edx]
mov eax, dword [edx + 0x3c]
call eax
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 0xb8]
call fcn.004d3080
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402b30
mov byte [ebp - 4], 1
push 0x54074c
lea ecx, [ebp - 0x2c]
call fcn.004101a0
push eax
mov ecx, dword [0x53b7dc]
push ecx
push 0x2e
lea ecx, [ebp - 0x2c]
call fcn.0044d2f0
add eax, 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044d2c0
lea ecx, [ebp - 0x48]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xbc]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0xb8]
call fcn.004d1910
movzx edx, byte [ebp + 8]
test edx, edx
je 0x4dffbf
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xb8]
call fcn.004d2100
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00402c30
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 4
Function at 0x4e04c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52bac6
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
cmp dword [ebp + 8], 0
jne 0x4e05e6
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0xd0], 1
jne 0x4e05e6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x7c]
sub eax, dword [ecx + 0xd4]
mov dword [ebp - 0x78], eax
call fcn.004f2b20
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x80]
mov eax, dword [edx + 4]
call eax
mov ecx, eax
call fcn.004f2fd0
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x7c]
add ecx, 4
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.0050dfe0
add esp, 8
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x88]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0051f360
add esp, 8
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x74]
push eax
push 1
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0xd8]
push eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0xdc]
push edx
mov ecx, dword [ebp - 0x8c]
call fcn.00402b10
push eax
call dword [sym.imp.quality.dll_report_playing_pausing]
add esp, 0x18
lea ecx, [ebp - 0x70]
call fcn.00402ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00402c30
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0xd8], 0
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0xdc], 0
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + 8]
mov dword [edx + 0xd0], eax
cmp dword [ebp + 8], 0
jne 0x4e0607
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0xd4], 0
jmp 0x4e0616
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0xd4], eax
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0xc4], 0
je 0x4e0658
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0xc4]
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx + 0xc4]
mov edx, dword [eax]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0xc4]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0xc4]
mov edx, dword [edx]
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 4
Function at 0x4e4490
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52597e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5644a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.ITask.0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0045a0c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0045a0e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x44], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x45], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x46], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x47], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00402bc0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00402bc0
mov byte [ebp - 4], 3
push 0x540e68
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.0040ac70
mov byte [ebp - 4], 4
push 0x540e6c
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.0040ac70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e48c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52635e
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 4], 0
push 0x540ecc
lea ecx, [ebp - 0x78]
call fcn.0040ac70
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x58], ax
xor ecx, ecx
mov dword [ebp - 0x56], ecx
mov dword [ebp - 0x52], ecx
mov dword [ebp - 0x4e], ecx
mov word [ebp - 0x4a], cx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x80], esp
lea edx, [ebp + 8]
push edx
call fcn.00402b30
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.004e4580
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.0051f360
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402c30
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x48]
call fcn.00402b10
push eax
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffff
jne 0x4e49bd
lea ecx, [ebp - 0x48]
call fcn.00402b10
push eax
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x4e49bd
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00402ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00402c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402c30
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4e51e0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5259a1
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
push 2
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00422250
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4e5264
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402c30
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
jmp 0x4e5287
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402c30
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 4
Function at 0x4e7780
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ca7c
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], ecx
push str..dat
mov eax, dword [ebp - 0x288]
add eax, 0x24
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004523b0
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x27c], 0
push 0x24c
push 0
lea edx, [ebp - 0x278]
push edx
call fcn.00491e40
add esp, 0xc
mov dword [ebp - 0x280], 0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0xffffffff
jne 0x4e7833
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c30
jmp 0x4e7899
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x284], esp
lea edx, [ebp - 0x250]
push edx
call fcn.0040ac70
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x288]
call fcn.004e64c0
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4e7833
mov edx, dword [ebp - 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x280], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret