joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ee40
Capabilities:
Get graphical window text

Disassembly:
call fcn.0047aea0
test eax, eax
je 0x40ee5f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
test edi, edi
je 0x40eee0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x40eee0
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.005d62f8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40eee0
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, eax
test ebp, ebp
je 0x40eee0
push esi
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffff
push ebx
xor ebp, ebp
call fcn.00426ae0
add esp, 0x10
test eax, eax
je 0x40eee0
push esi
call fcn.004447d0
add esp, 4
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret

Function at 0x40ef40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
xor ecx, ecx
xor edi, edi
xor eax, eax
mov esi, 0x200
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x40ef6a
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, 1
jne 0x40ef76
mov esi, 0x400
jmp 0x40efea
cmp eax, 2
jne 0x40efea
xor eax, eax
lea edx, [esp + 0x38]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
push edx
mov dword [esp + 0x2c], eax
push 0x18
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push ecx
push ecx
push 0x70000
push ebp
mov dword [esp + 0x58], ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
mov eax, dword [0x676468]
je 0x40f054
test eax, eax
je 0x40efde
push str.CDiskInfoHelper::ReadFileBySectorSize_2
push str.Asset
push 0xf
push 0x6763fc
call fcn.00429e80
add esp, 0x10
mov esi, dword [esp + 0x2c]
cmp esi, 0x200
jb 0x40f04a
push esi
call fcn.005d62f8
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
jne 0x40f040
mov edx, dword [ebx]
push edx
call fcn.005d6321
mov eax, dword [esp + 0x14]
add esp, 4
inc eax
mov dword [ebx], edi
cmp eax, 3
mov dword [esp + 0x10], eax
jl 0x40ef64
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test eax, eax
je 0x40f04a
push str.CDiskInfoHelper::ReadFileBySectorSize_1
push str.Asset
push 0xf
push 0x6763fc
call fcn.00429e80
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x40f170
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 0x40f31e
cmp dword [esp + 0x38], 0x200
jne 0x40f31e
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 [0x63e8ac]
mov ecx, dword [0x63e8b0]
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 0x40f2e4
lea edx, [esp + 0x14]
push edx
call fcn.004447d0
lea esi, [ebx + 0x36]
push 5
push str.FAT16
push esi
mov edi, eax
call fcn.0044bc80
add esp, 0x10
test eax, eax
jne 0x40f244
cmp edi, 5
jne 0x40f27d
push edi
lea eax, [esp + 0x18]
push 0x63e898
push eax
call fcn.005a7203
add esp, 0xc
test eax, eax
je 0x40f299
push 5
push str.FAT12
push esi
call fcn.0044bc80
add esp, 0xc
test eax, eax
jne 0x40f2a5
cmp edi, 3
jne 0x40f2a5
push edi
lea edx, [esp + 0x18]
push 0x63e888
push edx
call fcn.005a7203
add esp, 0xc
test eax, eax
jne 0x40f2a5
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x28
ret
cmp edi, 3
jne 0x40f244
push edi
lea ecx, [esp + 0x18]
push 0x63e888
push ecx
call fcn.005a7203
add esp, 0xc
test eax, eax
jne 0x40f244
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.0044bc80
add esp, 0xc
test eax, eax
jne 0x40f2e4
cmp edi, 5
jne 0x40f2e4
push edi
lea ecx, [esp + 0x18]
push 0x63e874
push ecx
call fcn.005a7203
add esp, 0xc
test eax, eax
jne 0x40f2e4
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.0044bc80
add esp, 0xc
test eax, eax
jne 0x40f307
pop edi
pop esi
mov eax, 5
pop ebx
add esp, 0x28
ret
push 4
push str.NTFS
push esi
call fcn.0044bc80
add esp, 0xc
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x410030
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5e57a0
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 0x41017d
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41017d
push ebp
lea ecx, [esp + 0x10]
call fcn.005d5c95
push 3
push 0x5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.005d6156
push 2
push 0x63ebf8
push ebp
mov esi, eax
call fcn.00444f6f
add esp, 0xc
test eax, eax
jne 0x4100ab
inc esi
lea ecx, [esp + 0xc]
push esi
push 0x5c
call fcn.005d6156
mov esi, eax
cmp esi, 0xffffffff
je 0x410136
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.005d3079
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x18], 1
push ecx
call edi
cmp eax, 0xffffffff
jne 0x410110
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 0x41015e
mov ecx, dword [esp + 0x20]
push ecx
call edi
mov edx, ebp
or edx, 0x10
cmp eax, edx
je 0x410114
mov eax, dword [esp + 0x20]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x410114
test al, 0x10
je 0x41015e
inc esi
lea ecx, [esp + 0xc]
push esi
push 0x5c
call fcn.005d6156
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x18], 0
call fcn.005d5c27
cmp esi, 0xffffffff
jne 0x4100be
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.005d5c27
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.005d5c27
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.005d5c27
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 0x4107d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5e587c
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 0x4109b4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4109b4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4109b4
test al, 0x10
je 0x4109b4
push ebp
push esi
lea ecx, [esp + 0x18]
call fcn.005d5c95
push 0x5c
lea ecx, [esp + 0x18]
mov dword [esp + 0x16c], ebx
call fcn.005d366d
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 0x63e38c
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.005d5ebc
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.005d5c27
cmp ebp, 0xffffffff
je 0x410998
mov esi, dword [esp + 0x178]
mov edi, dword [esp + 0x174]
mov bl, 2
lea eax, [esp + 0x4c]
push 0x63e674
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41096b
lea ecx, [esp + 0x4c]
push 0x63e670
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41096b
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
call fcn.005d5c95
mov al, byte [esp + 0x20]
mov byte [esp + 0x168], 1
test al, 0x10
je 0x410950
lea eax, [esp + 0x14]
push 0x6383c8
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.005d5ebc
lea edx, [esp + 0x10]
mov byte [esp + 0x168], bl
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005d5e56
mov eax, dword [eax]
push esi
push edi
push eax
mov byte [esp + 0x174], 3
call fcn.004107d0
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], bl
call fcn.005d5c27
lea ecx, [esp + 0x1c]
mov byte [esp + 0x168], 1
call fcn.005d5c27
jmp 0x410952
inc dword [edi]
test esi, esi
je 0x41095a
cmp esi, dword [edi]
jbe 0x410980
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 0
call fcn.005d5c27
lea ecx, [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x410991
jmp 0x41089f
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 0
call fcn.005d5c27
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov dword [esp + 0x168], 0xffffffff
call fcn.005d5c27
mov eax, 1
pop ebp
jmp 0x4109b6
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 0x411620
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x2818
call fcn.00444f40
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 0x411771
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 0x4116bf
call ebx
cmp eax, 0x7a
jne 0x41179e
mov edi, dword [esp + 0x20]
push edi
call fcn.005d62f8
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x41178b
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
push 2
push esi
call ebp
test eax, eax
je 0x41179e
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 0x4117b1
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jbe 0x4117d6
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 0x411741
mov eax, dword [esp + 0x28]
inc esi
add edi, 8
cmp esi, eax
jb 0x411722
jmp 0x4117d6
mov eax, dword [esp + esi*8 + 0x30]
mov dword [esp + 0x1c], 1
test al, 8
je 0x41175e
mov ecx, dword [esp + 0x2830]
mov dword [ecx], 1
test al, 4
je 0x4117d6
mov edx, dword [esp + 0x2834]
mov dword [edx], 1
jmp 0x4117d6
cmp dword [0x676468], ebx
je 0x411823
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CAgentNWMgrU::CheckCurrentUserIsAdmin__ERROR___GetCurrentToken_Failed____08x_
jmp 0x4117c2
mov eax, dword [0x676468]
test eax, eax
je 0x4117d6
call ebx
push eax
push str.CAgentNWMgrU::CheckCurrentUserIsAdmin__ERROR___new_UCHAR_Failed____08x_
jmp 0x4117c2
mov eax, dword [0x676468]
test eax, eax
je 0x4117d6
call ebx
push eax
push str.CAgentNWMgrU::CheckCurrentUserIsAdmin__ERROR___GetTokenInformation_Failed____08x_
jmp 0x4117c2
mov eax, dword [0x676468]
test eax, eax
je 0x4117d6
call ebx
push eax
push str.CAgentNWMgrU::CheckCurrentUserIsAdmin__ERROR___AllocateAndInitializeSid_Failed____08x_
push str.Funclib
push 0xf
push 0x6763fc
call fcn.00429e80
add esp, 0x14
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x4117eb
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4117fc
push eax
call fcn.005d6321
add esp, 4
mov eax, dword [0x676468]
mov edi, dword [esp + 0x1c]
cmp eax, ebx
je 0x411823
push edi
push str.CAgentNWMgrU::CheckCurrentUserIsAdmin____d_
push str.Funclib
push 0xf
push 0x6763fc
call fcn.00429e80
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2818
ret
Function at 0x412bf0
Capabilities:
Check if file exists
Get disk size
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5e59db
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 0x412d18
mov ebp, dword [esp + 0x430]
cmp ebp, esi
jne 0x412c3c
cmp dword [esp + 0x434], esi
jne 0x412c3c
cmp dword [esp + 0x438], esi
je 0x412d18
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.0045d550
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 0x412c9b
test al, 0x10
je 0x412c9b
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 0x412ce9
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.0047e9e0
add esp, 0xc
test eax, eax
je 0x412ce9
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00445db0
add esp, 8
test eax, eax
je 0x412ce9
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.0045e0a0
jmp 0x412c69
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0xffffffff
call fcn.0045ddc0
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 0x415b70
Capabilities:
Copy file

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
je 0x415bf0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x415b91
push 0
push edi
call fcn.00486900
add esp, 8
test eax, eax
jne 0x415ba8
mov edi, dword [esp + 0x14]
test edi, edi
je 0x415bc2
push 0
push edi
call fcn.00486900
add esp, 8
test eax, eax
je 0x415bc2
push esi
push edi
call fcn.00415a30
add esp, 8
test eax, eax
jne 0x415bf0
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 0x415bf0
push 0
push edi
call fcn.00486900
add esp, 8
test eax, eax
je 0x415bf0
push esi
push edi
call fcn.00415a30
add esp, 8
test eax, eax
jne 0x415bf0
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
pop esi
ret
Function at 0x41b6c0
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 0x41b7a1
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 0x41b7a8
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x41b7ad
test eax, eax
jbe 0x41b7ad
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 0x41b760
mov eax, dword [esp + 0x20]
test byte [eax + 1], 0x10
jne 0x41b767
add eax, 8
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x41b76e
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x41b71f
jmp 0x41b7ad
mov ebx, 3
jmp 0x41b7ad
mov ebx, 4
jmp 0x41b7ad
mov eax, dword [esp + 0x28]
mov ebp, 1
cmp eax, 0x10000000
jne 0x41b7ad
mov eax, dword [esp + 0x20]
cmp byte [eax], 0
jne 0x41b798
mov ecx, dword [eax + 4]
and ecx, 0x1f0000
cmp ecx, 0x1f0000
je 0x41b7ad
mov ebx, 5
xor ebp, ebp
jmp 0x41b7ad
mov ebx, 1
jmp 0x41b7ad
mov ebx, 2
mov eax, dword [0x676468]
test eax, eax
je 0x41b7dd
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 0x6763fc
call fcn.00429e80
add esp, 0x28
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x41b920
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5e6095
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], 0x5fbb84
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.00464ad0
lea ecx, [esi + 0x90]
mov byte [esp + 0x18], 1
call fcn.00464ad0
lea ebx, [esi + 0xa0]
push edi
mov ecx, ebx
mov byte [esp + 0x1c], 2
call fcn.004432ce
mov dword [ebx], 0x5fbb6c
add ebx, 8
push ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [esp + 0x18], 3
mov dword [esi], 0x5fbb68
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.0041bae0
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 0x41bd60
Capabilities:
Acquire debug privileges

Disassembly:
mov eax, dword [0x677008]
test eax, eax
jne 0x41bd7f
push 1
push 0x643fe8
push 0xffffffffffffffff
call fcn.00491a10
add esp, 0xc
mov dword [0x677008], eax
ret

Function at 0x41cd30
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 0x41cf30
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41cf30
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.00445100
mov al, byte [esp + 0x18]
add esp, 0xc
cmp al, 0x5c
jne 0x41cea0
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 0x6444a0
push ecx
stosb byte es:[edi], al
call fcn.0044bc80
add esp, 0xc
test eax, eax
jne 0x41ce4e
mov edi, 0x644490
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 0x41cf30
cmp eax, 0x104
jb 0x41ce99
pop edi
pop esi
pop ebp
add esp, 0x30c
ret 8
push 4
lea eax, [esp + 0x10]
push 0x63ea7c
push eax
call fcn.0044bc80
add esp, 0xc
test eax, eax
jne 0x41cea0
lea ecx, [esp + 0x10]
push 0x103
lea edx, [esp + 0x114]
push ecx
push edx
call fcn.00445100
lea eax, [esp + 0x11c]
push 0x103
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00445100
add esp, 0x18
jmp 0x41cea0
mov esi, dword [esp + 0x31c]
lea edx, [esp + 0xc]
push 0x104
push edx
mov ecx, ebp
call fcn.0041d6e0
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 0x41cf19
lea eax, [esp + 0xc]
push 0x7e
push eax
call fcn.00445240
add esp, 8
test eax, eax
je 0x41cf19
lea ecx, [esp + 0x214]
push 0x104
lea edx, [esp + 0x10]
push ecx
push edx
call dword [ebp + 4]
test eax, eax
jbe 0x41cf19
cmp eax, 0x104
jae 0x41cf19
mov eax, dword [esp + 0x320]
lea ecx, [esp + 0x214]
dec eax
push eax
push ecx
jmp 0x41cf27
mov edx, dword [esp + 0x320]
lea eax, [esp + 0xc]
dec edx
push edx
push eax
push esi
call fcn.00445100
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x30c
ret 8
Function at 0x41cf40
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5e6190
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.00464ba0
mov ebp, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.00464ba0
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 0x41cfb6
cmp eax, ecx
jne 0x41cfb6
mov edx, dword [esi + 0x78]
test edx, edx
je 0x41cfb6
cmp edi, edx
jb 0x41cfb6
add edx, 0x493e0
cmp edx, edi
jae 0x41cfbe
mov dword [esp + 0x38], 1
mov edx, dword [0x676468]
test edx, edx
je 0x41cff1
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 0x6763fc
call fcn.00429e80
add esp, 0x28
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x41d044
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.004434b5
lea ecx, [esi + 0x80]
mov dword [esp + 0x30], 0
push ecx
mov ecx, ebx
call fcn.00464df0
add esi, 0x90
mov ecx, ebp
push esi
call fcn.00464df0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x41d0b6
push ebp
push ebx
mov ecx, esi
mov dword [esi + 0x7c], 0
call fcn.0041d100
lea edx, [esi + 0xa0]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.004434b5
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.00464ba0
push ebx
mov ecx, edi
call fcn.00464df0
add esi, 0x90
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00464ba0
push ebp
mov ecx, esi
call fcn.00464df0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004434f1
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