joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464330
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
mov ebx, eax
push eax
add esp, 0xfffffe10
mov eax, dword [ebx + 0x520]
test eax, eax
je 0x464523
mov edi, dword [ebx + eax*4 + 0x49c]
xor eax, eax
mov dword [esp], eax
test edi, edi
je 0x464523
push esp
push 0x20
push dword [ebx]
push edi
mov edx, dword [edi]
call dword [edx + 0x10]
test eax, eax
jne 0x464523
cmp dword [esp], 0
je 0x464523
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 4], ecx
jmp 0x4644fc
mov dword [esp + 0xc], 0x10000000
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 8]
push edx
push 1
push edi
mov ecx, dword [edi]
call dword [ecx + 0x24]
test byte [esp + 0xf], 0x10
je 0x4643c8
lea eax, [esp + 0x10]
push eax
push 0
xor ecx, ecx
mov edx, dword [esp + 0xc]
mov eax, edi
call fcn.0046aff4
test eax, eax
jne 0x4643dd
push dword [esp + 4]
mov edx, dword [0x4ca90c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
jmp 0x4644fc
mov eax, dword [ebx + 0x520]
mov edx, dword [esp + 4]
mov eax, dword [ebx + eax*4 + 0x41c]
call fcn.0046af64
mov esi, eax
push 0x4409
push 0x160
lea eax, [esp + 0x418]
push eax
push 0
push esi
call sub.SHELL32.DLL_SHGetFileInfoA
push esi
mov edx, dword [0x4ca90c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
mov dword [esp + 0x570], 7
mov dword [esp + 0x574], ebp
xor edx, edx
mov eax, dword [esp + 0x414]
lea ecx, [esp + 0x10]
mov dword [esp + 0x58c], eax
mov dword [esp + 0x578], edx
mov dword [esp + 0x584], ecx
push 0xc30
push 0
lea eax, [esp + 0x5a0]
push eax
call fcn.00494ce4
add esp, 0xc
mov edx, dword [esp + 4]
mov dword [esp + 0x11c0], edx
mov dword [esp + 0x11b4], 0x20
push dword [esp + 0x584]
lea ecx, [esp + 0x59c]
push ecx
call fcn.00494e64
add esp, 8
mov eax, 0x4c8fe4
mov dword [esp + 0x11a8], 0x10
lea edx, [esp + 0x598]
call fcn.0046b778
mov dword [esp + 0x590], eax
lea ecx, [esp + 0x570]
push ecx
push 0
push 0x1007
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [esp + 0x11d0], 2
lea edx, [esp + 0x520]
lea ecx, [esp + 0x11c8]
mov dword [esp + 0x11dc], edx
push ecx
push eax
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
inc ebp
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push 1
mov edx, dword [esp + 0xc]
push edx
mov ecx, dword [edx]
call dword [ecx + 0xc]
test eax, eax
je 0x46438f
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
add esp, 0x11f0
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x465640
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff004
mov esi, 0x4a7d04
mov ebx, edx
push eax
add esp, 0xfffff9d0
lea edx, [esi + 4]
mov edi, ecx
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
push edx
mov edx, ebx
push 0x100
mov eax, 0x80000000
call fcn.0046c0e0
cmp byte [esp + 4], 0
je 0x46568b
lea ecx, [esp + 4]
push ecx
push edi
call fcn.00494e64
add esp, 8
push ebx
lea eax, [esi + 0x97]
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.00497dc4
add esp, 0xc
lea ecx, [esp + 0x230]
push ecx
lea eax, [esi + 4]
push eax
push 0x800
lea ecx, [esi + 4]
lea edx, [esp + 0x110]
mov eax, 0x80000000
call fcn.0046c0e0
test al, al
jne 0x46578a
push ebx
lea edx, [esi + 0xa6]
push edx
lea ecx, [esp + 0x10c]
push ecx
call fcn.00497dc4
add esp, 0xc
lea eax, [esp + 0xa30]
push eax
lea edx, [esi + 4]
push edx
push 0x400
lea ecx, [esi + 4]
lea edx, [esp + 0x110]
mov eax, 0x80000000
call fcn.0046c0e0
test al, al
jne 0x465718
xor eax, eax
jmp 0x46580b
xor edx, edx
mov dl, byte [esp + 0xa30]
cmp edx, 0x22
jne 0x46572f
lea ecx, [esp + 0xa31]
jmp 0x465736
lea ecx, [esp + 0xa30]
push ecx
lea eax, [esp + 0x234]
push eax
call fcn.00494e64
add esp, 8
push 0x22
lea edx, [esp + 0x234]
push edx
call fcn.00494f31
add esp, 8
test eax, eax
je 0x465760
mov byte [eax], 0
lea eax, [esi + 0xbc]
push eax
lea edx, [esp + 0x234]
push edx
call fcn.00494f55
add esp, 8
test eax, eax
je 0x46577e
mov byte [eax], 0
lea eax, [esp + 0x230]
call fcn.0040ee48
lea edx, [esi + 0xbc]
push edx
lea ecx, [esp + 0x234]
push ecx
call fcn.00494e18
add esp, 8
test eax, eax
jne 0x4657a9
xor eax, eax
jmp 0x46580b
xor esi, esi
push 0x800
lea eax, [esp + 0xe34]
push eax
lea edx, [esp + 0x238]
push edx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
push 0x2c
lea ecx, [esp + 0xe34]
push ecx
call fcn.00494f49
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4657ec
lea esi, [ebx + 1]
push esi
call fcn.004996f4
pop ecx
mov esi, eax
mov byte [ebx], 0
xor eax, eax
mov dword [esp], eax
push 1
lea edx, [esp + 4]
push edx
push 0
push esi
lea ecx, [esp + 0xe40]
push ecx
call sub.SHELL32.DLL_ExtractIconExA
mov eax, dword [esp]
add esp, 0x1630
pop edi
pop esi
pop ebx
ret
Function at 0x466f6c
Capabilities:
Copy file

Disassembly:
push ebx
add esp, 0xfffff004
push eax
add esp, 0xfffffc00
mov ebx, eax
mov edx, esp
mov eax, 0x4c309c
xor ecx, ecx
call fcn.00462684
mov eax, esp
call fcn.0040ba60
mov edx, 0x4a7ee4
mov ecx, 6
call fcn.0040ee24
test eax, eax
jne 0x467087
mov edx, 0x4a7eeb
mov eax, ebx
call fcn.00464530
test eax, eax
jne 0x466fcc
mov edx, 0x4a7ef6
mov eax, ebx
call fcn.00464530
test eax, eax
je 0x467087
lea edx, [esp + 0x800]
lea eax, [esp + 0x400]
call fcn.0044d104
test al, al
je 0x467087
push 0x400
lea ecx, [esp + 0x1004]
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x4a7eeb
lea eax, [esp + 0x1004]
call fcn.0040ba60
push eax
call fcn.00494e64
add esp, 8
push 0
lea edx, [esp + 0x1004]
push edx
lea ecx, [esp + 0x408]
push ecx
call sub.KERNEL32.DLL_CopyFileA
lea eax, [esp + 0x400]
push eax
call fcn.00497a28
pop ecx
push dword [0x4c2340]
call sub.USER32.DLL_SetForegroundWindow
mov al, 1
call fcn.0040e580
mov byte [0x4af630], al
mov eax, 0x4c2354
call fcn.004651bc
cmp byte [0x4af630], 0
je 0x467087
push 0x30
mov eax, 0x368
call fcn.0041202c
push eax
mov eax, 0x367
call fcn.0041202c
push eax
push dword [0x4c2340]
call sub.USER32.DLL_MessageBoxA
add esp, 0x1400
pop ebx
ret

Function at 0x467090
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xfffff200
mov ebp, ecx
mov ebx, edx
mov edi, eax
lea edx, [esp + 0xc00]
mov eax, ebx
call fcn.0040a9a4
lea edx, [esp + 0x1000]
mov eax, ebp
call fcn.0040a9ec
push ebx
lea ecx, [esp + 4]
push ecx
call fcn.00494e64
add esp, 8
mov edx, 0x400
lea eax, [esp + 0x800]
call fcn.0046eb74
lea ecx, [esp + 0x400]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [esp + 0x800]
push eax
call fcn.00494e94
pop ecx
mov ecx, eax
lea eax, [esp + 0x800]
mov edx, ebx
call fcn.0040ee24
test eax, eax
je 0x46714c
push 0x5c
lea ecx, [esp + 4]
push ecx
call fcn.00494f49
add esp, 8
mov esi, eax
test eax, eax
je 0x46714c
mov edx, esp
cmp esi, edx
jbe 0x46714c
mov al, byte [esi - 1]
xor edx, edx
mov dl, al
cmp edx, 0x3a
je 0x46714c
cmp edx, 0x5c
je 0x46714c
mov byte [esi], 0
push esp
call fcn.004967f8
pop ecx
push 1
mov ecx, ebp
mov edx, ebx
mov eax, edi
call fcn.00466aa0
cmp eax, 0xffffffff
jne 0x467175
push 1
lea ecx, [esp + 0x1004]
lea edx, [esp + 0xc04]
mov eax, edi
call fcn.00466aa0
cmp eax, 1
je 0x4671f3
cmp eax, 2
je 0x4671e1
inc eax
jne 0x4671a0
push ebx
mov eax, 0x1f5
call fcn.0041202c
push eax
lea edx, [esp + 0x1808]
push edx
call fcn.00497dc4
add esp, 0xc
jmp 0x4671c1
mov eax, 0x1fc
call fcn.0041202c
push eax
push ebx
push 0x4a7f01
lea edx, [esp + 0x180c]
push edx
call fcn.00497dc4
add esp, 0x10
push 0x10
mov eax, 0x66
call fcn.0041202c
push eax
lea edx, [esp + 0x1808]
push edx
push dword [0x4c2340]
call sub.USER32.DLL_MessageBoxA
lea ecx, [esp + 0x400]
push ecx
call fcn.004967f8
pop ecx
xor eax, eax
jmp 0x4671f5
mov al, 1
add esp, 0x1e00
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x467200
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xfffff7f8
mov ebp, ecx
mov edi, edx
mov esi, eax
push 0x4a7d28
push edi
call fcn.00494e18
add esp, 8
test eax, eax
sete bl
and ebx, 1
cmp byte [esi + 0x41d], 0
je 0x467281
xor eax, eax
test bl, bl
mov dword [esp], eax
je 0x467246
mov dword [esp], 1
push 0x4a7ee2
push edi
call fcn.00494e18
add esp, 8
test eax, eax
jne 0x467261
mov edx, dword [esi + 0x520]
mov dword [esp], edx
cmp dword [esp], 0
je 0x467281
xor ecx, ecx
mov edx, dword [esp]
mov eax, esi
call fcn.004686b4
xor edx, edx
mov eax, esi
call fcn.004638e8
jmp 0x46746c
mov eax, esi
call fcn.004696a4
cmp dword [0x4c4ce0], 0
je 0x467373
mov edx, 0x4a7d47
mov eax, 0x4a7d2b
xor ecx, ecx
call fcn.0046c29c
test eax, eax
je 0x4672b2
test bl, bl
je 0x46746c
lea edx, [esp + 8]
mov eax, 0x4c309c
xor ecx, ecx
call fcn.00462658
push 0x4a7ee2
push edi
call fcn.00494e18
add esp, 8
test eax, eax
je 0x467305
mov eax, 0x4c309c
mov ecx, ebp
mov edx, edi
call fcn.004624c0
test eax, eax
je 0x467305
test bl, bl
je 0x4672f7
lea eax, [esp + 8]
call fcn.0040ba60
mov edx, eax
jmp 0x4672f9
xor edx, edx
mov eax, esi
call fcn.004646c8
jmp 0x46746c
lea edx, [esp + 0x408]
mov eax, 0x4c309c
xor ecx, ecx
call fcn.00462684
lea eax, [esp + 0x408]
push eax
lea edx, [esp + 0x80c]
push edx
call fcn.00494e64
add esp, 8
lea eax, [esp + 0x808]
call fcn.0040c004
lea eax, [esp + 0x808]
xor edx, edx
call fcn.0046ec30
mov eax, esi
call fcn.004691b8
test al, al
je 0x46746c
lea eax, [esp + 0x408]
call fcn.0040ba60
mov edx, eax
mov eax, esi
call fcn.004638e8
jmp 0x46746c
lea edx, [esp + 0xc08]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test bl, bl
je 0x467436
lea ecx, [esp + 0xc08]
push ecx
lea eax, [esp + 0x100c]
push eax
call fcn.00494e64
add esp, 8
lea edx, [esp + 0x1408]
lea eax, [esp + 0xc08]
call fcn.0040c534
lea eax, [esp + 0x1008]
call fcn.0040bf64
lea eax, [esp + 0x1408]
call fcn.0040bf64
lea edx, [esp + 0x1408]
lea eax, [esp + 0x1008]
call fcn.0040ee00
test eax, eax
jne 0x467436
cmp dword [esi + 0x520], 0
jle 0x4673f9
mov byte [esi + 0x41d], 1
jmp 0x46742b
xor edx, edx
mov dword [esp + 4], edx
lea ecx, [esp + 4]
push ecx
push 0x11
push dword [esi]
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
mov eax, 0x4c2354
mov edx, dword [esp + 4]
call fcn.00469604
push dword [esp + 4]
mov ecx, dword [0x4ca90c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
xor edx, edx
mov eax, esi
call fcn.004638e8
jmp 0x46746c
mov edx, ebp
mov eax, edi
call fcn.0046ec30
test al, al
jne 0x46744f
mov eax, 0x4a7ee2
xor edx, edx
call fcn.0046ec30
test bl, bl
je 0x467463
lea eax, [esp + 0xc08]
call fcn.0040ba60
mov edx, eax
jmp 0x467465
xor edx, edx
mov eax, esi
call fcn.004638e8
add esp, 0x1808
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x467d8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffffec
mov ebx, eax
push esp
call sub.USER32.DLL_GetCursorPos
push esp
push dword [ebx]
call sub.USER32.DLL_ScreenToClient
mov eax, esp
push eax
push 0
push 0x1012
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne bl
and ebx, 1
push 0x12
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
push 0x11
mov esi, eax
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
test byte [esp + 8], 1
jne 0x467df7
test ebx, ebx
jne 0x467df7
test esi, esi
jne 0x467df7
test eax, eax
je 0x467dfb
xor edx, edx
jmp 0x467e00
mov edx, 1
mov eax, edx
add esp, 0x14
pop esi
pop ebx
ret

Function at 0x467e08
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffa78
mov ebx, eax
push 0
push 0
push 0x1004
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov esi, eax
mov eax, esp
mov edx, 0x400
call fcn.0046eb74
push 0x4001
push 0x160
lea ecx, [esp + 0x408]
push ecx
push 0
lea eax, [esp + 0x10]
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
push 0x28
push 0
lea edx, [esp + 0x568]
push edx
call fcn.00494ce4
add esp, 0xc
xor eax, eax
mov dword [esp + 0x560], 3
mov ecx, dword [esp + 0x404]
mov dword [esp + 0x57c], ecx
mov dword [esp + 0x564], esi
mov dword [esp + 0x568], eax
mov eax, 0x3d4
call fcn.0041202c
mov dword [esp + 0x574], eax
lea edx, [esp + 0x560]
push edx
push 0
push 0x1007
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push dword [ebx]
call sub.USER32.DLL_SetFocus
mov byte [ebx + 0x1c], 1
push 0
push esi
push 0x1017
push dword [ebx]
call sub.USER32.DLL_SendMessageA
add esp, 0x588
pop esi
pop ebx
ret
Function at 0x468240
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff178
mov ebx, eax
cmp dword [0x4c4ce0], 0
je 0x46825c
mov edx, 0x4a7f12
jmp 0x468261
mov edx, 0x4a7f1a
mov eax, 0x4a7d2b
xor ecx, ecx
call fcn.0046c29c
mov edi, eax
mov eax, edi
and eax, 0x1f
cmp eax, 2
jne 0x4683a0
xor esi, esi
mov dword [esp + 8], esi
xor eax, eax
mov dword [esp + 0xc], eax
lea edx, [esp + 4]
mov dword [esp + 4], 4
push edx
push 0
push 0x1005
push dword [ebx]
call sub.USER32.DLL_SendMessageA
test eax, eax
je 0x4683a0
mov eax, 0x4c8fe4
mov edx, dword [esp + 0x24]
call fcn.0046bb1c
mov ebp, esi
mov dword [eax + 8], ebp
mov eax, dword [0x4c4ce0]
test eax, eax
jne 0x46839a
mov byte [esp + 0x2c], 0
add eax, 2
lea edx, [esp + 0x2c]
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 0x50
mov dword [esp + 0x90], edx
push ecx
push ebp
push 0x102d
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp byte [esp + 0x2c], 0
jne 0x46839a
lea ecx, [esp + 0xa4]
mov eax, 0x4c8fe4
mov edx, dword [esp + 0x24]
call fcn.0046b960
push 0x400
push 0x160
lea eax, [esp + 0xcdc]
push eax
push 0
lea edx, [esp + 0xb4]
push edx
call sub.SHELL32.DLL_SHGetFileInfoA
test eax, eax
je 0x46839a
cmp byte [esp + 0xde4], 0
jne 0x468367
lea ecx, [esp + 0xde4]
lea edx, [esp + 0xa4]
mov eax, ebx
call fcn.00467f0c
mov ecx, dword [0x4c4ce0]
lea eax, [esp + 0xde4]
add ecx, 2
lea edx, [esp + 0xe34]
mov dword [esp + 0xe3c], ecx
mov dword [esp + 0xe48], eax
push edx
push ebp
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
inc esi
jmp 0x46827f
mov edx, 0x4a7f45
mov eax, 0x4a7d2b
mov ecx, 1
call fcn.0046c29c
test eax, eax
je 0x4683bb
or edi, 0x40
mov edx, 0x4a7d47
mov eax, 0x4a7d2b
xor ecx, ecx
call fcn.0046c29c
test eax, eax
je 0x4683d6
or edi, 0x80
push 0x463223
push edi
push 0x1030
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp dword [ebx + 4], 0
je 0x4684f2
test edi, 0x20
setne al
and eax, 1
and edi, 0x1f
or ebp, 0xffffffff
mov byte [esp], al
xor eax, eax
mov edx, eax
shl edx, 3
sub edx, eax
cmp edi, dword [edx*4 + 0x4a7bb8]
jne 0x468422
mov ebp, dword [edx*4 + 0x4a7bb4]
jmp 0x468428
inc eax
cmp eax, 7
jl 0x468409
push 0
push ebp
push 0x108c
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [esp + 0xe5c], 0x24
xor esi, esi
lea eax, [esp + 0xe5c]
push eax
mov edi, esi
push edi
push 0x1203
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
test eax, eax
je 0x468493
test byte [esp + 0xe71], 8
je 0x46848d
and dword [esp + 0xe70], 0xffffe7ff
lea eax, [esp + 0xe5c]
push eax
push edi
push 0x1204
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
jmp 0x468493
inc esi
cmp esi, 0x10
jl 0x468444
push dword [ebx + 0xc]
push 0
push 0x1208
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
lea edx, [esp + 0xe5c]
push edx
push ebp
push 0x1203
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
or dword [esp + 0xe70], 0x1800
cmp byte [esp], 0
je 0x4684d3
mov ecx, 1
jmp 0x4684d5
xor ecx, ecx
mov dword [esp + 0xe78], ecx
lea eax, [esp + 0xe5c]
push eax
push ebp
push 0x1204
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
add esp, 0xe88
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4691b8
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffff800
mov ebx, eax
mov eax, ebx
call fcn.004696a4
cmp dword [0x4c4ce0], 0
je 0x469283
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, esp
call fcn.0040bf3c
mov esi, eax
cmp esi, 0xffffffff
je 0x469232
call fcn.0046ec0c
mov ecx, esi
mov edx, 1
shl edx, cl
and eax, edx
jne 0x469232
lea edx, [esp + 0x400]
mov eax, 0x4c309c
xor ecx, ecx
call fcn.00462684
lea eax, [esp + 0x400]
call fcn.0040c004
lea edx, [esp + 0x400]
push edx
call fcn.004967f8
pop ecx
xor eax, eax
jmp 0x469285
mov eax, dword [0x4c2344]
test eax, eax
je 0x469241
push eax
call sub.USER32.DLL_DestroyWindow
mov eax, ebx
call fcn.00469124
xor edx, edx
mov eax, ebx
mov dword [0x4c4ce0], edx
call fcn.00468b38
mov eax, ebx
call fcn.00469310
mov byte [0x4c28f0], 0
mov eax, 0x4c28c4
call fcn.004495b8
mov eax, 0x4c287c
call fcn.0046983c
mov eax, 0x4c287c
call fcn.004699c4
mov al, 1
add esp, 0x800
pop esi
pop ebx
ret

Function at 0x469e6c
Capabilities:
Get disk information
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffaa0
mov esi, eax
mov dword [esi], edx
push 0x4001
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x4a8244
call sub.SHELL32.DLL_SHGetFileInfoA
mov ebx, eax
test ebx, ebx
jne 0x469ecb
lea eax, [esp + 0x160]
push eax
push 0x400
call sub.KERNEL32.DLL_GetLogicalDriveStringsA
push 0x4001
push 0x160
lea edx, [esp + 8]
push edx
push 0
lea ecx, [esp + 0x170]
push ecx
call sub.SHELL32.DLL_SHGetFileInfoA
mov ebx, eax
push ebx
push 0
push 0x1109
push dword [esi]
call sub.USER32.DLL_SendMessageA
add esp, 0x560
pop esi
pop ebx
ret
Function at 0x46b0bc
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
push ecx
push 0x160
lea eax, [esp + 8]
push eax
push 0
push edx
call sub.SHELL32.DLL_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
ret
Function at 0x46b778
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x28], eax
mov eax, 0x4a8370
call fcn.00495294
mov word [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov edx, 1
add eax, 0xf8
call fcn.0046b8b0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
imul edx, dword [eax + 0x104], 0x38
mov esi, dword [ecx + 0xf8]
add esi, edx
cmp word [ebx + 0x400], 0
je 0x46b7cf
lea ecx, [ebx + 0x400]
jmp 0x46b7d1
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x28]
call fcn.0040f784
mov word [ebp - 0x14], 0
jmp 0x46b821
mov edx, dword [ebx + 0xc2c]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0xc00]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebx + 0xc04]
mov dword [esi + 0x10], ecx
mov eax, dword [ebx + 0xc08]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0xc0c]
mov dword [esi + 0x18], eax
mov edx, dword [ebx + 0xc10]
mov dword [esi + 0x1c], edx
mov ecx, dword [ebx + 0xc14]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebx + 0xc18]
mov dword [esi + 0x24], ecx
mov eax, dword [ebx + 0xc1c]
mov dword [esi + 0x28], eax
mov edx, dword [ebx + 0xc20]
mov dword [esi + 0x2c], edx
mov ecx, dword [ebx + 0xc24]
mov dword [esi + 0x30], ecx
mov eax, dword [ebx + 0xc28]
mov dword [esi + 0x34], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x104]
inc dword [edx + 0x104]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46bb28
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff664
mov esi, edx
mov edi, eax
mov ebp, 0x4a8388
push esp
push 0x20019
push 0
push edi
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x46bb59
xor eax, eax
jmp 0x46bcc2
mov edx, esi
mov eax, 0x80000001
call fcn.0046bccd
lea edx, [esp + 8]
push edx
lea ecx, [esp + 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push esi
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
je 0x46bb9a
mov eax, dword [esp]
call fcn.0046be54
xor eax, eax
jmp 0x46bcc2
xor ebx, ebx
mov dword [esp + 0x10], 0xc8
mov dword [esp + 0x14], 0x3e8
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0xf0]
push edx
lea ecx, [esp + 0x14]
push ecx
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push ebx
push dword [esp + 0x1c]
call sub.ADVAPI32.DLL_RegEnumValueA
test eax, eax
jne 0x46bbfb
push dword [esp + 0x14]
lea ecx, [esp + 0xf0]
push ecx
push dword [esp + 0x14]
push 0
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x18]
call sub.ADVAPI32.DLL_RegSetValueExA
inc ebx
jmp 0x46bb9c
xor ebx, ebx
mov dword [esp + 0x18], 0xc8
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x4e8]
push ecx
push ebx
push dword [esp + 0x1c]
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x46bcaf
lea eax, [esp + 0x4d4]
lea edx, [ebp + 0x17]
push eax
push edi
push edx
lea ecx, [esp + 0x5a8]
push ecx
call fcn.00497dc4
add esp, 0x10
lea edx, [ebp + 0x17]
lea eax, [esp + 0x4d4]
push eax
push esi
push edx
lea ecx, [esp + 0x7a8]
push ecx
call fcn.00497dc4
add esp, 0x10
lea eax, [esp + 8]
push eax
lea edx, [esp + 8]
push edx
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [esp + 0x7b8]
push ecx
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x46bcaf
lea edx, [esp + 0x79c]
lea eax, [esp + 0x59c]
call fcn.0046bb28
inc ebx
jmp 0x46bbfd
mov eax, dword [esp]
call fcn.0046be54
mov eax, dword [esp + 4]
call fcn.0046be54
mov al, 1
add esp, 0x99c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46bd03
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov esi, edx
push edi
add esp, 0xfffffd28
mov edi, eax
cmp byte [esi], 0
je 0x46bd9e
push esp
push 0x20019
push 0
push esi
push edi
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x46bd9e
xor ebx, ebx
mov dword [esp + 4], 0xc8
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push ecx
push ebx
push dword [esp + 0x1c]
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x46bd85
lea eax, [esp + 0x10]
push eax
push esi
push 0x4a839f
lea edx, [esp + 0xe4]
push edx
call fcn.00497dc4
add esp, 0x10
mov eax, edi
lea edx, [esp + 0xd8]
call fcn.0046bd03
inc ebx
jmp 0x46bd2e
mov eax, dword [esp]
call fcn.0046be54
push esi
push edi
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
jne 0x46bd9e
inc dword [0x4ca908]
add esp, 0x2d8
pop edi
pop esi
pop ebx
ret