joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fd40
Capabilities:
Get disk information

Disassembly:
sub esp, 0x28
xor edx, edx
xor eax, eax
push ebx
mov ebx, dword [esp + 0x34]
cmp ebx, edx
je 0x40feee
cmp dword [esp + 0x38], 0x200
jne 0x40feee
push esi
push edi
mov ecx, 7
lea edi, [esp + 0x16]
mov word [esp + 0x14], dx
push 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x44], edx
rep stosd dword es:[edi], eax
mov eax, dword [0x649c34]
mov ecx, dword [0x649c38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
add eax, 0x41
mov dword [esp + 0x14], ecx
mov word [esp + 0x10], ax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x40]
push ecx
push eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], edx
push ecx
push eax
push edx
lea ecx, [esp + 0x24]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x40feb4
lea edx, [esp + 0x14]
push edx
call fcn.0044cee0
lea esi, [ebx + 0x36]
push 5
push str.FAT16
push esi
mov edi, eax
call fcn.00454390
add esp, 0x10
test eax, eax
jne 0x40fe14
cmp edi, 5
jne 0x40fe4d
push edi
lea eax, [esp + 0x18]
push 0x649c20
push eax
call fcn.005b1253
add esp, 0xc
test eax, eax
je 0x40fe69
push 5
push str.FAT12
push esi
call fcn.00454390
add esp, 0xc
test eax, eax
jne 0x40fe75
cmp edi, 3
jne 0x40fe75
push edi
lea edx, [esp + 0x18]
push 0x649c10
push edx
call fcn.005b1253
add esp, 0xc
test eax, eax
jne 0x40fe75
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x28
ret
cmp edi, 3
jne 0x40fe14
push edi
lea ecx, [esp + 0x18]
push 0x649c10
push ecx
call fcn.005b1253
add esp, 0xc
test eax, eax
jne 0x40fe14
pop edi
pop esi
mov eax, 3
pop ebx
add esp, 0x28
ret
push 5
lea eax, [ebx + 0x52]
push str.FAT32
push eax
call fcn.00454390
add esp, 0xc
test eax, eax
jne 0x40feb4
cmp edi, 5
jne 0x40feb4
push edi
lea ecx, [esp + 0x18]
push 0x649bfc
push ecx
call fcn.005b1253
add esp, 0xc
test eax, eax
jne 0x40feb4
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x28
ret
lea esi, [ebx + 3]
push 5
push str.EXFAT
push esi
call fcn.00454390
add esp, 0xc
test eax, eax
jne 0x40fed7
pop edi
pop esi
mov eax, 5
pop ebx
add esp, 0x28
ret
push 4
push str.NTFS
push esi
call fcn.00454390
add esp, 0xc
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x410c00
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5eed90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
test ebp, ebp
je 0x410d4d
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x410d4d
push ebp
lea ecx, [esp + 0x10]
call fcn.005df235
push 3
push 0x5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.005df6f6
push 2
push 0x649f80
push ebp
mov esi, eax
call fcn.0044d64f
add esp, 0xc
test eax, eax
jne 0x410c7b
inc esi
lea ecx, [esp + 0xc]
push esi
push 0x5c
call fcn.005df6f6
mov esi, eax
cmp esi, 0xffffffff
je 0x410d06
mov ebp, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x20]
push esi
push eax
lea ecx, [esp + 0x14]
call fcn.005dc619
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x18], 1
push ecx
call edi
cmp eax, 0xffffffff
jne 0x410ce0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x410d2e
mov ecx, dword [esp + 0x20]
push ecx
call edi
mov edx, ebp
or edx, 0x10
cmp eax, edx
je 0x410ce4
mov eax, dword [esp + 0x20]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x410ce4
test al, 0x10
je 0x410d2e
inc esi
lea ecx, [esp + 0xc]
push esi
push 0x5c
call fcn.005df6f6
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x18], 0
call fcn.005df1c7
cmp esi, 0xffffffff
jne 0x410c8e
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.005df1c7
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.005df1c7
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.005df1c7
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4113a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5eee6c
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push esi
mov esi, dword [esp + 0x168]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x411584
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x411584
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x411584
test al, 0x10
je 0x411584
push ebp
push esi
lea ecx, [esp + 0x18]
call fcn.005df235
push 0x5c
lea ecx, [esp + 0x18]
mov dword [esp + 0x16c], ebx
call fcn.005dcc0d
mov ecx, 0x4e
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x20], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push 0x649714
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.005df45c
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x10]
mov ebp, eax
call fcn.005df1c7
cmp ebp, 0xffffffff
je 0x411568
mov esi, dword [esp + 0x178]
mov edi, dword [esp + 0x174]
mov bl, 2
lea eax, [esp + 0x4c]
push 0x6499fc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41153b
lea ecx, [esp + 0x4c]
push 0x6499f8
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41153b
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
call fcn.005df235
mov al, byte [esp + 0x20]
mov byte [esp + 0x168], 1
test al, 0x10
je 0x411520
lea eax, [esp + 0x14]
push 0x6433d8
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.005df45c
lea edx, [esp + 0x10]
mov byte [esp + 0x168], bl
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005df3f6
mov eax, dword [eax]
push esi
push edi
push eax
mov byte [esp + 0x174], 3
call fcn.004113a0
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], bl
call fcn.005df1c7
lea ecx, [esp + 0x1c]
mov byte [esp + 0x168], 1
call fcn.005df1c7
jmp 0x411522
inc dword [edi]
test esi, esi
je 0x41152a
cmp esi, dword [edi]
jbe 0x411550
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 0
call fcn.005df1c7
lea ecx, [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x411561
jmp 0x41146f
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 0
call fcn.005df1c7
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov dword [esp + 0x168], 0xffffffff
call fcn.005df1c7
mov eax, 1
pop ebp
jmp 0x411586
xor eax, eax
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x15c
ret
Function at 0x4121f0
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x2818
call fcn.0044d620
mov eax, dword [esp + 0x2820]
mov ecx, dword [esp + 0x2824]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2828]
push edi
xor ebx, ebx
xor edi, edi
mov dword [eax], ebx
cmp esi, ebx
mov dword [esp + 0x1c], edi
mov dword [ecx], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
je 0x412341
mov ebp, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push 0x2800
push eax
push 2
push esi
mov dword [esp + 0x34], ebx
call ebp
cmp eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x41228f
call ebx
cmp eax, 0x7a
jne 0x41236e
mov edi, dword [esp + 0x20]
push edi
call fcn.005df898
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x41235b
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
push 2
push esi
call ebp
test eax, eax
je 0x41236e
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push eax
mov byte [esp + 0x40], 0
mov byte [esp + 0x41], 0
mov byte [esp + 0x42], 0
mov byte [esp + 0x43], 0
mov byte [esp + 0x44], 0
mov byte [esp + 0x45], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x412381
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jbe 0x4123a6
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
lea edi, [esp + 0x2c]
mov ecx, dword [edi]
mov edx, dword [esp + 0x10]
push ecx
push edx
call ebx
test eax, eax
jne 0x412311
mov eax, dword [esp + 0x28]
inc esi
add edi, 8
cmp esi, eax
jb 0x4122f2
jmp 0x4123a6
mov eax, dword [esp + esi*8 + 0x30]
mov dword [esp + 0x1c], 1
test al, 8
je 0x41232e
mov ecx, dword [esp + 0x2830]
mov dword [ecx], 1
test al, 4
je 0x4123a6
mov edx, dword [esp + 0x2834]
mov dword [edx], 1
jmp 0x4123a6
cmp dword [0x6844b0], ebx
je 0x4123f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CAgentNWMgrU::CheckCurrentUserIsAdmin__ERROR___GetCurrentToken_Failed____08x_
jmp 0x412392
mov eax, dword [0x6844b0]
test eax, eax
je 0x4123a6
call ebx
push eax
push str.CAgentNWMgrU::CheckCurrentUserIsAdmin__ERROR___new_UCHAR_Failed____08x_
jmp 0x412392
mov eax, dword [0x6844b0]
test eax, eax
je 0x4123a6
call ebx
push eax
push str.CAgentNWMgrU::CheckCurrentUserIsAdmin__ERROR___GetTokenInformation_Failed____08x_
jmp 0x412392
mov eax, dword [0x6844b0]
test eax, eax
je 0x4123a6
call ebx
push eax
push str.CAgentNWMgrU::CheckCurrentUserIsAdmin__ERROR___AllocateAndInitializeSid_Failed____08x_
push str.Funclib
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x14
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x4123bb
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4123cc
push eax
call fcn.005df8c1
add esp, 4
mov eax, dword [0x6844b0]
mov edi, dword [esp + 0x1c]
cmp eax, ebx
je 0x4123f3
push edi
push str.CAgentNWMgrU::CheckCurrentUserIsAdmin____d_
push str.Funclib
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2818
ret
Function at 0x4137c0
Capabilities:
Check if file exists
Get disk size
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5eefcb
push eax
mov edx, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x414
push ebp
push esi
xor esi, esi
cmp edx, esi
je 0x4138e8
mov ebp, dword [esp + 0x430]
cmp ebp, esi
jne 0x41380c
cmp dword [esp + 0x434], esi
jne 0x41380c
cmp dword [esp + 0x438], esi
je 0x4138e8
push ebx
push edi
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], si
rep stosd dword es:[edi], eax
push edx
lea ecx, [esp + 0x14]
stosw word es:[edi], ax
call fcn.00466990
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov dword [esp + 0x42c], esi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41386b
test al, 0x10
je 0x41386b
mov ecx, dword [esp + 0x440]
mov edx, dword [esp + 0x43c]
mov eax, dword [esp + 0x10]
push ecx
push edx
push ebp
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4138b9
mov edx, dword [esp + 0x10]
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 0x207
push ecx
push edx
call fcn.00487f30
add esp, 0xc
test eax, eax
je 0x4138b9
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.0044e490
add esp, 8
test eax, eax
je 0x4138b9
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.004674e0
jmp 0x413839
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0xffffffff
call fcn.00467200
pop edi
mov eax, esi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x414]
mov dword fs:[0], ecx
add esp, 0x420
ret
mov ecx, dword [esp + 0x41c]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x420
ret
Function at 0x416770
Capabilities:
Copy file

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
je 0x4167f0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x416791
push 0
push edi
call fcn.0048fc70
add esp, 8
test eax, eax
jne 0x4167a8
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4167c2
push 0
push edi
call fcn.0048fc70
add esp, 8
test eax, eax
je 0x4167c2
push esi
push edi
call fcn.00416630
add esp, 8
test eax, eax
jne 0x4167f0
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
pop esi
ret
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4167f0
push 0
push edi
call fcn.0048fc70
add esp, 8
test eax, eax
je 0x4167f0
push esi
push edi
call fcn.00416630
add esp, 8
test eax, eax
jne 0x4167f0
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
pop esi
ret
Function at 0x41b8c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
jne 0x41b8dc
push str.wintrust.dll
call ebx
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b93a
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x41b8fb
push str.WinVerifyTrustEx
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x41b910
mov eax, dword [esi + 4]
push str.WTHelperProvDataFromStateData
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x41b925
mov ecx, dword [esi + 4]
push str.WTHelperGetProvSignerFromChain
push ecx
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x41b93a
mov edx, dword [esi + 4]
push str.WTHelperGetProvCertFromChain
push edx
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x41b94b
push str.crypt32.dll
call ebx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x41b964
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jne 0x41b964
push str.CertNameToStrW
push eax
call edi
mov dword [esi + 0x1c], eax
pop edi
pop esi
pop ebx
ret

Function at 0x41b8c7
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
jne 0x41b8dc
push str.wintrust.dll
call ebx
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b93a
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x41b8fb
push str.WinVerifyTrustEx
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x41b910
mov eax, dword [esi + 4]
push str.WTHelperProvDataFromStateData
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x41b925
mov ecx, dword [esi + 4]
push str.WTHelperGetProvSignerFromChain
push ecx
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x41b93a
mov edx, dword [esi + 4]
push str.WTHelperGetProvCertFromChain
push edx
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x41b94b
push str.crypt32.dll
call ebx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x41b964
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jne 0x41b964
push str.CertNameToStrW
push eax
call edi
mov dword [esi + 0x1c], eax
pop edi
pop esi
pop ebx
ret
Function at 0x41cd90
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
xor esi, esi
xor ebp, ebp
xor ebx, ebx
cmp edi, esi
je 0x41ce71
xor eax, eax
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
push 0xc
push ecx
mov dword [esp + 0x24], eax
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 8
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x41ce78
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x41ce7d
test eax, eax
jbe 0x41ce7d
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
push edx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x41ce30
mov eax, dword [esp + 0x20]
test byte [eax + 1], 0x10
jne 0x41ce37
add eax, 8
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x41ce3e
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x41cdef
jmp 0x41ce7d
mov ebx, 3
jmp 0x41ce7d
mov ebx, 4
jmp 0x41ce7d
mov eax, dword [esp + 0x28]
mov ebp, 1
cmp eax, 0x10000000
jne 0x41ce7d
mov eax, dword [esp + 0x20]
cmp byte [eax], 0
jne 0x41ce68
mov ecx, dword [eax + 4]
and ecx, 0x1f0000
cmp ecx, 0x1f0000
je 0x41ce7d
mov ebx, 5
xor ebp, ebp
jmp 0x41ce7d
mov ebx, 1
jmp 0x41ce7d
mov ebx, 2
mov eax, dword [0x6844b0]
test eax, eax
je 0x41cead
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push esi
push edx
push eax
push edi
push ebx
push ebp
push str.CKSecurity::IsInAcl_____Inner___ret:__d___myerror:__d___Acl:__08x___Sid:__08x___Mask:__08x___Index:__d_
push str.Security
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x28
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x41d360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5ef6e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x60], 0x605ef8
mov dword [esi + 0x64], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], edi
lea ecx, [esi + 0x80]
mov dword [esp + 0x18], edi
call fcn.0046df10
lea ecx, [esi + 0x90]
mov byte [esp + 0x18], 1
call fcn.0046df10
lea ebx, [esi + 0xa0]
push edi
mov ecx, ebx
mov byte [esp + 0x1c], 2
call fcn.0044b9de
mov dword [ebx], 0x605ee0
add ebx, 8
push ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [esp + 0x18], 3
mov dword [esi], 0x605edc
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.0041d520
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41d7a0
Capabilities:
Acquire debug privileges

Disassembly:
mov eax, dword [0x685120]
test eax, eax
jne 0x41d7bf
push 1
push 0x64f920
push 0xffffffffffffffff
call fcn.0049ae40
add esp, 0xc
mov dword [0x685120], eax
ret

Function at 0x41e790
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x30c
push ebp
push esi
mov esi, dword [esp + 0x318]
push edi
test esi, esi
mov ebp, ecx
je 0x41e990
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41e990
mov ecx, 0x40
lea edi, [esp + 0xd]
mov byte [esp + 0xc], al
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0044d7e0
mov al, byte [esp + 0x18]
add esp, 0xc
cmp al, 0x5c
jne 0x41e900
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xc
lea ecx, [esp + 0x10]
push 0x64fdd8
push ecx
stosb byte es:[edi], al
call fcn.00454390
add esp, 0xc
test eax, eax
jne 0x41e8ae
mov edi, 0x64fdc8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x11d]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x104
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x120], 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x41e990
cmp eax, 0x104
jb 0x41e8f9
pop edi
pop esi
pop ebp
add esp, 0x30c
ret 8
push 4
lea eax, [esp + 0x10]
push 0x649e04
push eax
call fcn.00454390
add esp, 0xc
test eax, eax
jne 0x41e900
lea ecx, [esp + 0x10]
push 0x103
lea edx, [esp + 0x114]
push ecx
push edx
call fcn.0044d7e0
lea eax, [esp + 0x11c]
push 0x103
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0044d7e0
add esp, 0x18
jmp 0x41e900
mov esi, dword [esp + 0x31c]
lea edx, [esp + 0xc]
push 0x104
push edx
mov ecx, ebp
call fcn.0041f120
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x215]
mov byte [esp + 0x214], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 4]
test eax, eax
je 0x41e979
lea eax, [esp + 0xc]
push 0x7e
push eax
call fcn.0044d920
add esp, 8
test eax, eax
je 0x41e979
lea ecx, [esp + 0x214]
push 0x104
lea edx, [esp + 0x10]
push ecx
push edx
call dword [ebp + 4]
test eax, eax
jbe 0x41e979
cmp eax, 0x104
jae 0x41e979
mov eax, dword [esp + 0x320]
lea ecx, [esp + 0x214]
dec eax
push eax
push ecx
jmp 0x41e987
mov edx, dword [esp + 0x320]
lea eax, [esp + 0xc]
dec edx
push edx
push eax
push esi
call fcn.0044d7e0
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x30c
ret 8
Function at 0x41e9a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5ef7e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
push edi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0046dfe0
mov ebp, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.0046dfe0
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x41ea16
cmp eax, ecx
jne 0x41ea16
mov edx, dword [esi + 0x78]
test edx, edx
je 0x41ea16
cmp edi, edx
jb 0x41ea16
add edx, 0x493e0
cmp edx, edi
jae 0x41ea1e
mov dword [esp + 0x38], 1
mov edx, dword [0x6844b0]
test edx, edx
je 0x41ea51
mov edx, dword [esi + 0x7c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esi + 0x78]
push edi
push edx
push eax
push ecx
push str.CProcMgr::EnumVolumesW___08x______08x____d______d____enum_:__d___loop_:__d_
push str.EnumVolumes
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x28
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x41eaa4
mov ecx, dword [esi + 0x7c]
lea eax, [esi + 0xa0]
inc ecx
push 1
mov dword [esi + 0x7c], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0044bbc5
lea ecx, [esi + 0x80]
mov dword [esp + 0x30], 0
push ecx
mov ecx, ebx
call fcn.0046e230
add esi, 0x90
mov ecx, ebp
push esi
call fcn.0046e230
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x41eb16
push ebp
push ebx
mov ecx, esi
mov dword [esi + 0x7c], 0
call fcn.0041eb40
lea edx, [esi + 0xa0]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.0044bbc5
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x78], edi
lea edi, [esi + 0x80]
push 0xffffffffffffffff
push 0
mov ecx, edi
mov dword [esp + 0x38], 1
mov dword [esi + 0x74], eax
call fcn.0046dfe0
push ebx
mov ecx, edi
call fcn.0046e230
add esi, 0x90
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0046dfe0
push ebp
mov ecx, esi
call fcn.0046e230
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0044bc01
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8