joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45926c
Capabilities:
Check if file exists
Get common file path
Get disk information
Get file attributes

Disassembly:
push ebx
mov ebx, ecx
add esp, 0xfffffc00
mov edx, 0x49ebd8
mov byte [ebx], 0
mov eax, 0x49ebd2
push 0x49eb31
push 0x400
lea ecx, [esp + 8]
call fcn.0046582c
cmp byte [esp], 0
je 0x4592f7
push esp
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x4592b1
push esp
push 0x400
call sub.KERNEL32.DLL_GetTempPathA
mov edx, 0x49ebe3
mov eax, 0x49ebd2
mov ecx, 1
call fcn.004659f0
test eax, eax
je 0x4592e6
push 0
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
je 0x4592da
cmp eax, 5
jne 0x4592f0
push esp
push ebx
call fcn.0048d424
add esp, 8
jmp 0x4592f0
push esp
push ebx
call fcn.0048d424
add esp, 8
mov eax, ebx
call fcn.0040ba78
add esp, 0x400
pop ebx
ret
Function at 0x45ecac
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 0x45ee9d
mov edi, dword [ebx + eax*4 + 0x49c]
xor eax, eax
mov dword [esp], eax
test edi, edi
je 0x45ee9d
push esp
push 0x20
push dword [ebx]
push edi
mov edx, dword [edi]
call dword [edx + 0x10]
test eax, eax
jne 0x45ee9d
cmp dword [esp], 0
je 0x45ee9d
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 4], ecx
jmp 0x45ee76
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 0x45ed42
lea eax, [esp + 0x10]
xor ecx, ecx
push eax
mov eax, edi
mov edx, dword [esp + 8]
call fcn.00464cb8
test eax, eax
jne 0x45ed57
push dword [esp + 4]
mov edx, dword [0x4c316c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
jmp 0x45ee76
mov eax, dword [ebx + 0x520]
mov edx, dword [esp + 4]
mov eax, dword [ebx + eax*4 + 0x41c]
call fcn.00464c28
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 [0x4c316c]
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.0048d2a4
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.0048d424
add esp, 8
mov eax, 0x4c2444
mov dword [esp + 0x11a8], 0x10
lea edx, [esp + 0x598]
call fcn.00464f04
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 0x45ed0b
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 0x45ff84
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff004
mov esi, 0x49f7b0
mov ebx, edx
push eax
add esp, 0xfffffa34
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.00465848
cmp byte [esp + 4], 0
je 0x45ffcf
lea ecx, [esp + 4]
push ecx
push edi
call fcn.0048d424
add esp, 8
push ebx
lea eax, [esi + 0x97]
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.004902f4
add esp, 0xc
lea ecx, [esp + 0x1cc]
push ecx
lea eax, [esi + 4]
push eax
push 0x800
lea ecx, [esi + 4]
lea edx, [esp + 0x110]
mov eax, 0x80000000
call fcn.00465848
test al, al
jne 0x4600ce
push ebx
lea edx, [esi + 0xa6]
push edx
lea ecx, [esp + 0x10c]
push ecx
call fcn.004902f4
add esp, 0xc
lea eax, [esp + 0x9cc]
push eax
lea edx, [esi + 4]
push edx
push 0x400
lea ecx, [esi + 4]
lea edx, [esp + 0x110]
mov eax, 0x80000000
call fcn.00465848
test al, al
jne 0x46005c
xor eax, eax
jmp 0x46014f
xor edx, edx
mov dl, byte [esp + 0x9cc]
cmp edx, 0x22
jne 0x460073
lea ecx, [esp + 0x9cd]
jmp 0x46007a
lea ecx, [esp + 0x9cc]
push ecx
lea eax, [esp + 0x1d0]
push eax
call fcn.0048d424
add esp, 8
push 0x22
lea edx, [esp + 0x1d0]
push edx
call fcn.0048d561
add esp, 8
test eax, eax
je 0x4600a4
mov byte [eax], 0
lea eax, [esi + 0xbc]
push eax
lea edx, [esp + 0x1d0]
push edx
call fcn.0048d585
add esp, 8
test eax, eax
je 0x4600c2
mov byte [eax], 0
lea eax, [esp + 0x1cc]
call fcn.0040e73c
lea edx, [esi + 0xbc]
push edx
lea ecx, [esp + 0x1d0]
push ecx
call fcn.0048d3d8
add esp, 8
test eax, eax
jne 0x4600ed
xor eax, eax
jmp 0x46014f
xor esi, esi
push 0x800
lea eax, [esp + 0xdd0]
push eax
lea edx, [esp + 0x1d4]
push edx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
push 0x2c
lea ecx, [esp + 0xdd0]
push ecx
call fcn.0048d579
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x460130
lea esi, [ebx + 1]
push esi
call fcn.00491c24
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 + 0xddc]
push ecx
call sub.SHELL32.DLL_ExtractIconExA
mov eax, dword [esp]
add esp, 0x15cc
pop edi
pop esi
pop ebx
ret
Function at 0x461894
Capabilities:
Copy file

Disassembly:
push ebx
add esp, 0xfffff004
push eax
add esp, 0xfffffc00
mov ebx, eax
cmp byte [0x4a6f8c], 0
jne 0x4619bc
mov edx, esp
mov eax, 0x4ba55c
xor ecx, ecx
call fcn.0045d1a4
mov eax, esp
call fcn.0040b590
mov edx, 0x49f990
mov ecx, 6
call fcn.0040e718
test eax, eax
jne 0x4619bc
mov edx, 0x49f997
mov eax, ebx
call fcn.0045eea8
test eax, eax
jne 0x461901
mov edx, 0x49f9a2
mov eax, ebx
call fcn.0045eea8
test eax, eax
je 0x4619bc
lea edx, [esp + 0x800]
lea eax, [esp + 0x400]
call fcn.00448fbc
test al, al
je 0x4619bc
push 0x400
lea ecx, [esp + 0x1004]
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x49f997
lea eax, [esp + 0x1004]
call fcn.0040b590
push eax
call fcn.0048d424
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.00490058
pop ecx
push dword [0x4b9818]
call sub.USER32.DLL_SetForegroundWindow
mov al, 1
call fcn.0040df04
mov byte [0x4a6f8c], al
mov eax, 0x4b982c
call fcn.0045fb00
cmp byte [0x4a6f8c], 0
je 0x4619bc
push 0x30
mov eax, 0x368
call fcn.004117b8
push eax
mov eax, 0x367
call fcn.004117b8
push eax
push dword [0x4b9818]
call sub.USER32.DLL_MessageBoxA
add esp, 0x1400
pop ebx
ret

Function at 0x4619c4
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.0040a580
lea edx, [esp + 0x1000]
mov eax, ebp
call fcn.0040a5c8
push ebx
lea ecx, [esp + 4]
push ecx
call fcn.0048d424
add esp, 8
mov edx, 0x400
lea eax, [esp + 0x800]
call fcn.00467f64
lea ecx, [esp + 0x400]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [esp + 0x800]
push eax
call fcn.0048d454
pop ecx
mov ecx, eax
lea eax, [esp + 0x800]
mov edx, ebx
call fcn.0040e718
test eax, eax
je 0x461a80
push 0x5c
lea ecx, [esp + 4]
push ecx
call fcn.0048d579
add esp, 8
mov esi, eax
test eax, eax
je 0x461a80
mov edx, esp
cmp esi, edx
jbe 0x461a80
mov al, byte [esi - 1]
xor edx, edx
mov dl, al
cmp edx, 0x3a
je 0x461a80
cmp edx, 0x5c
je 0x461a80
mov byte [esi], 0
push esp
call fcn.0048ee28
pop ecx
push 1
mov ecx, ebp
mov edx, ebx
mov eax, edi
call fcn.004613dc
cmp eax, 0xffffffff
jne 0x461aa9
push 1
lea ecx, [esp + 0x1004]
lea edx, [esp + 0xc04]
mov eax, edi
call fcn.004613dc
cmp eax, 1
je 0x461b27
cmp eax, 2
je 0x461b15
inc eax
jne 0x461ad4
push ebx
mov eax, 0x1f5
call fcn.004117b8
push eax
lea edx, [esp + 0x1808]
push edx
call fcn.004902f4
add esp, 0xc
jmp 0x461af5
mov eax, 0x1fc
call fcn.004117b8
push eax
push ebx
push 0x49f9ad
lea edx, [esp + 0x180c]
push edx
call fcn.004902f4
add esp, 0x10
push 0x10
mov eax, 0x66
call fcn.004117b8
push eax
lea edx, [esp + 0x1808]
push edx
push dword [0x4b9818]
call sub.USER32.DLL_MessageBoxA
lea ecx, [esp + 0x400]
push ecx
call fcn.0048ee28
pop ecx
xor eax, eax
jmp 0x461b29
mov al, 1
add esp, 0x1e00
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x461b34
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 0x49f7d4
push edi
call fcn.0048d3d8
add esp, 8
test eax, eax
sete bl
and ebx, 1
cmp byte [esi + 0x41d], 0
je 0x461bb5
xor eax, eax
test bl, bl
mov dword [esp], eax
je 0x461b7a
mov dword [esp], 1
push 0x49f98e
push edi
call fcn.0048d3d8
add esp, 8
test eax, eax
jne 0x461b95
mov edx, dword [esi + 0x520]
mov dword [esp], edx
cmp dword [esp], 0
je 0x461bb5
xor ecx, ecx
mov edx, dword [esp]
mov eax, esi
call fcn.00462fe4
xor edx, edx
mov eax, esi
call fcn.0045e284
jmp 0x461da0
mov eax, esi
call fcn.00463ef4
cmp dword [0x4bc1a0], 0
je 0x461ca7
mov edx, 0x49f7f3
mov eax, 0x49f7d7
xor ecx, ecx
call fcn.004659f0
test eax, eax
je 0x461be6
test bl, bl
je 0x461da0
lea edx, [esp + 8]
mov eax, 0x4ba55c
xor ecx, ecx
call fcn.0045d178
push 0x49f98e
push edi
call fcn.0048d3d8
add esp, 8
test eax, eax
je 0x461c39
mov eax, 0x4ba55c
mov ecx, ebp
mov edx, edi
call fcn.0045d08c
test eax, eax
je 0x461c39
test bl, bl
je 0x461c2b
lea eax, [esp + 8]
call fcn.0040b590
mov edx, eax
jmp 0x461c2d
xor edx, edx
mov eax, esi
call fcn.0045f02c
jmp 0x461da0
lea edx, [esp + 0x408]
mov eax, 0x4ba55c
xor ecx, ecx
call fcn.0045d1a4
lea eax, [esp + 0x408]
push eax
lea edx, [esp + 0x80c]
push edx
call fcn.0048d424
add esp, 8
lea eax, [esp + 0x808]
call fcn.0040bb18
lea eax, [esp + 0x808]
xor edx, edx
call fcn.00467fe0
mov eax, esi
call fcn.00463a38
test al, al
je 0x461da0
lea eax, [esp + 0x408]
call fcn.0040b590
mov edx, eax
mov eax, esi
call fcn.0045e284
jmp 0x461da0
lea edx, [esp + 0xc08]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test bl, bl
je 0x461d6a
lea ecx, [esp + 0xc08]
push ecx
lea eax, [esp + 0x100c]
push eax
call fcn.0048d424
add esp, 8
lea edx, [esp + 0x1408]
lea eax, [esp + 0xc08]
call fcn.0040bfdc
lea eax, [esp + 0x1008]
call fcn.0040ba78
lea eax, [esp + 0x1408]
call fcn.0040ba78
lea edx, [esp + 0x1408]
lea eax, [esp + 0x1008]
call fcn.0040e6f4
test eax, eax
jne 0x461d6a
cmp dword [esi + 0x520], 0
jle 0x461d2d
mov byte [esi + 0x41d], 1
jmp 0x461d5f
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, 0x4b982c
mov edx, dword [esp + 4]
call fcn.00463e54
push dword [esp + 4]
mov ecx, dword [0x4c316c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
xor edx, edx
mov eax, esi
call fcn.0045e284
jmp 0x461da0
mov edx, ebp
mov eax, edi
call fcn.00467fe0
test al, al
jne 0x461d83
mov eax, 0x49f98e
xor edx, edx
call fcn.00467fe0
test bl, bl
je 0x461d97
lea eax, [esp + 0xc08]
call fcn.0040b590
mov edx, eax
jmp 0x461d99
xor edx, edx
mov eax, esi
call fcn.0045e284
add esp, 0x1808
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4626bc
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 0x462727
test ebx, ebx
jne 0x462727
test esi, esi
jne 0x462727
test eax, eax
je 0x46272b
xor edx, edx
jmp 0x462730
mov edx, 1
mov eax, edx
add esp, 0x14
pop esi
pop ebx
ret

Function at 0x462738
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.00467f64
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.0048d2a4
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.004117b8
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 0x462b70
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff178
mov ebx, eax
cmp dword [0x4bc1a0], 0
je 0x462b8c
mov edx, 0x49f9be
jmp 0x462b91
mov edx, 0x49f9c6
mov eax, 0x49f7d7
xor ecx, ecx
call fcn.004659f0
mov edi, eax
mov eax, edi
and eax, 0x1f
cmp eax, 2
jne 0x462cd0
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 0x462cd0
mov eax, 0x4c2444
mov edx, dword [esp + 0x24]
call fcn.00465288
mov ebp, esi
mov dword [eax + 8], ebp
mov eax, dword [0x4bc1a0]
test eax, eax
jne 0x462cca
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 0x462cca
lea ecx, [esp + 0xa4]
mov eax, 0x4c2444
mov edx, dword [esp + 0x24]
call fcn.004650ec
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 0x462cca
cmp byte [esp + 0xde4], 0
jne 0x462c97
lea ecx, [esp + 0xde4]
lea edx, [esp + 0xa4]
mov eax, ebx
call fcn.0046283c
mov ecx, dword [0x4bc1a0]
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 0x462baf
mov edx, 0x49f9f1
mov eax, 0x49f7d7
mov ecx, 1
call fcn.004659f0
test eax, eax
je 0x462ceb
or edi, 0x40
mov edx, 0x49f7f3
mov eax, 0x49f7d7
xor ecx, ecx
call fcn.004659f0
test eax, eax
je 0x462d06
or edi, 0x80
push 0x45dbbf
push edi
push 0x1030
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp dword [ebx + 4], 0
je 0x462e22
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 + 0x49f664]
jne 0x462d52
mov ebp, dword [edx*4 + 0x49f660]
jmp 0x462d58
inc eax
cmp eax, 7
jl 0x462d39
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 0x462dc3
test byte [esp + 0xe71], 8
je 0x462dbd
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 0x462dc3
inc esi
cmp esi, 0x10
jl 0x462d74
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 0x462e03
mov ecx, 1
jmp 0x462e05
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 0x463a38
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffff800
mov ebx, eax
mov eax, ebx
call fcn.00463ef4
cmp dword [0x4bc1a0], 0
je 0x463aef
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, esp
call fcn.0040ba50
mov esi, eax
cmp esi, 0xffffffff
je 0x463ab2
call fcn.00467fbc
mov ecx, esi
mov edx, 1
shl edx, cl
and eax, edx
jne 0x463ab2
lea edx, [esp + 0x400]
mov eax, 0x4ba55c
xor ecx, ecx
call fcn.0045d1a4
lea eax, [esp + 0x400]
call fcn.0040bb18
lea edx, [esp + 0x400]
push edx
call fcn.0048ee28
pop ecx
xor eax, eax
jmp 0x463af1
mov eax, dword [0x4b981c]
test eax, eax
je 0x463ac1
push eax
call sub.USER32.DLL_DestroyWindow
mov eax, ebx
call fcn.004639a4
xor edx, edx
mov eax, ebx
mov dword [0x4bc1a0], edx
call fcn.00463400
mov eax, ebx
call fcn.00463b7c
mov byte [0x4b9db0], 0
mov eax, 0x4b9d84
call fcn.00445538
mov al, 1
add esp, 0x800
pop esi
pop ebx
ret
Function at 0x4645f1
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
push edx
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
ret

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

Disassembly:
push ebx
push esi
add esp, 0xfffffaa0
mov esi, eax
mov dword [0x4c2d58], esi
push 0x4001
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x49fc8c
call sub.SHELL32.DLL_SHGetFileInfoA
mov ebx, eax
test ebx, ebx
jne 0x464a4f
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 esi
call sub.USER32.DLL_SendMessageA
call fcn.0046435d
add esp, 0x560
pop esi
pop ebx
ret

Function at 0x464f04
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, 0x49fcf8
call fcn.0048d8c4
mov word [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov edx, 1
add eax, 0xf8
call fcn.0046503c
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 0x464f5b
lea ecx, [ebx + 0x400]
jmp 0x464f5d
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x28]
call fcn.0040f0ac
mov word [ebp - 0x14], 0
jmp 0x464fad
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 0x465294
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, ecx
mov ebp, edx
mov edi, eax
push esp
push 0x20019
push 0
push ebp
push dword [0x49fd0c]
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x4652c3
xor eax, eax
jmp 0x46542f
mov edx, esi
mov eax, edi
call fcn.0046543a
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 dword [0x49fd0c]
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
je 0x465302
mov eax, dword [esp]
call fcn.004655bb
xor eax, eax
jmp 0x46542f
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 0x465363
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 0x465304
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 0x46541c
lea eax, [esp + 0x4d4]
push eax
push ebp
push 0x49fd27
lea edx, [esp + 0x5a8]
push edx
call fcn.004902f4
add esp, 0x10
lea ecx, [esp + 0x4d4]
push ecx
push esi
push 0x49fd27
lea eax, [esp + 0x7a8]
push eax
call fcn.004902f4
add esp, 0x10
lea edx, [esp + 8]
push edx
lea ecx, [esp + 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [esp + 0x7b8]
push eax
push dword [0x49fd0c]
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x46541c
lea ecx, [esp + 0x79c]
lea edx, [esp + 0x59c]
mov eax, edi
call fcn.00465294
inc ebx
jmp 0x465365
mov eax, dword [esp]
call fcn.004655bb
mov eax, dword [esp + 4]
call fcn.004655bb
mov al, 1
add esp, 0x99c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x465470
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 0x46550b
push esp
push 0x20019
push 0
push esi
push edi
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x46550b
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 0x4654f2
lea eax, [esp + 0x10]
push eax
push esi
push 0x49fd27
lea edx, [esp + 0xe4]
push edx
call fcn.004902f4
add esp, 0x10
mov eax, edi
lea edx, [esp + 0xd8]
call fcn.00465470
inc ebx
jmp 0x46549b
mov eax, dword [esp]
call fcn.004655bb
push esi
push edi
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
jne 0x46550b
inc dword [0x4c3168]
add esp, 0x2d8
pop edi
pop esi
pop ebx
ret