joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4624f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x110], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, 0x11
mov esi, str.Result____In_s.mmmuuu__Duration__Command____________________TO__Data_r_n
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x18]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x462530
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x18]
push ecx
sub eax, esi
push eax
lea eax, [esp + 0x24]
push eax
push edx
call ebx
mov ecx, 0x1b
mov esi, str.___________________________________________________________________________________________________________r_n
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x18]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x462570
push 0
sub eax, edx
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004810ab
mov esp, ebp
pop ebp
ret

Function at 0x462730
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
xor ebp, ebp
mov eax, 0x4bfac8
lea ecx, [ecx]
cmp dword [eax - 0x108], ebx
je 0x46277a
cmp dword [eax], ebx
je 0x46276d
cmp dword [eax + 0x108], ebx
je 0x462772
cmp dword [eax + 0x210], ebx
je 0x462777
add eax, 0x420
add ebp, 4
cmp eax, 0x4c0b48
jl 0x462740
jmp 0x46277a
add ebp, 1
jmp 0x46277a
add ebp, 2
jmp 0x46277a
add ebp, 3
cmp ebp, 0x10
jne 0x462787
pop ebp
mov eax, 0x16
pop ebx
ret
push esi
push edi
push 0
push 0
push ebx
call fcn.00431350
mov esi, ebp
imul esi, esi, 0x108
mov eax, dword [esi + 0x4bf9c4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 0x4bf9c8]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x4bf9c4], eax
jne 0x4627ed
pop edi
mov dword [esi + 0x4bf9c0], 0
pop esi
pop ebp
mov eax, 0xcf
pop ebx
ret
push eax
call fcn.004624f0
add esp, 4
push 0x462270
push ebp
push ebx
call fcn.00431350
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x463ff0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
push esi
push edi
push 0
push 0x6d
call fcn.0046d810
add esp, 4
push eax
mov eax, dword [esp + 0x28]
push 1
push 0
push 0x1e
push 1
push eax
call fcn.00463090
add esp, 0x1c
mov edi, eax
mov esi, 0x1e
mov edi, edi
push esi
push edi
call fcn.0045fed0
push 0x3e8
push esi
push edi
call fcn.0045fea0
push edi
call fcn.0045ff40
add esp, 0x18
test eax, eax
jne 0x464047
sub esi, 1
test esi, esi
jg 0x464020
test esi, esi
jne 0x464061
push esi
push edi
call fcn.0045fed0
push 0xfa
push esi
push edi
call fcn.0045fea0
add esp, 0x14
push 0
push edi
call fcn.0045ff50
add esp, 8
test esi, esi
jle 0x464078
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
cmp dword [0x4dec28], 0x7d0
jge 0x464096
push 0
push 8
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop edi
mov esi, eax
pop esi
add esp, 0x14
ret
lea ecx, [esp + 8]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x464123
lea edx, [esp + 0x10]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x464123
push eax
push 8
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov esi, eax
mov eax, dword [esp + 0x18]
push 0
push eax
mov dword [esp + 0x30], 0
call edi
pop edi
mov eax, esi
pop esi
add esp, 0x14
ret
xor esi, esi
pop edi
mov eax, esi
pop esi
add esp, 0x14
ret
Function at 0x467150
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0xc364
call fcn.00481410
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0xc360], eax
push 0x186a0
call fcn.0048163b
mov dword [0x4bf980], eax
add esp, 4
mov word [eax], 0xffff
lea eax, [esp]
push eax
push str.SoftwareEasySystemsZulu2
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x467223
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x4a1e18
push ecx
mov dword [esp + 0x1c], 0xc350
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x467219
mov eax, dword [0x4bf980]
push 0x467120
push 0x4670f0
push 0
push 0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push 2
push ecx
mov dword [0x4bf990], edx
mov dword [0x4bf984], eax
call fcn.004931c0
add esp, 0x18
test eax, eax
jne 0x467219
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push edx
push eax
call fcn.00493310
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004935d0
add esp, 0xc
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4bf980]
mov dword [0x4bf988], eax
movzx ecx, word [eax]
cmp cx, 0xffff
je 0x467295
movzx ecx, cx
lea ebx, [ebx]
test cx, cx
je 0x467295
add eax, 6
push 0
push eax
call fcn.00481160
add eax, 1
push 0
push eax
mov dword [0x4bf988], eax
call fcn.00481160
add eax, 1
push 0
push eax
mov dword [0x4bf988], eax
call fcn.00481160
add eax, 1
push 0
push eax
mov dword [0x4bf988], eax
call fcn.00481160
add eax, 1
mov dword [0x4bf988], eax
movzx ecx, word [eax]
add esp, 0x20
cmp cx, 0xffff
jne 0x467240
mov ecx, dword [esp + 0xc360]
xor ecx, esp
call fcn.004810ab
add esp, 0xc364
ret

Function at 0x4672b0
Capabilities:
Set registry value

Disassembly:
mov eax, 0xc35c
call fcn.00481410
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0xc358], eax
mov eax, dword [0x4bf980]
push 0x467120
push 0x4670f0
push 0
push 0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push 1
push edx
mov dword [0x4bf990], eax
mov dword [0x4bf984], ecx
call fcn.004931c0
add esp, 0x18
test eax, eax
jne 0x467323
mov eax, dword [0x4bf988]
sub eax, dword [0x4bf980]
mov ecx, dword [esp + 4]
add eax, 2
push eax
push ecx
call fcn.00493310
mov edx, dword [esp + 0xc]
push edx
call fcn.004935d0
add esp, 0xc
mov eax, dword [0x4bf980]
push eax
call fcn.00481373
add esp, 4
lea ecx, [esp]
push ecx
push str.SoftwareEasySystemsZulu2
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x467377
mov edx, dword [0x4bf984]
lea eax, [esp + 8]
sub edx, eax
push edx
mov edx, dword [esp + 4]
mov ecx, eax
push ecx
push 3
push 0
push 0x4a1e18
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xc358]
xor ecx, esp
call fcn.004810ab
add esp, 0xc35c
ret
Function at 0x46abf0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x7534
call fcn.00481410
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x7530], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
mov ebp, dword [esp + 0x7544]
push esi
mov esi, dword [esp + 0x7544]
push edi
push 0x510
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
cmp edi, 0x61a8
jle 0x46ac84
push 0x7530
lea eax, [esp + 0x14]
push eax
push 0x510
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x10]
push 0xa
push eax
call fcn.00481160
add eax, 1
mov ecx, eax
lea edx, [esp + 0x18]
sub ecx, edx
add esp, 8
cmp ecx, 0x1388
jl 0x46ac56
push eax
push 0x510
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0xb1
push 0x510
push esi
call edi
push ebp
push 0
push 0xc2
push 0x510
push esi
call edi
mov ecx, dword [esp + 0x7540]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0x7534
ret
Function at 0x46d0b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
lea eax, [esp + 4]
push eax
push esi
call fcn.00483bd1
add esp, 8
test eax, eax
je 0x46d0d1
xor eax, eax
pop esi
add esp, 0x24
ret
test dword [esp + 0xa], 0x4000
jne 0x46d0ca
mov eax, dword [esp + 0x18]
cmp eax, 0x40000000
jg 0x46d0ca
add eax, 1
push edi
push eax
call fcn.0048163b
mov edi, dword [esp + 0x38]
add esp, 4
test eax, eax
mov dword [edi], eax
je 0x46d12c
mov ecx, dword [esp + 0x1c]
add ecx, 1
push ecx
push 0
push eax
call fcn.00481440
push 0x4a1f88
push esi
call fcn.00482bdb
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x46d134
mov edx, dword [edi]
push edx
call fcn.00481373
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
push esi
push eax
push 1
push ecx
call fcn.00484153
mov ecx, dword [esp + 0x2c]
add esp, 0x10
cmp eax, ecx
push esi
je 0x46d168
call fcn.004828f4
mov edx, dword [edi]
push edx
call fcn.00481373
add esp, 8
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret
mov eax, dword [esp + 0x3c]
mov dword [eax], ecx
call fcn.004828f4
add esp, 4
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret

Function at 0x46d190
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x10c], eax
lea eax, [esp]
push eax
push str.Control_PanelInternational
push 0x80000001
mov byte [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x46d1f4
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push str.sThousand
push ecx
mov dword [esp + 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0xc], 0
je 0x46d246
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46d202
sub eax, edx
cmp eax, 6
jae 0x46d246
xor eax, eax
jmp 0x46d220
mov cl, byte [esp + eax + 0xc]
mov byte [eax + 0x4defb0], cl
add eax, 1
test cl, cl
jne 0x46d220
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004810ab
add esp, 0x110
ret
mov ecx, dword [esp + 0x10c]
xor ecx, esp
mov word [0x4defb0], 0x2c
call fcn.004810ab
add esp, 0x110
ret

Function at 0x46d270
Capabilities:
Delete registry key
Log keystrokes via polling
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jns 0x46d2a7
push 0x11
call esi
test ax, ax
jns 0x46d2a7
mov eax, dword [esp + 0xc]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x7d
push 0x28
call dword [sym.imp.KERNEL32.dll_Beep]
pop esi
pop ecx
ret
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x46d2e8
push 0x2458
push 0x50a178
push 3
push eax
mov eax, dword [esp + 0x14]
push str.Persistent
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x46d2f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
mov esi, dword [esp + 0x10c]
lea eax, [esp + 4]
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 4]
push ecx
call fcn.00475fa0
add esp, 4
push 0x80
push esi
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov ecx, dword [esp + 0x104]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004810ab
add esp, 0x104
ret

Function at 0x46d360
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x504
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x500], eax
cmp dword [0x50a3b0], 0
push ebx
push ebp
mov ebp, dword [esp + 0x510]
push esi
push edi
je 0x46d3f0
lea eax, [esp + 0x310]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [esp + 0x310], 0
lea esi, [esp + 0x310]
mov byte [esp + 0x110], 0
je 0x46d419
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea ebx, [ebx]
push esi
call edi
cmp eax, 3
jne 0x46d3d9
lea ecx, [esp + 0x110]
push esi
push ecx
call fcn.004741a0
add esp, 8
push 0
push esi
call fcn.00481160
add eax, 1
mov esi, eax
add esp, 8
cmp byte [esi], 0
jne 0x46d3c0
jmp 0x46d419
push 0x200
lea edx, [esp + 0x114]
push 0
push edx
call fcn.00481440
lea eax, [esp + 0x11c]
push 0x50a3b8
push eax
call fcn.004741a0
add esp, 0x14
cmp byte [esp + 0x110], 0
lea esi, [esp + 0x110]
je 0x46d46e
mov edi, dword [esp + 0x51c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x4a1fc0
push esi
call ebx
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00475280
add esp, 8
cmp eax, edi
jge 0x46d489
push 0
push esi
call fcn.00481160
add eax, 1
mov esi, eax
add esp, 8
cmp byte [esi], 0
jne 0x46d437
xor eax, eax
mov ecx, dword [esp + 0x510]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0x504
ret
lea eax, [esp + 0x10]
mov edx, ebp
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x46d493
mov eax, 1
jmp 0x46d470
Function at 0x46d4b0
Capabilities:
Delete file
Enumerate files on windows
Get disk information

Disassembly:
sub esp, 0x64c
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x648], eax
push ebx
push esi
push edi
lea eax, [esp + 0x254]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [esp + 0x254], 0
lea esi, [esp + 0x254]
mov byte [esp + 0x454], 0
je 0x46d52e
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea esp, [esp]
push esi
call edi
cmp eax, 3
jne 0x46d519
lea ecx, [esp + 0x454]
push esi
push ecx
call fcn.004741a0
add esp, 8
push 0
push esi
call fcn.00481160
add eax, 1
mov esi, eax
add esp, 8
cmp byte [esi], 0
jne 0x46d500
lea edx, [esp + 0x454]
push 0x50a3b8
push edx
call fcn.004741a0
xor eax, eax
add esp, 8
cmp byte [esp + 0x454], al
lea ebx, [esp + 0x454]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
je 0x46d693
push ebp
jmp 0x46d568
mov ebx, dword [esp + 0x10]
mov esi, ebx
neg esi
mov eax, ebx
lea edx, [esp + esi + 0x158]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x46d575
lea edi, [esp + 0x158]
add edi, 0xffffffff
jmp 0x46d590
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x46d590
mov eax, dword [0x4a1fc0]
mov dword [edi], eax
lea eax, [esp + 0x158]
add eax, 0xffffffff
jmp 0x46d5b0
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x46d5b0
mov ecx, dword [str..tmp]
mov dx, word [0x4a1fc8]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x46d673
lea ebx, [esp + esi + 0x258]
mov dword [esp + 0x14], 1
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
mov byte [ebx + eax], cl
add eax, 1
test cl, cl
jne 0x46d604
lea eax, [esp + 0x44]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46d616
lea edi, [esp + 0x258]
sub eax, edx
add edi, 0xffffffff
jmp 0x46d630
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x46d630
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x258]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x46d600
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x10]
push 0
push ebx
call fcn.00481160
add eax, 1
add esp, 8
cmp byte [eax], 0
mov dword [esp + 0x10], eax
jne 0x46d564
mov eax, dword [esp + 0x14]
pop ebp
mov ecx, dword [esp + 0x654]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0x64c
ret
Function at 0x46f540
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x108
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x110]
test eax, eax
push esi
mov esi, dword [esp + 0x110]
je 0x46f67c
cmp byte [eax], 0
je 0x46f67c
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x46f67c
mov eax, dword [esp + 4]
test eax, eax
je 0x46f67c
cmp byte [eax], 0
je 0x46f67c
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x46f5bf
test al, 0x10
jne 0x46f67c
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46f5c6
sub eax, edx
cmp eax, 3
jb 0x46f601
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46f5e0
sub eax, edx
lea ecx, [esp + eax + 5]
push 0x49f14c
push ecx
call fcn.00481806
add esp, 8
test eax, eax
je 0x46f64b
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46f608
sub eax, edx
cmp byte [esp + eax + 7], 0x2e
jne 0x46f630
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46f621
sub eax, edx
mov byte [esp + eax + 7], cl
push edi
lea edi, [esp + 0xc]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x46f638
mov edx, dword [0x49f14c]
mov dword [edi], edx
pop edi
lea eax, [esp + 8]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x46f655
mov eax, 1
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004810ab
add esp, 0x108
ret
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004810ab
add esp, 0x108
ret

Function at 0x4700b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2478
call fcn.00481410
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x2474], eax
mov eax, dword [esp + 0x247c]
lea ecx, [esp + 4]
push ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x470159
lea edx, [esp]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.Persistent
push edx
mov dword [esp + 0x18], 0x2468
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp], 0x2458
jne 0x470159
cmp dword [esp + 0x2460], 0x1b39
jne 0x470159
push 0x2458
lea ecx, [esp + 0x10]
push ecx
push 0x50a178
call fcn.00481900
add esp, 0xc
mov ecx, dword [esp + 0x2474]
xor ecx, esp
call fcn.004810ab
add esp, 0x2478
ret
call fcn.0046fd20
mov ecx, dword [esp + 0x2474]
xor ecx, esp
call fcn.004810ab
add esp, 0x2478
ret
Function at 0x4722b0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x118], eax
push esi
mov esi, dword [esp + 0x124]
imul esi, esi, 0x7ec
mov eax, dword [esi + 0x4fd29c]
push edi
push eax
call fcn.00434320
xor edi, edi
cmp eax, edi
jne 0x4724fd
push ebx
push ebp
lea ecx, [esi + 0x4fd308]
push ecx
lea edx, [esi + 0x4fd3a0]
push edx
lea eax, [esi + 0x4fd39c]
push eax
mov eax, dword [esi + 0x4fd29c]
lea ecx, [esi + 0x4fd398]
push ecx
lea edx, [esi + 0x4fd304]
push edx
push eax
call fcn.00434a30
mov ebx, eax
cmp ebx, edi
jne 0x4724f1
lea ecx, [esi + 0x4fd314]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
lea edx, [esi + 0x4fd918]
push edx
lea eax, [esi + 0x4fd898]
push eax
lea ecx, [esi + 0x4fd3b0]
push ecx
mov ecx, dword [esi + 0x4fd29c]
lea edx, [esi + 0x4fd3ac]
push edx
lea eax, [esi + 0x4fd3a8]
push eax
lea ebp, [esi + 0x4fd3a4]
push ebp
push ecx
call fcn.00438590
mov ebx, eax
cmp ebx, edi
jne 0x4724f1
cmp dword [ebp], edi
mov dword [esp + 0x18], edi
jle 0x47242b
mov edi, edi
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esi + 0x4fd29c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
call fcn.0043a0d0
mov ebx, eax
test ebx, ebx
jne 0x4724f1
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ecx, [eax + ebp]
cmp ebp, ecx
jge 0x472410
mov edi, dword [esp + 0x130]
imul edi, edi, 0x1fb
add edi, ebp
lea edi, [edi*4 + 0x4fd70c]
jmp 0x4723d0
mov ecx, dword [esi + 0x4fd29c]
lea edx, [edi - 0x318]
push edx
push 0
push 0
push 0
push edi
lea eax, [edi - 0x18c]
push eax
push ebp
push ecx
call fcn.0043a220
mov ebx, eax
test ebx, ebx
jne 0x47240c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ebp, 1
add eax, edx
add edi, 4
cmp ebp, eax
jl 0x4723d0
mov edi, dword [esp + 0x18]
add edi, 1
cmp edi, dword [esi + 0x4fd3a4]
mov dword [esp + 0x18], edi
jl 0x472380
test ebx, ebx
jne 0x4724f1
lea eax, [esi + 0x4fd1b8]
lea edx, [esp + 0x28]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x472437
lea edi, [esp + 0x28]
add edi, 0xffffffff
lea ebx, [ebx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x472450
mov cx, word [0x49ea0c]
push 0x18
mov word [edi], cx
lea edi, [esi + 0x4fd3d5]
push edi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x2c]
push ecx
lea ebp, [esi + 0x4fd3f0]
push ebp
push 0x21
lea eax, [esi + 0x4fd3b4]
push eax
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x4724a5
mov byte [esi + 0x4fd3b4], al
mov byte [edi], al
mov dword [ebp], 0xffffffff
mov eax, dword [0x50a360]
mov ecx, dword [esp + 0x130]
push eax
push ecx
lea edx, [esi + 0x4fd318]
push edx
call fcn.00471b90
add esp, 0xc
mov dword [esi + 0x4fd300], 1
pop ebp
mov eax, ebx
pop ebx
pop edi
mov dword [esi + 0x4fd2f8], 0
pop esi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004810ab
add esp, 0x11c
ret
mov dword [esi + 0x4fd300], 2
jmp 0x4724cc
mov ecx, dword [esp + 0x120]
mov dword [esi + 0x4fd2f8], edi
pop edi
mov dword [esi + 0x4fd300], eax
pop esi
xor ecx, esp
call fcn.004810ab
add esp, 0x11c
ret