joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4628e0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4dbb78]
cmp byte [eax + 0xa5], 0
jne 0x462951
cmp dword [0x4dbb90], 0
jne 0x462912
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46289c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4dbb90], eax
cmp dword [0x4dbb8c], 0
jne 0x46292d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4dbb8c], eax
cmp dword [0x4dbb94], 0
jne 0x462951
push esp
push 0
push 0
push 0x462840
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4dbb94], eax
pop edx
ret

Function at 0x462fe4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4dbb78]
cmp dword [eax + 0x30], 0
je 0x46308e
cmp dword [ebx + 0x94], 0
jne 0x463088
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462f74
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x463088
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 0x46304e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x463088
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.0041ad3c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46305d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463bec
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 0x463c21
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.00404e80
jmp 0x463c2e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404de4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x464de8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x464e29
mov eax, esi
call fcn.0044b0c0
test al, al
je 0x464e29
mov eax, dword [ebx + 0x84]
call fcn.0044adbc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x464e29
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044adbc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x466eb0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467019
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404e28
mov eax, dword [ebp - 0x10]
call fcn.00466a24
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x466f02
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004052f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004672dc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x466fd7
xor eax, eax
push ebp
push 0x466fd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00466bd0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00467028
test al, al
je 0x466fae
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404e80
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x466fae
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405250
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x466fa8
mov eax, dword [ebp - 0x14]
call fcn.00405250
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404f88
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00466eb0
dec ebx
cmp ebx, 0xffffffff
jne 0x466f61
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466fd7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00466bd0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00405250
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00466bbc
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467020
lea eax, [ebp - 0x3c]
call fcn.00404d90
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404db4
ret
Function at 0x466fd7
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467019
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404e28
mov eax, dword [ebp - 0x10]
call fcn.00466a24
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x466f02
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004052f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004672dc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x466fd7
xor eax, eax
push ebp
push 0x466fd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00466bd0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00467028
test al, al
je 0x466fae
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404e80
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x466fae
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405250
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x466fa8
mov eax, dword [ebp - 0x14]
call fcn.00405250
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404f88
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00466eb0
dec ebx
cmp ebx, 0xffffffff
jne 0x466f61
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466fd7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00466bd0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00405250
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00466bbc
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467020
lea eax, [ebp - 0x3c]
call fcn.00404d90
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404db4
ret

Function at 0x467028
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403670
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4da7c8]
cmp byte [edx + 0xc], 0
je 0x46708c
mov edx, dword [0x4da7b8]
cmp dword [edx], 2
jne 0x46708c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x4671f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00466a38
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00405250
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46724e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4da544]
mov dl, 1
mov eax, dword [0x4668c4]
call fcn.0040df04
call fcn.00404720
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x467258
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405250
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4672b0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4da7d4]
mov dl, 1
mov eax, dword [0x4668c4]
call fcn.0040df04
call fcn.00404720
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00466a68
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x469840
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4699b1
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46998c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404f78
lea eax, [ebp - 0x118]
mov edx, 0x4699c8
call fcn.00405058
mov eax, dword [ebp - 0x118]
call fcn.00405250
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4698fe
lea eax, [ebp - 0x111]
call fcn.0040a750
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404e80
jmp 0x469905
mov eax, esi
call fcn.00404d90
cmp bl, 0x61
jae 0x469926
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040ed0c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404de4
jmp 0x469940
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040ec80
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404de4
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4699d4
call fcn.0040ae70
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469993
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x46dc10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x46dc3a
cmp dword [ebx + 0x64], 0
jne 0x46dc3a
cmp dword [ebx + 0x6c], 0
jne 0x46dc3a
mov edi, esi
jmp 0x46dcc1
cmp edi, 0xffffffff
jne 0x46dc42
dec edi
jmp 0x46dcc1
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x46dcc1
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0046d00c
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x46dc8f
mov cx, word [esp]
sub cx, si
jmp 0x46dc91
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x46dc78
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x46dcb7
mov cx, word [esp]
sub cx, si
jmp 0x46dcb9
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x46dca0
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x46dd1e
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0046d9ac
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x46dd09
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x46dd1e
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x46dc1a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x473f74
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4dbc18
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x473f96
shr eax, 1
xor eax, 0xedb88320
jmp 0x473f98
shr eax, 1
dec edx
jne 0x473f84
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x473f7d
mov byte [0x4dc018], 1
pop esi
pop ebx
ret

Function at 0x473fb4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4dc018], 0
jne 0x473fcb
call fcn.00473f74
mov eax, edi
dec eax
test eax, eax
jl 0x473ff4
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4dbc18]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x473fd5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4765c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4765f9
dec al
je 0x476635
dec al
je 0x476679
dec al
je 0x4766e4
jmp 0x47676e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x47676e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x476609
jmp 0x47676e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47676e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x476645
jmp 0x47676e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47676e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4766a7
xor ebp, ebp
jmp 0x4766b8
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4766c1
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x476689
jmp 0x47676e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47676e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x47673c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00473ffc
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4766f8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47c82c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47c85a
mov eax, ebx
call fcn.0047d2e0
cmp dword [ebx + 0x40], 0
je 0x47c853
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47c8cb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47c8bd
cmp dword [ebx + 8], 0
je 0x47c87c
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 0x47c88e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47c8bd
cmp dword [ebx + 8], 0
je 0x47c86f
cmp eax, 3
je 0x47c8a1
dec eax
jne 0x47c86f
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 0x47c86f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47c86f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47c8e9
cmp dword [ebx + 0x14], 0xcc
je 0x47c8e9
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.0047c8f4
pop ebx
ret

Function at 0x490380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x49047c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xc]
call fcn.0049207c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048e24c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00491088
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048e200
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00491100
lea eax, [ebx + 0x50]
call fcn.00404d90
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490483
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404db4
ret
Function at 0x49048c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x490598
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xa]
call fcn.0049207c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x49055b
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048e24c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00491088
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048e200
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00491100
jmp 0x49056d
xor edx, edx
mov eax, ebx
call fcn.00491088
xor edx, edx
mov eax, ebx
call fcn.00491100
lea eax, [ebx + 0x50]
call fcn.00404d90
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49059f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404db4
ret

Function at 0x492190
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x4921e9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00405250
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4921d1
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4921d3
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4921f0
lea eax, [ebp - 4]
call fcn.00404d90
ret

Function at 0x4921f8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x49225c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [ebp - 4]
call fcn.00405250
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040a958
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492263
lea eax, [ebp - 4]
call fcn.00404d90
ret