joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449a10
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x449a2c
cmp dword [esi + 4], 0
je 0x449a59
test byte [ebx + 0x55], 1
jne 0x449a4b
mov eax, ebx
call fcn.004485b0
test eax, eax
jne 0x449a4b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x449b69
mov edx, esi
mov eax, ebx
call fcn.00449534
jmp 0x449b69
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x449b62
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044b880
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044624c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00449a10
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044b880
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449b69
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450280
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x49f5a0]
cmp byte [eax + 0xc], 0
je 0x4503ed
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4503e6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a0b94], 0
jne 0x4502d4
push 0x4503f4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4503fc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a0b94], eax
cmp dword [0x49dd68], 0
jne 0x4503cf
push 0x45040c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49dd68], eax
cmp dword [0x49dd68], 0
je 0x4503cf
push 0x450418
mov eax, dword [0x49dd68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a0b98], eax
push 0x450428
mov eax, dword [0x49dd68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a0b9c], eax
push 0x45043c
mov eax, dword [0x49dd68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a0ba0], eax
push 0x450454
mov eax, dword [0x49dd68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a0ba4], eax
push 0x45046c
mov eax, dword [0x49dd68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a0ba8], eax
push 0x450480
mov eax, dword [0x49dd68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a0bac], eax
push 0x450498
mov eax, dword [0x49dd68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a0bb0], eax
push 0x4504b0
mov eax, dword [0x49dd68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a0bb4], eax
push 0x4504cc
mov eax, dword [0x49dd68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a0bb8], eax
push 0x4504d8
mov eax, dword [0x49dd68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a0bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4503ed
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45474c
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.004047f8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45479b
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.00404a68
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45c8a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45c8f4]
test si, 4
je 0x45c8b8
or bl, 1
test si, 8
je 0x45c8c2
or bl, 4
test si, 1
je 0x45c8cc
or bl, 8
test si, 2
je 0x45c8d6
or bl, 0x10
test si, 0x10
je 0x45c8e0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c8ef
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45c8f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45c930]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c911
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c920
or bl, 4
test esi, 0x20000000
je 0x45c92b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4632f8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46330a
add esp, 0xfffffff0
call fcn.00403dcc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dad0
mov eax, dword [0x49f0dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x46369c
mov eax, dword [0x49f0e8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4636a8
mov eax, ebx
call fcn.004636b4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415c1c]
call fcn.00403a78
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415c1c]
call fcn.00403a78
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415c1c]
call fcn.00403a78
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415c1c]
call fcn.00403a78
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415c1c]
call fcn.00403a78
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, 0x45fad0
push eax
push 0
push 0
mov eax, dword [0x49f2c8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f554]
call fcn.00420cf0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f554]
call fcn.00420cf0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f554]
call fcn.00420cf0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00463ad4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4639b0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4639b0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4639b0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463447
call fcn.00403e24
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x463794
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 0x46393f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x463920
mov dl, 1
mov eax, dword [0x416038]
call fcn.00403a78
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047f8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46390f
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.004505e0
test al, al
je 0x463902
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, 0x463950
lea eax, [ebp - 0x254]
call fcn.00409c18
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x463902
xor eax, eax
push ebp
push 0x4638fb
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 0x463988
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4638e4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a68
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 0x4638e4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463902
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x463805
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419bfc
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 0x463946
lea eax, [ebp - 0x260]
call fcn.004047f8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a0be0]
cmp byte [eax + 0xa5], 0
jne 0x4642e5
cmp dword [0x4a0bf8], 0
jne 0x4642a6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464230
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a0bf8], eax
cmp dword [0x4a0bf4], 0
jne 0x4642c1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a0bf4], eax
cmp dword [0x4a0bfc], 0
jne 0x4642e5
push esp
push 0
push 0
push 0x4641d4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a0bfc], eax
pop edx
ret
Function at 0x4643dc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4643f3
add esp, 0xfffffff0
call fcn.00403dcc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dad0
mov eax, dword [0x49f2a8]
cmp word [eax + 2], 0
jne 0x46441b
mov eax, dword [0x49f2a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465b5c
mov eax, dword [0x49f3b0]
cmp word [eax + 2], 0
jne 0x464435
mov eax, dword [0x49f3b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465d54
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415c1c]
call fcn.00403a78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415c1c]
call fcn.00403a78
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 [0x42005c]
call fcn.00427b3c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4645bc
mov eax, dword [0x49f174]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427f0c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x466304
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49f174]
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.0040d51c
test eax, eax
je 0x46452a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004095d0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d544
test eax, eax
je 0x46453e
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.00404a68
mov eax, dword [0x49efb4]
cmp byte [eax], 0
jne 0x464572
mov eax, ebx
call fcn.004646e4
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.004664e0
mov eax, ebx
call fcn.00466ea4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4645b2
call fcn.00403e24
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464964
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a0be0]
cmp dword [eax + 0x30], 0
je 0x464a0e
cmp dword [ebx + 0x94], 0
jne 0x464a08
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4648f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x464a08
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 0x4649ce
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464a08
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.00417f84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4649dd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x465570
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 0x4655a5
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.004048e8
jmp 0x4655b2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040484c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4666bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4666fd
mov eax, esi
call fcn.0044bb84
test al, al
je 0x4666fd
mov eax, dword [ebx + 0x84]
call fcn.0044b880
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4666fd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b880
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47877c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
mov edx, ebx
add edx, 4
mov eax, esi
call fcn.00404e44
mov eax, esi
call fcn.00404d10
push eax
mov edx, ebx
add edx, 2
xor ecx, ecx
pop eax
call fcn.004031c4
cmp byte [ebp - 1], 0
jne 0x4787ef
mov eax, esi
call fcn.00404d10
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x478808
sub al, 2
jb 0x47880f
jmp 0x478814
mov ebx, 2
jmp 0x478814
mov ebx, 1
mov eax, esi
call fcn.00404d10
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4788f6
test edi, edi
jle 0x478870
mov eax, esi
call fcn.00404d10
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00404d10
mov byte [eax + ebx - 1], 0
jmp 0x4788ea
test edi, edi
jge 0x4788b6
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00404d10
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x4788ea
mov eax, esi
call fcn.00404d10
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00404d10
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x47882c
mov al, byte [ebp - 1]
sub al, 1
jb 0x478906
sub al, 2
jb 0x47893f
jmp 0x478986
cmp edi, 2
jne 0x47890c
dec ebx
mov eax, ebx
sub eax, 2
jl 0x478986
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00404d10
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x49e5cc]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x47891c
jmp 0x478986
cmp edi, 2
jne 0x478945
dec ebx
test ebx, ebx
jle 0x478981
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00404d10
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x49e5d0]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x478951
jmp 0x478981
inc ebx
mov eax, esi
call fcn.00404d10
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x478974
mov eax, esi
mov edx, ebx
call fcn.00404e44
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47a240
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x47a2db
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47a295
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47a2c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a2e2
lea eax, [ebp - 0x14]
call fcn.004047f8
ret

Function at 0x47e638
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47e802
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47e7b7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x474c1c]
call fcn.004758a4
mov esi, eax
mov ecx, dword [ebx + 8]
lea eax, [ebp - 4]
mov edx, 0x47e818
call fcn.00404b04
mov eax, dword [ebp - 4]
call fcn.0046c254
lea eax, [esi + 0x4088]
mov edx, dword [ebx + 4]
call fcn.0040484c
lea eax, [esi + 0x4c]
mov edx, dword [ebx + 0xc]
call fcn.0040484c
lea eax, [esi + 0x5c]
mov edx, dword [ebx + 0x10]
call fcn.0040484c
lea eax, [esi + 0x60]
mov edx, dword [ebx + 0x14]
call fcn.0040484c
lea eax, [esi + 0x50]
mov edx, dword [ebx + 0x18]
call fcn.0040484c
mov edx, dword [ebx + 0x30]
mov eax, esi
call fcn.00477eb0
mov edx, dword [ebx + 0x20]
mov eax, esi
call fcn.00477f00
mov edx, dword [ebx + 0x2c]
mov eax, esi
call fcn.00477f4c
mov edx, dword [ebx + 0x34]
mov eax, esi
call fcn.00477f9c
mov edx, dword [ebx + 0x28]
mov eax, esi
call fcn.00477ff0
mov dl, byte [ebx + 0x1c]
mov eax, esi
call fcn.00478044
mov dword [esi + 0x4194], ebx
mov dword [esi + 0x4190], 0x47e0d0
mov dword [esi + 0x4154], ebx
mov dword [esi + 0x4150], 0x47e550
mov byte [ebx + 0x48], 1
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov eax, esi
call fcn.00477e60
jmp 0x47e773
push 0x64
call sub.kernel32.dll_Sleep
mov eax, dword [0x49f380]
mov eax, dword [eax]
call fcn.004658b0
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, edi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x47e76a
cmp eax, 0x7530
jbe 0x47e773
jmp 0x47e76c
jle 0x47e773
mov eax, esi
call fcn.00475ed0
cmp byte [ebx + 0x48], 0
jne 0x47e734
mov edx, dword [ebx + 0x40]
mov eax, 0x47e82c
call fcn.00404dfc
test eax, eax
jle 0x47e7ad
push 0x47e83c
lea eax, [ebp - 8]
push eax
mov edx, dword [ebx + 0x40]
mov ecx, 0x47e82c
mov eax, ebx
call fcn.0047d760
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x44]
call fcn.0040484c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e7e7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e809
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040481c
ret
Function at 0x482154
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x482182
mov eax, ebx
call fcn.00482c08
cmp dword [ebx + 0x40], 0
je 0x48217b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4821f3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4821e5
cmp dword [ebx + 8], 0
je 0x4821a4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4821b6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4821e5
cmp dword [ebx + 8], 0
je 0x482197
cmp eax, 3
je 0x4821c9
dec eax
jne 0x482197
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x482197
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x482197
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x482211
cmp dword [ebx + 0x14], 0xcc
je 0x482211
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048221c
pop ebx
ret

Function at 0x49299c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x492a72
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x492a55
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x492a34
lea eax, [ebp - 8]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, ebx
mov edx, 0x104
call fcn.00404e44
mov eax, dword [ebx]
call fcn.00404cb8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
jne 0x492a1e
mov ecx, 0x492a88
mov dl, 1
mov eax, dword [0x407c30]
call fcn.0040c64c
call fcn.00404234
mov eax, dword [ebx]
call fcn.00404cb8
push eax
call sub.kernel32.dll_lstrlenA_1
mov edx, eax
mov eax, ebx
call fcn.00404e44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492a5c
cmp dword [ebp - 8], 0
je 0x492a54
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret