joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x687d11
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov dword [esp + 0x6c], 0
xor eax, eax
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
push 0x11
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
push str.SOFTWARE2345.com
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
call fcn.00409260
mov dword [esp + 0x6c], 1
xor eax, eax
push 4
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
push str.UUID
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00409260
mov byte [esp + 0x6c], 2
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
push reloc.gdiplus.dll_Ordinal_1
lea eax, [esp + 0x50]
push eax
call fcn.00421f50
mov byte [esp + 0x6c], 4
cmp dword [esp + 0x20], 8
jb 0x423313
push dword [esp + 0xc]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov word [esi], ax
push esi
lea eax, [esp + 0x48]
mov dword [esp + 0x28], 1
push eax
call fcn.00421ae0
mov byte [esp + 0x6c], 1
cmp dword [esp + 0x58], 8
jb 0x423362
push dword [esp + 0x44]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov byte [esp + 0x6c], al
cmp dword [esp + 0x40], 8
jb 0x423390
push dword [esp + 0x2c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005472b9
add esp, 0x68
ret 4
Function at 0x4263e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x688270
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x18]
movlpd qword [esp + 0xc], xmm0
push eax
movdqu xmmword [esp + 0x20], xmm0
movdqu xmmword [esp + 0x30], xmm0
call fcn.00420140
add esp, 4
test al, al
je 0x426458
mov edx, dword [esp + 0x34]
xor eax, eax
add eax, dword [esp + 0x38]
adc edx, 0
jmp 0x4264d2
lea ecx, [esp + 0x3c]
call fcn.00439600
mov dword [esp + 0x90], 0
lea edx, [esp + 0x3c]
mov ecx, esi
call fcn.00439b30
test al, al
je 0x426491
mov eax, dword [esp + 0x5c]
and eax, 0x10
or eax, 0
jne 0x426491
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
jmp 0x426499
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x90], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x4264b7
push dword [esp + 0x64]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
mov word [esp + 0x64], ax
mov edx, edi
mov dword [esp + 0x74], 0
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret
Function at 0x4269d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6879b1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
xor eax, eax
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x38]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x3c]
push 2
push ecx
push 0x6ebcd4
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.0041f220
cmp eax, 0xffffffff
je 0x426b1a
inc eax
cmp eax, dword [edi + 0x10]
jae 0x426ad9
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00408dc0
mov edi, eax
mov dword [esp + 0x30], 1
cmp esi, edi
je 0x426a96
cmp dword [esi + 0x14], 8
jb 0x426a7b
push dword [esi]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00408e30
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x426aae
push dword [esp + 0x10]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
mov eax, esi
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x426b01
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
cmp esi, edi
je 0x426b2a
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.00409040
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret

Function at 0x426c60
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
push esi
push 0x11c
mov esi, ecx
push 0
push esi
call fcn.00549c70
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x426d2d
mov eax, dword [esi + 4]
cmp eax, 6
ja 0x426c9b
jne 0x426cee
cmp dword [esi + 8], 2
jb 0x426cee
lea eax, [esp + 0x10]
mov dword [esp + 4], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
lea edx, [esp + 0x10]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00427200
add esp, 8
test al, al
je 0x426cee
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.00426b40
add esp, 4
test al, al
je 0x426d26
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
mov al, 1
pop esi
add esp, 0x10
ret
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x427200
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x28
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov ebx, edx
push esi
push edi
push str.kernel32.dll
mov edi, ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x4272ca
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4272ca
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4272ca
movdqu xmm0, xmmword [0x6ec020]
push eax
movdqu xmmword [esp + 0x18], xmm0
movdqu xmm0, xmmword [0x6ec030]
movdqu xmmword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4272ca
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4272ca
cmp word [esi + 2], ax
jbe 0x4272ca
movzx eax, word [esi + 0x32]
mov ecx, dword [esp + 0x10]
mov dword [edi], eax
movzx eax, word [esi + 0x30]
mov dword [ebx], eax
movzx eax, word [esi + 0x36]
mov dword [ebp], eax
movzx eax, word [esi + 0x34]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov al, 1
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005472b9
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005472b9
add esp, 0x28
ret
Function at 0x4299f0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x6889c4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00409040
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00409040
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.00409040
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.00409040
mov byte [esp + 0x18], 3
lea ecx, [edi + 0x70]
movzx eax, byte [esi + 0x60]
mov byte [edi + 0x60], al
movzx eax, byte [esi + 0x61]
mov byte [edi + 0x61], al
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x70]
push eax
call fcn.00409040
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x42c7f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x128
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push 0x110
lea eax, [esp + 0x14]
mov esi, ecx
push 0
push eax
call fcn.00549c70
add esp, 0xc
mov dword [esp + 0xc], 0x114
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42c880
cmp dword [esp + 0x10], 6
jb 0x42c880
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.0042c5d0
add esp, 0xc
test al, al
je 0x42c880
cmp word [esi], 0
je 0x42c880
mov al, 1
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.005472b9
add esp, 0x128
ret
lea eax, [esp + 4]
mov dword [esp + 4], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, SysReAllocString
call fcn.0042c5d0
add esp, 0xc
test al, al
je 0x42c8ac
cmp word [esi], 0
jne 0x42c868
lea eax, [esp + 4]
mov dword [esp + 4], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.0042c5d0
add esp, 0xc
test al, al
je 0x42c8d8
cmp word [esi], 0
jne 0x42c868
mov ecx, dword [esp + 0x128]
xor al, al
pop esi
xor ecx, esp
call fcn.005472b9
add esp, 0x128
ret
Function at 0x42cce0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68900b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2654
call fcn.00551470
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x2650], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x2668]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0x65e]
push 0x1ffe
xor ebx, ebx
push ebx
push eax
call fcn.00549c70
add esp, 0xc
mov eax, 0x22
mov word [esp + 0x65c], ax
test esi, esi
je 0x42cf2f
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x42cf2f
push esi
call edi
cmp eax, 0xffa
jge 0x42cf2f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x660]
push eax
call esi
push 0x6eb9c8
lea eax, [esp + 0x660]
push eax
call esi
push str.Shell32.dll
lea ecx, [esp + 0x20]
call fcn.00408c20
mov dword [esp + 0x2670], ebx
lea eax, [esp + 0x1c]
push eax
call fcn.004376e0
mov ecx, eax
call fcn.00437760
mov esi, eax
mov dword [esp + 0x2670], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x42cddb
push dword [esp + 0x1c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
test esi, esi
je 0x42cf2f
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x14], eax
test eax, eax
je 0x42cf2f
lea ecx, [esp + 0x34]
call fcn.0042c8f0
xor edi, edi
lea esi, [esp + 0x34]
cmp word [esi], 0
je 0x42ce44
push 1
push 0
lea eax, [esp + 0x664]
push eax
push esi
push str.open
push 0
call dword [esp + 0x2c]
cmp eax, 0x20
ja 0x42ce52
inc edi
add esi, 0x210
cmp edi, 2
jl 0x42ce21
jmp 0x42ce74
imul ebx, edi, 0x210
cmp dword [esp + ebx + 0x23c], 0
mov ebx, dword [esp + ebx + 0x240]
jne 0x42ce6c
add ebx, 0x10
test ebx, ebx
jne 0x42cf2b
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x65c]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x42cf26
mov dword [esp + 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [esp + 0x18], str._programfiles_Internet_Exploreriexplore.exe
lea ebx, [ebx]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x45c], ax
lea eax, [esp + 0x45e]
push eax
call fcn.00549c70
add esp, 0xc
lea eax, [esp + 0x454]
push 0x103
push eax
push dword [esp + esi*4 + 0x1c]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42cf1c
push 1
push 0
lea eax, [esp + 0x664]
push eax
lea eax, [esp + 0x460]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x42cf26
inc esi
cmp esi, 2
jb 0x42ceb0
mov eax, ebx
jmp 0x42cf31
mov ebx, 0x10
mov eax, ebx
jmp 0x42cf31
xor eax, eax
mov ecx, dword [esp + 0x2668]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2650]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret
Function at 0x42cf80
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x689048
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x42cfca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [esp + 0x14]
mov word [edi + 4], 0
mov dword [esp + 0x14], 0
call fcn.00437e80
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x14]
cmp dword [esi], 0
je 0x42cff7
lea eax, [esi + 8]
jmp 0x42cff9
xor eax, eax
cmp dword [ebx + 0x10], 0
je 0x42d009
cmp dword [ebx + 0x14], 8
jb 0x42d00b
mov ebx, dword [ebx]
jmp 0x42d00b
xor ebx, ebx
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x42d02c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42d02c
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x42d056
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42d06b
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push esi
call fcn.005472b4
add esp, 4
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.005472b9
add esp, 0x18
ret 4

Function at 0x42d7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x689152
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
push 0
mov dword [esp + 0x10], esi
call fcn.004caa4f
mov dword [esp + 0x2c], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [esp + 0x2c], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [esp + 0x2c], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [esp + 0x2c], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [esp + 0x2c], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [esp + 0x2c], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x2c], 6
test edi, edi
jne 0x42d8b8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], str.bad_locale_name
push eax
lea ecx, [esp + 0x14]
call fcn.0054a965
mov byte [esp + 0x2c], 7
mov dword [esp + 0x10], vtable.std::runtime_error.0
mov byte [esp + 0x2c], 6
lea eax, [esp + 0x10]
push 0x7394e8
push eax
call fcn.005491cd
push edi
push esi
call fcn.004ca87e
add esp, 8
mov dword [esp + 0x2c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005472b9
add esp, 0x24
ret 4
Function at 0x42e5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6895a9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov eax, dword [ecx + 0x30]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x4326c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x689e36
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x848]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x3c]
push eax
push 0x3fe
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x43279c
lea edi, [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x850], esi
cmp ebx, 0x3fe
jbe 0x4327c2
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ca65e
add esp, 4
mov edi, eax
mov esi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x432784
cmp eax, ebx
ja 0x432784
xor ecx, ecx
mov ebx, eax
mov dword [edi + eax*2], ecx
mov dword [esp + 0x14], ebx
jmp 0x4327ea
mov dword [esp + 0x850], 0xffffffff
test edi, edi
je 0x43279c
push edi
call fcn.005ad770
add esp, 4
xor al, al
mov ecx, dword [esp + 0x848]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x432896
xor ecx, ecx
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp eax, 0x800
jae 0x432896
mov word [esp + eax + 0x3c], cx
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x432877
mov esi, dword [esp + 0x18]
mov ebx, 2
mov eax, dword [esp + 0x14]
cmp word [esi + ebx - 2], 0
jne 0x43286b
cmp ecx, edi
je 0x43286b
lea eax, [esi + ecx*2]
push eax
lea ecx, [esp + 0x24]
call fcn.00408c20
mov byte [esp + 0x850], 1
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0040eef0
mov byte [esp + 0x850], 0
cmp dword [esp + 0x34], 8
jb 0x43284d
push dword [esp + 0x20]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
lea ecx, [edi + 1]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0
inc edi
add ebx, 2
cmp edi, eax
jb 0x432803
mov esi, dword [esp + 0x38]
mov dword [esp + 0x850], 0xffffffff
test esi, esi
je 0x43288f
push esi
call fcn.005ad770
add esp, 4
mov al, 1
jmp 0x43279e
call fcn.00548193
int3
Function at 0x434100
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.00547bd8
mov dword [esi], eax
push 0x11c
push 0
mov byte [eax], 0
lea eax, [esp + 0x10]
push eax
call fcn.00549c70
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x43415c
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.005472b9
add esp, 0x120
ret
Function at 0x438020
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x7107f8
push 0x553910
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x73d6e0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x438089
xor eax, eax
jmp 0x4381ff
mov dword [ebp - 4], ebx
push str.InitializeSecurityDescriptor
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4381ca
push 1
push dword [ebp - 0x38]
call eax
test eax, eax
je 0x4381ca
push 0x6f184c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4381ca
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x4381ca
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4381ca
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x4381ca
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4381ca
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x4381ca
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4381ca
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x4381ca
push str.SetSecurityDescriptorDacl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4381ca
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4381b3
push 0
push ecx
push 1
push dword [ebp - 0x38]
call eax
test eax, eax
je 0x4381a0
mov ebx, 1
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x2c], 0
je 0x4381b0
jmp 0x4381ca
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x38]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.00438226
test ebx, ebx
jne 0x4381fd
test esi, esi
je 0x4381ef
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4381fd
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005472b9
mov esp, ebp
pop ebp
ret 0xc