joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46471c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x51ba24]
cmp byte [eax + 0xc], 0
je 0x464889
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464882
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51cb7c], 0
jne 0x464770
push 0x464890
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x464898
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51cb7c], eax
cmp dword [0x51a130], 0
jne 0x46486b
push 0x4648a8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x51a130], eax
cmp dword [0x51a130], 0
je 0x46486b
push 0x4648b4
mov eax, dword [0x51a130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51cb80], eax
push 0x4648c4
mov eax, dword [0x51a130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51cb84], eax
push 0x4648d8
mov eax, dword [0x51a130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51cb88], eax
push 0x4648f0
mov eax, dword [0x51a130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51cb8c], eax
push 0x464908
mov eax, dword [0x51a130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51cb90], eax
push 0x46491c
mov eax, dword [0x51a130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51cb94], eax
push 0x464934
mov eax, dword [0x51a130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51cb98], eax
push 0x46494c
mov eax, dword [0x51a130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51cb9c], eax
push 0x464968
mov eax, dword [0x51a130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51cba0], eax
push 0x464974
mov eax, dword [0x51a130]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51cba4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464889
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46885c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004046f8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4688ab
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404978
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x470180
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4701d0]
test si, 4
je 0x470194
or bl, 1
test si, 8
je 0x47019e
or bl, 4
test si, 1
je 0x4701a8
or bl, 8
test si, 2
je 0x4701b2
or bl, 0x10
test si, 0x10
je 0x4701bc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4701cb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4701d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x47020c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4701ed
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4701fc
or bl, 4
test esi, 0x20000000
je 0x470207
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4768b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4768c6
add esp, 0xfffffff0
call fcn.00403c0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425238
mov eax, dword [0x51b2e0]
mov dword [eax + 4], ebx
mov dword [eax], 0x476c58
mov eax, dword [0x51b2f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x476c64
mov eax, ebx
call fcn.00476c70
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41996c]
call fcn.00403878
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41996c]
call fcn.00403878
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41996c]
call fcn.00403878
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41996c]
call fcn.00403878
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41996c]
call fcn.00403878
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x47308c
push eax
push 0
push 0
mov eax, dword [0x51b5f0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426cd4]
call fcn.00428448
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426cd4]
call fcn.00428448
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426cd4]
call fcn.00428448
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00477120
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476fb4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476fb4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476fb4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x476a03
call fcn.00403c64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x476d98
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476f43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x476f24
mov dl, 1
mov eax, dword [0x419fd0]
call fcn.00403878
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046f8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x476f13
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00464a7c
test al, al
je 0x476f06
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x476f54
lea eax, [ebp - 0x254]
call fcn.0040a8e8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x476f06
xor eax, eax
push ebp
push 0x476eff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x476f8c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x476ee8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404978
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x476ee8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476f06
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x476e09
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041eafc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476f4a
lea eax, [ebp - 0x260]
call fcn.004046f8
ret

Function at 0x4778c0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x51cbc8]
cmp byte [eax + 0xa5], 0
jne 0x477931
cmp dword [0x51cbe0], 0
jne 0x4778f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47787c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x51cbe0], eax
cmp dword [0x51cbdc], 0
jne 0x47790d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x51cbdc], eax
cmp dword [0x51cbe4], 0
jne 0x477931
push esp
push 0
push 0
push 0x477820
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x51cbe4], eax
pop edx
ret
Function at 0x477a28
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x477a3f
add esp, 0xfffffff0
call fcn.00403c0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425238
mov eax, dword [0x51b5c0]
cmp word [eax + 2], 0
jne 0x477a67
mov eax, dword [0x51b5c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004791a8
mov eax, dword [0x51b73c]
cmp word [eax + 2], 0
jne 0x477a81
mov eax, dword [0x51b73c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004793a0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41996c]
call fcn.00403878
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41996c]
call fcn.00403878
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4277b4]
call fcn.0042f0f8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x477c08
mov eax, dword [0x51b3d4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f4c8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x479940
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x51b3d4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e9a0
test eax, eax
je 0x477b76
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a2a0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e9c8
test eax, eax
je 0x477b8a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404978
mov eax, dword [0x51b0ec]
cmp byte [eax], 0
jne 0x477bbe
mov eax, ebx
call fcn.00477d30
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00479b1c
mov eax, ebx
call fcn.0047a4e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x477bfe
call fcn.00403c64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477fb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x51cbc8]
cmp dword [eax + 0x30], 0
je 0x47805a
cmp dword [ebx + 0x94], 0
jne 0x478054
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x477f40
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x478054
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47801a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x478054
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c2c4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x478029
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x478bbc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x478bf1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047e8
jmp 0x478bfe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040474c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x479cf8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x479d39
mov eax, esi
call fcn.00460044
test al, al
je 0x479d39
mov eax, dword [ebx + 0x84]
call fcn.0045fd40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x479d39
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045fd40
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47c908
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x47c96c
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404978
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409938
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c973
lea eax, [ebp - 0xc]
call fcn.004046f8
ret

Function at 0x47f9d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004052ec
xor eax, eax
push ebp
push 0x47fa25
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404fd0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x47fa09
test al, 0x10
jne 0x47fa0d
xor ebx, ebx
jmp 0x47fa0f
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fa2c
lea eax, [ebp - 4]
call fcn.00404dec
ret
Function at 0x480ee8
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
pop edx
ret

Function at 0x480f04
Capabilities:
Create process on windows
Persist via run registry key
Schedule task via schtasks

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x48103d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x481054
mov edx, dword [0x51ce54]
call fcn.00404a14
cmp bl, 1
jne 0x480fba
push 0x481070
push dword [ebp - 4]
push 0x4810b0
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404a88
cmp dword [0x51ce3c], 6
jge 0x480f94
mov ecx, 0x4810d8
mov edx, 0x4810f8
mov eax, 0x80000001
call fcn.0047add0
test al, al
jne 0x481022
mov eax, dword [ebp - 4]
push eax
mov edx, 0x4810f8
mov ecx, 0x4810d8
mov eax, 0x80000001
call fcn.0047aa20
jmp 0x481022
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404bc8
push eax
push 0x481128
push 0
mov eax, dword [0x51b6ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x481022
lea eax, [ebp - 8]
mov edx, 0x48113c
call fcn.00404790
cmp dword [0x51ce3c], 6
jge 0x480ffe
mov edx, 0x4810f8
mov ecx, 0x4810d8
mov eax, 0x80000001
call fcn.0047add0
test al, al
je 0x481022
mov edx, 0x4810f8
mov ecx, 0x4810d8
mov eax, 0x80000001
call fcn.0047ae7c
jmp 0x481022
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404bc8
push eax
push 0x481128
push 0
mov eax, dword [0x51b6ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481044
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040471c
ret

Function at 0x483bf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x483c03
add esp, 0xfffffff0
call fcn.00403c0c
mov ebx, ecx
mov byte [ebp - 1], dl
mov edi, eax
inc dword [0x51a5b4]
mov eax, dword [0x51b2bc]
mov byte [eax], 1
mov dl, 1
mov eax, edi
call fcn.00483f88
mov dl, 1
mov eax, dword [0x4199d0]
call fcn.0041c63c
mov dword [edi + 0x44], eax
mov edx, 0x483e54
mov eax, edi
call fcn.004990c0
mov dword [edi + 0x18], eax
xor esi, esi
test bl, bl
je 0x483c4e
mov esi, 4
mov byte [edi + 0x1d], 1
lea eax, [edi + 0x14]
push eax
push esi
push 0
mov eax, dword [edi + 0x18]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [edi + 8], eax
mov eax, edi
cmp byte [ebp - 1], 0
je 0x483c7c
call fcn.00403c64
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x483f8c
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
cmp bl, byte [esi + 0x1d]
je 0x483fb3
mov eax, dword [esi + 8]
test eax, eax
je 0x483fb3
test bl, bl
je 0x483faa
push eax
call sub.kernel32.dll_SuspendThread
jmp 0x483fb0
push eax
call sub.kernel32.dll_ResumeThread
mov byte [esi + 0x1d], bl
pop esi
pop ebx
ret
Function at 0x485eac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x485f6e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [ebp - 4]
call fcn.004994c0
test al, al
je 0x485f43
mov eax, dword [0x51b324]
cmp dword [eax], 0
je 0x485f0d
lea edx, [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [ebp - 8]
call fcn.00404fd0
push eax
mov eax, dword [0x51b324]
mov eax, dword [eax]
call eax
jmp 0x485f33
lea edx, [ebp - 0x10]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00404990
mov eax, dword [ebp - 0xc]
call fcn.00404bc8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 1
je 0x485f41
cmp eax, 4
je 0x485f41
xor ebx, ebx
jmp 0x485f43
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485f75
lea eax, [ebp - 0x10]
call fcn.00404dec
lea eax, [ebp - 0xc]
call fcn.004046f8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e04
ret

Function at 0x486150
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
xor edx, edx
push ebp
push 0x4861b6
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x48619e
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4848b8]
call fcn.00486e6c
mov ebx, eax
lea edx, [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x110]
jmp 0x4861a0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4861bd
lea eax, [ebp - 8]
call fcn.004064dc
ret

Function at 0x4863e8
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4864a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x51b740]
cmp dword [eax], 0
je 0x48642e
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
push esi
push ebx
mov eax, dword [0x51b740]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
jmp 0x486488
call fcn.00499c8c
test al, al
jne 0x48645e
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404930
mov eax, dword [ebp - 4]
call fcn.00404bc8
mov ecx, edi
mov edx, esi
call fcn.004862c8
mov ebx, eax
jmp 0x486488
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
push esi
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404930
mov eax, dword [ebp - 8]
call fcn.00404bc8
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4864aa
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040471c
ret
Function at 0x486e6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x486e7f
add esp, 0xfffffff0
call fcn.00403c0c
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403878
mov dword [ebx + 0x48], esi
mov dword [ebx + 0xa1], 0xffffffff
mov dword [ebx + 0xa5], 0xffffffff
mov dword [ebx + 0xe1], 0xffffffff
mov dword [ebx + 0xe5], 0xffffffff
mov dword [ebx + 0x34], 0xffffffff
or word [ebx + 0x6c], 0x10
or word [ebx + 0x6c], 0x20
or word [ebx + 0x6c], 0x40
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x19c]
mov dword [ebx + 0x3c], 0xffffffff
test esi, esi
jne 0x486f38
test edi, edi
je 0x486efe
mov edx, edi
mov eax, dword [0x51cf44]
call fcn.004967e0
test al, al
je 0x486f22
test edi, edi
jne 0x486f17
lea eax, [ebx + 0x50]
push eax
push 0
mov eax, ebx
call fcn.00489868
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
jmp 0x486f1a
mov dword [ebx + 0x50], edi
mov eax, dword [ebx + 0x50]
mov dword [ebx + 4], eax
jmp 0x486f7f
mov esi, edi
mov dword [ebx + 4], esi
mov edx, esi
mov eax, dword [0x51cf44]
call fcn.00496780
mov dword [ebx + 0x50], eax
jmp 0x486f7f
mov edx, dword [esi + 4]
mov eax, dword [0x51cf44]
call fcn.004967e0
test al, al
je 0x486f51
mov dword [ebx + 0x50], edi
mov dword [ebx + 4], edi
jmp 0x486f7f
mov ecx, edi
mov edx, dword [esi + 4]
mov eax, dword [0x51cf44]
call fcn.004965dc
mov dword [ebx + 4], eax
mov edx, dword [ebx + 4]
mov eax, dword [0x51cf44]
call fcn.00496780
mov dword [ebx + 0x50], eax
mov edx, edi
mov eax, dword [0x51cf44]
call fcn.00496770
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x486f96
call fcn.00403c64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x48a8ec
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
mov esi, ecx
mov ebx, 0x400c
mov edx, dword [ebp + 8]
cmp byte [edx - 5], 1
jne 0x48a90c
or ebx, 0
jmp 0x48a90f
or ebx, 1
test al, al
je 0x48a916
or ebx, 2
call fcn.00499c58
test al, al
je 0x48a967
lea eax, [ebp - 0x414]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00403170
push ebx
push 0x2b4
lea eax, [ebp - 0x414]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x51b5a8]
mov eax, dword [eax]
call eax
test eax, eax
je 0x48a961
mov eax, dword [ebp - 0x410]
mov dword [esi], eax
jmp 0x48a9a9
xor eax, eax
mov dword [esi], eax
jmp 0x48a9a9
lea eax, [ebp - 0x160]
xor ecx, ecx
mov edx, 0x160
call fcn.00403170
push ebx
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x48a9a5
mov eax, dword [ebp - 0x15c]
mov dword [esi], eax
jmp 0x48a9a9
xor eax, eax
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret