joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e927
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x18
mov eax, dword [0x517774]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov ebp, str.IsSystemLocaleUserLocaleCodePageMismatched__
push ebp
push 2
mov esi, 0x519518
push esi
call fcn.00402450
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
push edi
push str.System_LCID:__d_nUser_LCID:__d
push 0x20
push esi
mov dword [esp + 0x24], eax
call fcn.00402450
add esp, 0x14
push 6
lea eax, [esp + 0x18]
push eax
mov ebx, 0x1004
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
call edi
push 6
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x1c]
call edi
lea eax, [esp + 0x14]
push eax
call fcn.00498078
mov edi, eax
lea eax, [esp + 0x20]
push eax
call fcn.00498078
mov ebx, eax
push ebx
push edi
push str.System_Codepage:__d_nUser_Codepage:__d
push 0x20
push esi
call fcn.00402450
push ebp
push 4
push esi
call fcn.00402450
mov ecx, dword [esp + 0x4c]
add esp, 0x28
xor eax, eax
cmp edi, ebx
pop edi
pop esi
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.004974ba
add esp, 0x18
ret
Function at 0x43491b
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x140
lea ebp, [esp - 4]
mov eax, dword [0x517774]
xor eax, ebp
mov dword [ebp + 0x140], eax
push 0x54
mov eax, 0x4cb4b6
call fcn.0049aeba
mov eax, dword [ebp + 0x14c]
mov edi, dword [ebp + 0x158]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x150]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x154]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov esi, 0x529658
cmp byte [0x529658], bl
jne 0x434987
cmp edi, ebx
je 0x43499c
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [0x529658], bl
je 0x43499c
cmp edi, ebx
je 0x43499c
push esi
call fcn.004998a0
push eax
push edi
push esi
call fcn.004979da
add esp, 0x10
call fcn.004280af
test eax, eax
je 0x434af8
cmp edi, ebx
je 0x4349bf
push edi
call fcn.0040b500
pop ecx
mov dword [ebp - 0x1c], 1
test eax, eax
jne 0x4349c2
mov dword [ebp - 0x1c], ebx
mov esi, 0xffdc
cmp dword [ebp - 0x14], ebx
je 0x4349fd
cmp dword [ebp - 0x10], ebx
je 0x4349fd
cmp dword [ebp - 0x18], ebx
je 0x4349fd
push dword [ebp - 0x14]
call fcn.004998a0
push dword [ebp - 0x10]
add esi, 0xfffffffa
sub esi, eax
call fcn.004998a0
push dword [ebp - 0x18]
sub esi, eax
call fcn.004998a0
sub esi, eax
add esp, 0xc
sub esi, 3
cmp edi, ebx
je 0x434ae4
cmp dword [ebp - 0x1c], ebx
je 0x434a2f
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x434a52
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x434a52
cmp dword [ebp + 0x1c], ebx
jne 0x434a52
cmp dword [ebp + 0x20], esi
jae 0x434a52
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
push ebx
push ebx
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, esi
jmp 0x434b08
cmp dword [0x52975c], ebx
je 0x434ae4
push edi
lea ecx, [ebp - 0x60]
call fcn.00402a30
mov ecx, dword [0x52975c]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], ebx
call fcn.004310af
mov ecx, dword [eax]
mov eax, dword [eax + 4]
or dword [ebp - 4], 0xffffffff
xor esi, esi
push ebx
mov dword [ebp - 0x20], ecx
inc esi
push esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1c], eax
call fcn.00401a30
mov eax, dword [0x52975c]
mov ecx, dword [eax + 0x18]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042f5bf
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042ead3
test al, al
jne 0x434ae4
push edi
lea ecx, [ebp - 0x44]
call fcn.00402a30
mov ecx, dword [0x52975c]
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], esi
call fcn.004348c6
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00401a30
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00431856
add esp, 0x10
jmp 0x434b08
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x140]
xor ecx, ebp
call fcn.004974ba
add ebp, 0x144
leave
ret
Function at 0x43704f
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x517774]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x24
mov eax, 0x4cb777
call fcn.0049aeba
mov eax, dword [ebp + 0x218]
mov edi, dword [ebp + 0x21c]
xor ebx, ebx
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4371ea
cmp edi, ebx
je 0x4371ea
push 0x103
lea eax, [ebp + 0x109]
push ebx
push eax
mov byte [ebp + 0x108], bl
call fcn.00497680
mov esi, 0x800
push esi
push 0x104
lea eax, [ebp + 0x108]
push eax
push str.RenamedAutorunFolder
push 0x4d4294
push dword [ebp - 0x10]
call fcn.00436830
add esp, 0x24
neg eax
sbb eax, eax
inc eax
je 0x43710b
push str.RenamedAutorunFolder_key_is_missing__
push 0x400
push 0x519518
call fcn.00402450
add esp, 0xc
push dword [ebp + 0x220]
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
neg esi
jmp 0x4371e6
lea ecx, [ebp]
call fcn.0042d3bc
push 0x4d41fc
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.00402a30
lea eax, [ebp - 0x30]
push eax
push ebx
push str..._
push 1
push ebx
push dword [ebp - 0x10]
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0042ad54
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00401a30
lea eax, [ebp + 0x108]
push eax
lea ecx, [ebp + 0xec]
call fcn.00402a30
push esi
push ebx
lea eax, [ebp + 0xec]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0042d005
push dword [ebp + 0x220]
push edi
call fcn.0042e640
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x4371cc
push edi
call fcn.00410cf0
cmp dword [ebp + 0x104], 0x10
mov eax, dword [ebp + 0xf0]
pop ecx
jae 0x4371a4
lea eax, [ebp + 0xf0]
push eax
push dword [ebp + 0x220]
push edi
call fcn.00498c94
push edi
push str.Using_infrastructure_directory__s
push 0x20
push 0x519518
call fcn.00402450
push edi
call fcn.0043879e
add esp, 0x20
push ebx
push 1
lea ecx, [ebp + 0xec]
call fcn.00401a30
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0041d4f0
mov eax, esi
jmp 0x4371ec
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004974ba
add ebp, 0x210
leave
ret

Function at 0x437596
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x517774]
xor eax, ebp
mov dword [ebp + 0x88], eax
push esi
mov esi, dword [ebp + 0x94]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x4375c8
xor eax, eax
jmp 0x437615
mov al, byte [esi]
mov byte [ebp - 0x80], al
mov al, byte [esi + 1]
mov byte [ebp - 0x7f], al
xor eax, eax
push 0x103
push eax
mov byte [ebp - 0x7e], al
mov byte [ebp - 0x7c], al
lea eax, [ebp - 0x7b]
push eax
call fcn.00497680
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
lea eax, [ebp - 0x7c]
push 0x4de998
push eax
call fcn.0049858b
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
pop esi
call fcn.004974ba
add ebp, 0x8c
leave
ret
Function at 0x437e1e
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00429833
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x437e6a
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push edi
push edi
push str.Common_Startup
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call fcn.00429cef
pop ecx
mov eax, edi
pop edi
leave
ret

Function at 0x4385be
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
call fcn.00428002
test eax, eax
je 0x4385d8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
pop ebp
ret
push edi
push dword [ebp + 0xc]
push str.HPInstallerTemp
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirA]
mov edi, eax
test edi, edi
je 0x43861b
push edi
push str.Could_not_get_temp_path_____hr_d
push 0x400
push 0x519518
call fcn.00402450
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x43862d
push dword [ebp + 0xc]
call fcn.00410cf0
push dword [ebp + 0xc]
call fcn.004998a0
pop ecx
pop ecx
pop edi
pop ebp
ret

Function at 0x43879e
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x517774]
xor eax, ebp
mov dword [ebp + 0x84], eax
push esi
mov esi, dword [ebp + 0x90]
test esi, esi
jne 0x4387dd
push str.Trying_to_create_folder_with_pFolder__NULL___
push 8
push 0x519518
call fcn.00402450
add esp, 0xc
jmp 0x43888f
push esi
call fcn.004998a0
pop ecx
test eax, eax
jne 0x4387ef
push str.Trying_to_create_folder_with_pFolder_______
jmp 0x4387c9
push esi
call fcn.0040b500
pop ecx
test eax, eax
je 0x438802
xor eax, eax
inc eax
jmp 0x438891
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.00497680
push 0x104
lea eax, [ebp - 0x80]
push eax
push esi
call fcn.00438059
lea eax, [ebp - 0x80]
push eax
call fcn.0043879e
add esp, 0x1c
test eax, eax
je 0x438877
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x438859
push esi
push str.Created_folder__s
push 0x20
push 0x519518
call fcn.00402450
add esp, 0x10
jmp 0x4387fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.CreateDirectory___s__failed.__error0x_x_n
push 8
push 0x519518
call fcn.00402450
add esp, 0x14
jmp 0x43888f
lea eax, [ebp - 0x80]
push eax
push str.CreateDirectory___s__failed.
push 8
push 0x519518
call fcn.00402450
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
pop esi
call fcn.004974ba
add ebp, 0x88
leave
ret
Function at 0x43d13d
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
push esi
push edi
mov edi, ecx
je 0x43d1de
call fcn.0043c922
lea esi, [edi + 0x1f8]
mov eax, dword [esi + 0x14]
push esi
push dword [eax]
lea ecx, [ebp - 0x18]
call fcn.00404fb0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
lea eax, [edi + 0x1dc]
push eax
mov eax, dword [eax + 0x14]
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00404fb0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push esi
push dword [esi + 0x14]
mov dword [ebp - 0x14], eax
jmp 0x43d1c6
lea ecx, [ebp - 8]
call fcn.00404fe0
push dword [ebp + 8]
mov ecx, eax
call fcn.00413600
test eax, eax
je 0x43d1ea
lea ecx, [ebp - 8]
call fcn.00404a00
lea ecx, [ebp - 0x18]
call fcn.00404a00
push esi
push dword [esi + 0x14]
lea ecx, [ebp - 0x10]
call fcn.00404fb0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.00404970
test al, al
je 0x43d19c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
pop edi
pop esi
leave
ret 4
lea ecx, [ebp - 0x18]
call fcn.00404fe0
cmp dword [eax + 0x18], 0x10
jb 0x43d1fd
mov eax, dword [eax + 4]
jmp 0x43d200
add eax, 4
push 0x10
push 0
push eax
call fcn.0049d1da
add esp, 0xc
jmp 0x43d1e4
Function at 0x442e95
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x517774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x442f6a
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x442f59
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x442f43
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x442f59
push eax
push edi
push dword [ebp - 0x110]
call fcn.00442e32
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x442f6c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004974ba
leave
ret 4

Function at 0x443390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x517774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x4433af
xor eax, eax
jmp 0x44348d
push ebx
call fcn.004998a0
pop ecx
cmp eax, 5
jne 0x44345e
push 3
push 0x4e1b2c
push ebx
call fcn.0049ccdb
add esp, 0xc
test eax, eax
jne 0x44345e
movsx eax, byte [ebx + 3]
push eax
call fcn.0049bc88
pop ecx
test eax, eax
je 0x44345e
cmp byte [ebx + 4], 0x3a
jne 0x44345e
push esi
push edi
push 5
pop ecx
mov esi, str.NetworkPersistent_
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
push 4
push ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x20]
push 0x1a
push eax
call fcn.0049c9b8
xor esi, esi
push esi
lea eax, [ebp - 0x24]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x20]
push eax
push SysReAllocString
mov dword [ebp - 0x24], esi
call fcn.00429833
add esp, 0x28
lea eax, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push str.RemotePath
push dword [ebp - 0x24]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
jmp 0x44348d
push 4
push str.DOT4
push ebx
call fcn.0049ccdb
add esp, 0xc
test eax, eax
je 0x44348a
push 3
push 0x4e1af0
push ebx
call fcn.0049ccdb
add esp, 0xc
test eax, eax
jne 0x4433a8
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004974ba
leave
ret
Function at 0x4435c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x517774]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa0]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x7c], eax
cmp eax, ebx
jne 0x4435fa
push 0x57
pop eax
jmp 0x443722
push edi
call fcn.0043fb48
mov eax, dword [0x5298d4]
cmp eax, ebx
jne 0x44360d
xor edi, edi
jmp 0x44362f
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x443618
xor ecx, ecx
jmp 0x44361b
mov ecx, dword [ecx + 4]
push 0x20019
push ebx
add esi, 8
push esi
push ecx
call eax
mov edi, eax
cmp edi, 0xffffffff
je 0x443638
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x443646
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x443721
push 0x103
lea eax, [ebp - 0x6f]
push ebx
push eax
mov byte [ebp - 0x70], bl
call fcn.00497680
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push str.Base_Name
push edi
mov dword [ebp - 0x80], 0x104
call esi
test eax, eax
je 0x443694
push 0x4e1af0
lea eax, [ebp - 0x70]
push 0x104
push eax
call fcn.00497fe1
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push str.Port_Number
push edi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], 4
call esi
push edi
mov esi, eax
call fcn.00429cef
pop ecx
cmp esi, ebx
je 0x4436c1
mov eax, esi
jmp 0x443721
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push str._03d
push eax
call fcn.004998a0
pop ecx
mov ecx, 0x104
sub ecx, eax
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.004998a0
pop ecx
lea eax, [ebp + eax - 0x70]
push eax
call fcn.00497562
lea eax, [ebp - 0x70]
push eax
call fcn.004998a0
mov ecx, dword [ebp + 0xa4]
lea edx, [ecx - 1]
add esp, 0x14
cmp eax, edx
jbe 0x44370f
mov eax, 0xffff3ca8
jmp 0x443721
lea eax, [ebp - 0x70]
push eax
push ecx
push dword [ebp - 0x7c]
call fcn.00497fe1
add esp, 0xc
xor eax, eax
pop edi
mov ecx, dword [ebp + 0x94]
pop esi
xor ecx, ebp
pop ebx
call fcn.004974ba
add ebp, 0x98
leave
ret 8
Function at 0x443ab3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x4c
mov eax, 0x4cc676
call fcn.0049af23
mov esi, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.00401260
push str.Enum_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00402a30
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004409bb
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407a90
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], ebx
jae 0x443b13
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x4c]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00429a03
add esp, 0xc
cmp eax, ebx
je 0x443b4b
mov esi, eax
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401a30
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401a30
mov eax, esi
call fcn.0049afa6
ret 4
xor eax, eax
mov byte [ebp - 0x50], bl
lea edi, [ebp - 0x4f]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push str.CurrentDriveLetterAssignment
push dword [ebp - 0x4c]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x4c]
mov edi, eax
call fcn.00429cef
pop ecx
cmp edi, ebx
je 0x443b8e
mov esi, edi
jmp 0x443b2b
mov al, byte [ebp - 0x50]
mov byte [esi], al
xor esi, esi
jmp 0x443b2b

Function at 0x443b97
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, ecx
movsx eax, byte [ebx + 0x208]
push eax
mov esi, 0x4e211c
lea edi, [ebp - 8]
movsw word es:[edi], word [esi]
push 0x4e2118
lea eax, [ebp - 8]
push 3
push eax
movsb byte es:[edi], byte [esi]
call fcn.00497562
add esp, 0x10
call fcn.00427de3
test eax, eax
je 0x443c33
push 0x104
lea esi, [ebx + 0x104]
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x443bf4
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x443bfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x443c2c
push esi
push dword [ebp + 8]
add ebx, 0x310
push 0x4e20c8
mov ecx, ebx
call fcn.004410d5
test eax, eax
je 0x443c2c
push esi
push dword [ebp + 8]
mov ecx, ebx
push 0x4e20d8
call fcn.004410d5
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
push 0
push 0
lea edi, [ebx + 0x310]
mov esi, 0x4e1ca8
push esi
mov ecx, edi
call fcn.00440869
test eax, eax
je 0x443c5c
push 0
push 0
push esi
mov ecx, edi
call fcn.00440869
jmp 0x443c2c
push dword [ebp + 8]
lea ecx, [ebx + 0x310]
call fcn.00440895
cmp eax, 0x4e0
je 0x443cae
test eax, eax
jne 0x443c2c
mov ecx, dword [ebp + 8]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
call fcn.00443ab3
mov esi, eax
test esi, esi
jne 0x443c5c
movsx eax, byte [ebp - 1]
push eax
call fcn.0049d658
mov edi, eax
movsx eax, byte [ebx + 0x208]
push eax
call fcn.0049d658
pop ecx
pop ecx
cmp edi, eax
jne 0x443c5c
jmp 0x443c2a
mov eax, 0x490
jmp 0x443c2c
Function at 0x4450ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 2
mov esi, ecx
call fcn.00444b5b
mov ecx, esi
test eax, eax
jne 0x44511a
push 1
call fcn.00444ed5
test eax, eax
jne 0x4450d1
xor eax, eax
jmp 0x445127
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.Attributes
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x445115
cmp eax, 5
jne 0x4450cd
push 0x30
push str.No_rights_for_Bi_Di
push str.Warning
call fcn.00444c02
add esp, 0xc
jmp 0x4450cd
mov eax, dword [ebp - 0xc]
jmp 0x445127
push edi
mov edi, dword [eax + 0x34]
push eax
call fcn.00444b4e
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x448da5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00458744
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x448dde
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004489f6
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x448e3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x448e60
cmp dword [edi + 0x54], 0
jne 0x448e60
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00458744
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00448dfd
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x451ef8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x451f3f
call fcn.00458744
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x451f3f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x451f5b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00451a72
mov esi, eax
test edi, edi
je 0x451f59
test ebx, ebx
je 0x451f59
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4