joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464094
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 0x464287
mov edi, dword [ebx + eax*4 + 0x49c]
xor eax, eax
mov dword [esp], eax
test edi, edi
je 0x464287
push esp
push 0x20
push dword [ebx]
push edi
mov edx, dword [edi]
call dword [edx + 0x10]
test eax, eax
jne 0x464287
cmp dword [esp], 0
je 0x464287
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 4], ecx
jmp 0x464260
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 0x46412c
lea eax, [esp + 0x10]
push eax
push 0
xor ecx, ecx
mov edx, dword [esp + 0xc]
mov eax, edi
call fcn.0046ad54
test eax, eax
jne 0x464141
push dword [esp + 4]
mov edx, dword [0x4c9a0c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
jmp 0x464260
mov eax, dword [ebx + 0x520]
mov edx, dword [esp + 4]
mov eax, dword [ebx + eax*4 + 0x41c]
call fcn.0046acc4
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 [0x4c9a0c]
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.00494848
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.004949c8
add esp, 8
mov eax, 0x4c80e4
mov dword [esp + 0x11a8], 0x10
lea edx, [esp + 0x598]
call fcn.0046b4d4
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 0x4640f3
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 0x46539c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff004
mov esi, 0x4a6ddc
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.0046be3c
cmp byte [esp + 4], 0
je 0x4653e7
lea ecx, [esp + 4]
push ecx
push edi
call fcn.004949c8
add esp, 8
push ebx
lea eax, [esi + 0x97]
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.00497928
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.0046be3c
test al, al
jne 0x4654e6
push ebx
lea edx, [esi + 0xa6]
push edx
lea ecx, [esp + 0x10c]
push ecx
call fcn.00497928
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.0046be3c
test al, al
jne 0x465474
xor eax, eax
jmp 0x465567
xor edx, edx
mov dl, byte [esp + 0xa30]
cmp edx, 0x22
jne 0x46548b
lea ecx, [esp + 0xa31]
jmp 0x465492
lea ecx, [esp + 0xa30]
push ecx
lea eax, [esp + 0x234]
push eax
call fcn.004949c8
add esp, 8
push 0x22
lea edx, [esp + 0x234]
push edx
call fcn.00494a95
add esp, 8
test eax, eax
je 0x4654bc
mov byte [eax], 0
lea eax, [esi + 0xbc]
push eax
lea edx, [esp + 0x234]
push edx
call fcn.00494ab9
add esp, 8
test eax, eax
je 0x4654da
mov byte [eax], 0
lea eax, [esp + 0x230]
call fcn.0040ee14
lea edx, [esi + 0xbc]
push edx
lea ecx, [esp + 0x234]
push ecx
call fcn.0049497c
add esp, 8
test eax, eax
jne 0x465505
xor eax, eax
jmp 0x465567
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.00494aad
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x465548
lea esi, [ebx + 1]
push esi
call fcn.00499258
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 0x466cc8
Capabilities:
Copy file

Disassembly:
push ebx
add esp, 0xfffff004
push eax
add esp, 0xfffffc00
mov ebx, eax
mov edx, esp
mov eax, 0x4c219c
xor ecx, ecx
call fcn.004623f0
mov eax, esp
call fcn.0040ba30
mov edx, str.rarkey
mov ecx, 6
call fcn.0040edf0
test eax, eax
jne 0x466de3
mov edx, 0x4a6fc3
mov eax, ebx
call fcn.00464294
test eax, eax
jne 0x466d28
mov edx, str.rarreg.txt
mov eax, ebx
call fcn.00464294
test eax, eax
je 0x466de3
lea edx, [esp + 0x800]
lea eax, [esp + 0x400]
call fcn.0044cf00
test al, al
je 0x466de3
push 0x400
lea ecx, [esp + 0x1004]
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x4a6fc3
lea eax, [esp + 0x1004]
call fcn.0040ba30
push eax
call fcn.004949c8
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.0049758c
pop ecx
push dword [0x4c1440]
call sub.USER32.DLL_SetForegroundWindow
mov al, 1
call fcn.0040e54c
mov byte [0x4ae730], al
mov eax, 0x4c1454
call fcn.00464f18
cmp byte [0x4ae730], 0
je 0x466de3
push 0x30
mov eax, 0x368
call fcn.00411fe8
push eax
mov eax, 0x367
call fcn.00411fe8
push eax
push dword [0x4c1440]
call sub.USER32.DLL_MessageBoxA
add esp, 0x1400
pop ebx
ret

Function at 0x466dec
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.0040a978
lea edx, [esp + 0x1000]
mov eax, ebp
call fcn.0040a9c0
push ebx
lea ecx, [esp + 4]
push ecx
call fcn.004949c8
add esp, 8
mov edx, 0x400
lea eax, [esp + 0x800]
call fcn.0046e8e0
lea ecx, [esp + 0x400]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [esp + 0x800]
push eax
call fcn.004949f8
pop ecx
mov ecx, eax
lea eax, [esp + 0x800]
mov edx, ebx
call fcn.0040edf0
test eax, eax
je 0x466ea8
push 0x5c
lea ecx, [esp + 4]
push ecx
call fcn.00494aad
add esp, 8
mov esi, eax
test eax, eax
je 0x466ea8
mov edx, esp
cmp esi, edx
jbe 0x466ea8
mov al, byte [esi - 1]
xor edx, edx
mov dl, al
cmp edx, 0x3a
je 0x466ea8
cmp edx, 0x5c
je 0x466ea8
mov byte [esi], 0
push esp
call fcn.0049635c
pop ecx
push 1
mov ecx, ebp
mov edx, ebx
mov eax, edi
call fcn.004667fc
cmp eax, 0xffffffff
jne 0x466ed1
push 1
lea ecx, [esp + 0x1004]
lea edx, [esp + 0xc04]
mov eax, edi
call fcn.004667fc
cmp eax, 1
je 0x466f4f
cmp eax, 2
je 0x466f3d
inc eax
jne 0x466efc
push ebx
mov eax, 0x1f5
call fcn.00411fe8
push eax
lea edx, [esp + 0x1808]
push edx
call fcn.00497928
add esp, 0xc
jmp 0x466f1d
mov eax, 0x1fc
call fcn.00411fe8
push eax
push ebx
push str._s_n_s
lea edx, [esp + 0x180c]
push edx
call fcn.00497928
add esp, 0x10
push 0x10
mov eax, 0x66
call fcn.00411fe8
push eax
lea edx, [esp + 0x1808]
push edx
push dword [0x4c1440]
call sub.USER32.DLL_MessageBoxA
lea ecx, [esp + 0x400]
push ecx
call fcn.0049635c
pop ecx
xor eax, eax
jmp 0x466f51
mov al, 1
add esp, 0x1e00
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x466f5c
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 0x4a6e00
push edi
call fcn.0049497c
add esp, 8
test eax, eax
sete bl
and ebx, 1
cmp byte [esi + 0x41d], 0
je 0x466fdd
xor eax, eax
test bl, bl
mov dword [esp], eax
je 0x466fa2
mov dword [esp], 1
push 0x4a6fba
push edi
call fcn.0049497c
add esp, 8
test eax, eax
jne 0x466fbd
mov edx, dword [esi + 0x520]
mov dword [esp], edx
cmp dword [esp], 0
je 0x466fdd
xor ecx, ecx
mov edx, dword [esp]
mov eax, esi
call fcn.004683f8
xor edx, edx
mov eax, esi
call fcn.0046364c
jmp 0x4671c8
mov eax, esi
call fcn.004693bc
cmp dword [0x4c3de0], 0
je 0x4670cf
mov edx, str.FlatView
mov eax, 0x4a6e03
xor ecx, ecx
call fcn.0046bff8
test eax, eax
je 0x46700e
test bl, bl
je 0x4671c8
lea edx, [esp + 8]
mov eax, 0x4c219c
xor ecx, ecx
call fcn.004623c4
push 0x4a6fba
push edi
call fcn.0049497c
add esp, 8
test eax, eax
je 0x467061
mov eax, 0x4c219c
mov ecx, ebp
mov edx, edi
call fcn.0046222c
test eax, eax
je 0x467061
test bl, bl
je 0x467053
lea eax, [esp + 8]
call fcn.0040ba30
mov edx, eax
jmp 0x467055
xor edx, edx
mov eax, esi
call fcn.0046442c
jmp 0x4671c8
lea edx, [esp + 0x408]
mov eax, 0x4c219c
xor ecx, ecx
call fcn.004623f0
lea eax, [esp + 0x408]
push eax
lea edx, [esp + 0x80c]
push edx
call fcn.004949c8
add esp, 8
lea eax, [esp + 0x808]
call fcn.0040bfd4
lea eax, [esp + 0x808]
xor edx, edx
call fcn.0046e99c
mov eax, esi
call fcn.00468ef0
test al, al
je 0x4671c8
lea eax, [esp + 0x408]
call fcn.0040ba30
mov edx, eax
mov eax, esi
call fcn.0046364c
jmp 0x4671c8
lea edx, [esp + 0xc08]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test bl, bl
je 0x467192
lea ecx, [esp + 0xc08]
push ecx
lea eax, [esp + 0x100c]
push eax
call fcn.004949c8
add esp, 8
lea edx, [esp + 0x1408]
lea eax, [esp + 0xc08]
call fcn.0040c504
lea eax, [esp + 0x1008]
call fcn.0040bf34
lea eax, [esp + 0x1408]
call fcn.0040bf34
lea edx, [esp + 0x1408]
lea eax, [esp + 0x1008]
call fcn.0040edcc
test eax, eax
jne 0x467192
cmp dword [esi + 0x520], 0
jle 0x467155
mov byte [esi + 0x41d], 1
jmp 0x467187
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, 0x4c1454
mov edx, dword [esp + 4]
call fcn.0046931c
push dword [esp + 4]
mov ecx, dword [0x4c9a0c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
xor edx, edx
mov eax, esi
call fcn.0046364c
jmp 0x4671c8
mov edx, ebp
mov eax, edi
call fcn.0046e99c
test al, al
jne 0x4671ab
mov eax, 0x4a6fba
xor edx, edx
call fcn.0046e99c
test bl, bl
je 0x4671bf
lea eax, [esp + 0xc08]
call fcn.0040ba30
mov edx, eax
jmp 0x4671c1
xor edx, edx
mov eax, esi
call fcn.0046364c
add esp, 0x1808
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x467ad8
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 0x467b43
test ebx, ebx
jne 0x467b43
test esi, esi
jne 0x467b43
test eax, eax
je 0x467b47
xor edx, edx
jmp 0x467b4c
mov edx, 1
mov eax, edx
add esp, 0x14
pop esi
pop ebx
ret

Function at 0x467b54
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.0046e8e0
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.00494848
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.00411fe8
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 0x467f88
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff178
mov ebx, eax
cmp dword [0x4c3de0], 0
je 0x467fa4
mov edx, str.ArcSort
jmp 0x467fa9
mov edx, str.FileSort
mov eax, 0x4a6e03
xor ecx, ecx
call fcn.0046bff8
mov edi, eax
mov eax, edi
and eax, 0x1f
cmp eax, 2
jne 0x4680e8
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 0x4680e8
mov eax, 0x4c80e4
mov edx, dword [esp + 0x24]
call fcn.0046b878
mov ebp, esi
mov dword [eax + 8], ebp
mov eax, dword [0x4c3de0]
test eax, eax
jne 0x4680e2
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 0x4680e2
lea ecx, [esp + 0xa4]
mov eax, 0x4c80e4
mov edx, dword [esp + 0x24]
call fcn.0046b6bc
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 0x4680e2
cmp byte [esp + 0xde4], 0
jne 0x4680af
lea ecx, [esp + 0xde4]
lea edx, [esp + 0xa4]
mov eax, ebx
call fcn.00467c58
mov ecx, dword [0x4c3de0]
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 0x467fc7
mov edx, 0x4a701d
mov eax, 0x4a6e03
mov ecx, 1
call fcn.0046bff8
test eax, eax
je 0x468103
or edi, 0x40
mov edx, str.FlatView
mov eax, 0x4a6e03
xor ecx, ecx
call fcn.0046bff8
test eax, eax
je 0x46811e
or edi, 0x80
push 0x462f8f
push edi
push 0x1030
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp dword [ebx + 4], 0
je 0x468237
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 + 0x4a6c90]
jne 0x46816a
mov ebp, dword [edx*4 + 0x4a6c8c]
jmp 0x468170
inc eax
cmp eax, 7
jl 0x468151
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 0x4681db
test byte [esp + 0xe71], 8
je 0x4681d5
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 0x4681db
inc esi
cmp esi, 0x10
jl 0x46818c
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
mov ecx, 1
cmp byte [esp], 0
jne 0x46821a
dec 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 0x468ef0
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffff800
mov ebx, eax
mov eax, ebx
call fcn.004693bc
cmp dword [0x4c3de0], 0
je 0x468fbb
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, esp
call fcn.0040bf0c
mov esi, eax
cmp esi, 0xffffffff
je 0x468f6a
call fcn.0046e978
mov ecx, esi
mov edx, 1
shl edx, cl
and eax, edx
jne 0x468f6a
lea edx, [esp + 0x400]
mov eax, 0x4c219c
xor ecx, ecx
call fcn.004623f0
lea eax, [esp + 0x400]
call fcn.0040bfd4
lea edx, [esp + 0x400]
push edx
call fcn.0049635c
pop ecx
xor eax, eax
jmp 0x468fbd
mov eax, dword [0x4c1444]
test eax, eax
je 0x468f79
push eax
call sub.USER32.DLL_DestroyWindow
mov eax, ebx
call fcn.00468e5c
xor edx, edx
mov eax, ebx
mov dword [0x4c3de0], edx
call fcn.00468874
mov eax, ebx
call fcn.00469048
mov byte [0x4c19f0], 0
mov eax, 0x4c19c4
call fcn.004493b8
mov eax, 0x4c197c
call fcn.00469554
mov eax, 0x4c197c
call fcn.004696d8
mov al, 1
add esp, 0x800
pop esi
pop ebx
ret

Function at 0x469b9c
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 0x4a7320
call sub.SHELL32.DLL_SHGetFileInfoA
mov ebx, eax
test ebx, ebx
jne 0x469bfb
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 0x46ae1c
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 0x46b4d4
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, 0x4a7470
call fcn.00494df8
mov word [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov edx, 1
add eax, 0xf8
call fcn.0046b60c
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 0x46b52b
lea ecx, [ebx + 0x400]
jmp 0x46b52d
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x28]
call fcn.0040f74c
mov word [ebp - 0x14], 0
jmp 0x46b57d
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 0x46b884
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, 0x4a7488
push esp
push 0x20019
push 0
push edi
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x46b8b5
xor eax, eax
jmp 0x46ba1e
mov edx, esi
mov eax, 0x80000001
call fcn.0046ba29
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 0x46b8f6
mov eax, dword [esp]
call fcn.0046bbb0
xor eax, eax
jmp 0x46ba1e
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 0x46b957
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 0x46b8f8
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 0x46ba0b
lea eax, [esp + 0x4d4]
lea edx, [ebp + 0x17]
push eax
push edi
push edx
lea ecx, [esp + 0x5a8]
push ecx
call fcn.00497928
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.00497928
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 0x46ba0b
lea edx, [esp + 0x79c]
lea eax, [esp + 0x59c]
call fcn.0046b884
inc ebx
jmp 0x46b959
mov eax, dword [esp]
call fcn.0046bbb0
mov eax, dword [esp + 4]
call fcn.0046bbb0
mov al, 1
add esp, 0x99c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46ba5f
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 0x46bafa
push esp
push 0x20019
push 0
push esi
push edi
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x46bafa
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 0x46bae1
lea eax, [esp + 0x10]
push eax
push esi
push str._s_s
lea edx, [esp + 0xe4]
push edx
call fcn.00497928
add esp, 0x10
mov eax, edi
lea edx, [esp + 0xd8]
call fcn.0046ba5f
inc ebx
jmp 0x46ba8a
mov eax, dword [esp]
call fcn.0046bbb0
push esi
push edi
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
jne 0x46bafa
inc dword [0x4c9a08]
add esp, 0x2d8
pop edi
pop esi
pop ebx
ret