joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411b9c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e63c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov dword [ebp - 0x2c], 0
call fcn.005934de
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x5ff744]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
push 0x17
mov edx, dword [ebp + 0xc]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x411c6b
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x411c6b
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x411c6b
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x411c6b
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.0057d485
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0057d45d
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.0057cd53
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0057cfde
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4172fd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59eaf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
cmp dword [0x60a0e4], 0
jne 0x4173b7
mov eax, dword [0x5ff744]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0057d485
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0057d45d
push 0x5f7798
lea ecx, [ebp - 0x14]
call fcn.0057d3ba
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41739e
push 0x6a
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41739e
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.user32.dll_CopyIcon]
mov dword [0x60a0e4], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0057cfde
mov eax, dword [0x60a0e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41b432
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x98], 3
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
je 0x41b476
cmp dword [ebp - 0x84], 1
jne 0x41b4f4
cmp dword [ebp - 0x8c], 0
jne 0x41b4f4
lea ecx, [ebp - 0x9c]
push ecx
push 1
push 0
push 0x5f7838
push reloc.odbc32.dll_SQLAllocConnect
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41b4f2
mov dword [ebp - 0x124], 0x80
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
push ecx
push 0
push 0x5f7850
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x41b4e5
push 0xa
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0052fb7b
add esp, 0xc
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x41b507
push 0
lea edx, [ebp - 0x98]
push edx
push 0
push 0x68
call dword [sym.imp.user32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0x98]
mov esp, ebp
pop ebp
ret
Function at 0x44018c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push esi
push edi
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp - 0x120]
mov word [eax + 0x3e], 0x4e4
cmp dword [ebp - 0x120], 0
je 0x4401c3
mov ecx, dword [ebp - 0x120]
add ecx, 4
mov dword [ebp - 0x124], ecx
jmp 0x4401cd
mov dword [ebp - 0x124], 0
mov ecx, 0xd
xor eax, eax
mov edi, dword [ebp - 0x124]
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x440202
cmp dword [ebp + 8], 0
je 0x440202
xor eax, eax
jmp 0x44038a
push 0x104
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
ja 0x440231
xor eax, eax
jmp 0x44038a
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
ja 0x44025a
xor eax, eax
jmp 0x44038a
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0057d63c
add esp, 4
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x11c]
mov dword [edx + 0x38], eax
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ebp - 0x114]
push eax
push 0
lea ecx, [ebp - 0x108]
push ecx
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4402a8
xor eax, eax
jmp 0x44038a
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x118]
push eax
push 0x5f7aa4
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx + 0x38]
push edx
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4402d2
xor eax, eax
jmp 0x44038a
cmp dword [ebp - 0x120], 0
je 0x4402ec
mov eax, dword [ebp - 0x120]
add eax, 4
mov dword [ebp - 0x128], eax
jmp 0x4402f6
mov dword [ebp - 0x128], 0
mov esi, dword [ebp - 0x118]
mov ecx, 0xd
mov edi, dword [ebp - 0x128]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x118]
push edx
push 0x5f7aa8
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 0x38]
push ecx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x440378
cmp dword [ebp - 4], 4
jb 0x440378
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0x3c], eax
mov edx, 1
test edx, edx
je 0x440358
mov dword [ebp - 0x12c], 0
jmp 0x440378
mov eax, dword [ebp - 0x120]
xor ecx, ecx
mov cx, word [eax + 0x3e]
push ecx
push 0x5f7ac4
call fcn.004019f0
add esp, 8
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x120]
xor eax, eax
cmp dword [edx + 4], 0xfeef04bd
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x440510
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
xor edx, edx
cmp dword [ecx - 8], 0
sete dl
test edx, edx
je 0x440534
mov dword [ebp - 0xc], 0
jmp 0x440556
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
push 1
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x5f7b00
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x442e68
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
call dword [sym.imp.kernel32.dll_GetVersion]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x80000000
jae 0x442f18
mov dword [ebp - 8], 1
push 0x94
call fcn.0052fe32
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x442f13
mov ecx, 0x25
xor eax, eax
mov edi, dword [ebp - 4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x94
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 4
jne 0x442ed3
mov dword [ebp - 8], 5
jmp 0x442f07
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 5
jne 0x442eee
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
jne 0x442eee
mov dword [ebp - 8], 6
jmp 0x442f07
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 5
jne 0x442f07
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jne 0x442f07
mov dword [ebp - 8], 7
mov ecx, dword [ebp - 4]
push ecx
call fcn.0052fd49
add esp, 4
jmp 0x442fab
mov edx, dword [ebp - 0xc]
and edx, 0xff
cmp edx, 4
jge 0x442f2f
mov dword [ebp - 8], 0
jmp 0x442fab
mov dword [ebp - 8], 2
push 0x94
call fcn.0052fe32
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x442fab
mov ecx, 0x25
xor eax, eax
mov edi, dword [ebp - 4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x94
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 4
jne 0x442f86
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0xa
jne 0x442f86
mov dword [ebp - 8], 3
jmp 0x442f9f
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 4
jne 0x442f9f
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0x5a
jne 0x442f9f
mov dword [ebp - 8], 4
mov eax, dword [ebp - 4]
push eax
call fcn.0052fd49
add esp, 4
mov eax, dword [ebp - 8]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x44d257
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.005934de
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
push 2
mov ecx, dword [ebp + 8]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44d2a6
mov dword [ebp - 4], 0
push 2
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44d2b0
xor eax, eax
jmp 0x44d312
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44d2cb
xor eax, eax
jmp 0x44d312
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.kernel32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44d2e2
xor eax, eax
jmp 0x44d312
mov edx, dword [ebp - 0x14]
push edx
call fcn.0044d208
add esp, 4
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0xc]
and eax, 0xffff
cmp eax, 0x10
je 0x44d303
xor eax, eax
jmp 0x44d312
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00585965
mov esp, ebp
pop ebp
ret

Function at 0x44eebd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push esi
push edi
cmp dword [0x60a1cc], 0
je 0x44eedb
mov eax, dword [0x60a1c8]
jmp 0x44efdf
mov dword [0x60a1cc], 1
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push 0
push 0x5f7bac
push reloc.odbc32.dll_SQLAllocConnect
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x44efda
mov dword [ebp - 4], 0x104
mov dword [ebp - 0x118], 1
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x118]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x44efcd
mov ecx, 5
mov esi, 0x5f7bd4
lea edi, [ebp - 0x138]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp dword [ebp - 0x13c], eax
jl 0x44efcd
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
mov ecx, dword [ebp - 0x13c]
sub ecx, eax
lea edx, [ebp + ecx - 0x114]
push edx
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x44efcd
mov dword [0x60a1c8], 1
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [0x60a1c8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x460032
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0afb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
mov dword [ebp - 0x1a8], ecx
push 0
lea ecx, [ebp - 0x194]
call fcn.005421f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax + 0x74]
push ecx
lea ecx, [ebp - 0x194]
call fcn.005422c0
mov dword [ebp - 0x198], 0
call fcn.005934de
mov edx, dword [eax + 4]
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1a4], ecx
cmp dword [ebp - 0x1a4], 0
jne 0x4600bb
mov dword [ebp - 0x1ac], 0
jmp 0x4600ca
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
push ecx
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x460107
call dword [sym.imp.user32.dll_EmptyClipboard]
test eax, eax
je 0x460107
lea ecx, [ebp - 0x194]
call fcn.00542c00
push eax
push 8
call dword [sym.imp.user32.dll_SetClipboardData]
test eax, eax
je 0x460107
mov dword [ebp - 0x198], 1
call dword [sym.imp.user32.dll_CloseClipboard]
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.00542230
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x465cf0
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x465d0c
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x12
jge 0x465d27
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x5b1844]
mov dword [edx + ecx*4], eax
jmp 0x465d03
mov dword [ebp - 4], 0
jmp 0x465d39
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 4
jge 0x465d81
mov dword [ebp - 0xc], 0
jmp 0x465d51
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x100
jge 0x465d7f
mov eax, dword [ebp - 4]
shl eax, 0xa
mov ecx, dword [ebp - 4]
shl ecx, 0xa
mov edx, dword [ebp - 0x10]
lea ecx, [edx + ecx + 0x48]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
mov eax, dword [eax + esi*4 + 0x5b188c]
mov dword [ecx + edx*4], eax
jmp 0x465d48
jmp 0x465d30
xor ecx, ecx
mov cx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00465d9e
mov eax, dword [ebp - 0x10]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x465d9e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x14], 0
mov word [ebp - 0x10], 0
jmp 0x465dc1
mov ax, word [ebp - 0x10]
add ax, 1
mov word [ebp - 0x10], ax
movsx ecx, word [ebp - 0x10]
cmp ecx, 0x12
jge 0x465eb0
mov dword [ebp - 0xc], 0
movsx edx, word [ebp - 0x14]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + edx]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp - 0xc]
and edx, 0xffffff
or edx, ecx
mov dword [ebp - 0xc], edx
movsx eax, word [ebp - 0x14]
add eax, 1
movsx ecx, word [ebp + 0xc]
cdq
idiv ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + edx]
and ecx, 0xff
shl ecx, 0x10
mov edx, dword [ebp - 0xc]
and edx, 0xff00ffff
or edx, ecx
mov dword [ebp - 0xc], edx
movsx eax, word [ebp - 0x14]
add eax, 2
movsx ecx, word [ebp + 0xc]
cdq
idiv ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + edx]
and ecx, 0xff
shl ecx, 8
mov edx, dword [ebp - 0xc]
and edx, 0xffff00ff
or edx, ecx
mov dword [ebp - 0xc], edx
movsx eax, word [ebp - 0x14]
add eax, 3
movsx ecx, word [ebp + 0xc]
cdq
idiv ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + edx]
and ecx, 0xff
mov edx, dword [ebp - 0xc]
and edx, 0xffffff00
or edx, ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
movsx ecx, word [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + ecx*4]
xor eax, dword [ebp - 0x18]
movsx ecx, word [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
movsx eax, word [ebp - 0x14]
add eax, 4
movsx ecx, word [ebp + 0xc]
cdq
idiv ecx
mov word [ebp - 0x14], dx
jmp 0x465db5
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov word [ebp - 0x10], 0
jmp 0x465ed2
mov dx, word [ebp - 0x10]
add dx, 2
mov word [ebp - 0x10], dx
movsx eax, word [ebp - 0x10]
cmp eax, 0x12
jge 0x465f08
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00466047
movsx eax, word [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4], edx
movsx eax, word [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 4], edx
jmp 0x465ec6
mov word [ebp - 0x10], 0
jmp 0x465f1c
mov ax, word [ebp - 0x10]
add ax, 1
mov word [ebp - 0x10], ax
movsx ecx, word [ebp - 0x10]
cmp ecx, 4
jge 0x465f89
mov word [ebp - 0x14], 0
jmp 0x465f39
mov dx, word [ebp - 0x14]
add dx, 2
mov word [ebp - 0x14], dx
movsx eax, word [ebp - 0x14]
cmp eax, 0x100
jge 0x465f87
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00466047
movsx eax, word [ebp - 0x10]
shl eax, 0xa
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax + 0x48]
movsx eax, word [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [edx + eax*4], ecx
movsx edx, word [ebp - 0x10]
shl edx, 0xa
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx + 0x48]
movsx edx, word [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [ecx + edx*4 + 4], eax
jmp 0x465f2d
jmp 0x465f10
mov esp, ebp
pop ebp
ret 8
Function at 0x467f70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov dword [ebp - 0x98], 0
cmp dword [ebp - 0x84], 2
jne 0x467fc7
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00468130
add esp, 0xc
test eax, eax
je 0x467fc5
mov dword [ebp - 0x98], 1
jmp 0x467fe9
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00465cd3
add esp, 0xc
test eax, eax
je 0x467fe9
mov dword [ebp - 0x98], 1
cmp dword [ebp - 0x98], 0
jne 0x468093
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
push 0x10
lea ecx, [ebp - 0xc4]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xa4]
push ecx
push 0x10
lea edx, [ebp - 0xb4]
push edx
push 0x5f7e18
call dword [sym.imp.kernel32.dll_GetVolumeInformationA]
test eax, eax
je 0x468054
mov dword [ebp - 0x98], 1
cmp dword [ebp + 0x10], 0x10
jge 0x468066
mov dword [ebp - 0x98], 0
jmp 0x468093
mov eax, dword [ebp - 0xa4]
push eax
push 0x5f7e1c
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005301f0
add esp, 0xc
push 7
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.005305b0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004680a9
add esp, 4
mov eax, dword [ebp - 0x98]
mov esp, ebp
pop ebp
ret
Function at 0x477d10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, 6
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, 0x18
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004535f4
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0x28
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0057cd53
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0057cd53
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x34]
mov byte [ecx + 0x34], al
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x35]
mov byte [ecx + 0x35], al
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x38]
mov dword [edx + 0x38], eax
mov ecx, dword [ecx + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x40]
mov dword [eax + 0x40], ecx
mov edx, dword [edx + 0x44]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x48]
mov dword [ecx + 0x48], edx
mov eax, dword [eax + 0x4c]
mov dword [ecx + 0x4c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x50]
mov dword [edx + 0x50], eax
mov ecx, dword [ecx + 0x54]
mov dword [edx + 0x54], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x58]
mov dword [eax + 0x58], ecx
mov edx, dword [edx + 0x5c]
mov dword [eax + 0x5c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x60]
mov dword [ecx + 0x60], edx
mov eax, dword [eax + 0x64]
mov dword [ecx + 0x64], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x68]
mov dword [edx + 0x68], eax
mov ecx, dword [ecx + 0x6c]
mov dword [edx + 0x6c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x70]
mov dword [eax + 0x70], ecx
mov edx, dword [edx + 0x74]
mov dword [eax + 0x74], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x78]
mov dword [ecx + 0x78], edx
mov eax, dword [eax + 0x7c]
mov dword [ecx + 0x7c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4