joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001050
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x24c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov cx, word [esi]
add esi, 2
cmp cx, 0x22
jne 0x100010c0
push 0x22
push esi
call fcn.10008a09
mov edx, eax
add esp, 8
test edx, edx
je 0x100010d7
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100010a0
sub ecx, esi
sar ecx, 1
cmp ecx, 2
ja 0x100010bb
mov esi, 0x10024958
jmp 0x100010d7
lea esi, [edx + 4]
jmp 0x100010d7
push 0x20
push esi
call fcn.10008a09
add esp, 8
mov esi, 0x1002495c
test eax, eax
je 0x100010d7
lea esi, [eax + 2]
push 0x208
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.10009460
mov ax, word [0x10024968]
movq xmm0, qword [str.PBVM]
push 0x32
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x36]
push 0
push eax
movq qword [ebp - 0x40], xmm0
call fcn.10009460
lea ecx, [ebp - 0x40]
add esp, 0x18
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10001120
mov eax, dword [str..dll]
mov dword [ecx], eax
mov eax, dword [0x10024970]
mov dword [ecx + 4], eax
mov ax, word [0x10024974]
mov word [ecx + 8], ax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.100022e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100011af
lea ecx, [ebp - 0x248]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001170
sub ecx, edx
sar ecx, 1
je 0x1000119a
push 0x1010
push str.Error
lea eax, [ebp - 0x248]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007173
mov esp, ebp
pop ebp
ret 0x10
push str.PBHostAttachedDebug
push esi
call fcn.10008b71
add esp, 8
test eax, eax
je 0x100011d6
push str.PD_HostAttachedTarget
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100011e2
or esi, 0xffffffff
jmp 0x100011f8
push str.FN_RunExecutable
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0x3e8
push dword [ebp + 0x14]
push esi
push dword [ebp - 0x24c]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007173
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10001d80
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x421c
call fcn.10007190
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x421c], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10009460
push 0x4000
lea eax, [ebp - 0x420c]
push 0
push eax
call fcn.10009460
mov ecx, edi
add esp, 0x18
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001de0
sub ecx, edx
sar ecx, 1
cmp ecx, 0xb
jne 0x10001f58
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x20c]
push str.SoftwareSybasePowerBuilder_Runtime
push 0x10024274
push eax
call edi
add esp, 0x10
mov dword [ebp - 0x4218], 0x104
lea eax, [ebp - 0x4210]
mov dword [ebp - 0x4214], 1
mov dword [ebp - 0x4210], 0
push eax
push 1
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001e87
mov eax, dword [ebp - 0x4210]
test eax, eax
je 0x10001e87
lea ecx, [ebp - 0x4218]
push ecx
push esi
lea ecx, [ebp - 0x4214]
push ecx
push 0
push 0x10024280
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x4210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001e90
sub ecx, edx
sar ecx, 1
je 0x10001f58
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10009460
push dword [ebp - 0x421c]
lea eax, [ebp - 0x20c]
push esi
push str._s_s
push eax
call edi
add esp, 0x1c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10001f58
push esi
push 0x100242b0
lea eax, [ebp - 0x420c]
push 0x2000
push eax
call fcn.10003160
add esp, 0x10
mov esi, ebx
nop
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10001f00
lea edi, [ebp - 0x420c]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10001f16
mov ecx, ebx
lea eax, [ebp - 0x420c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push str.Path
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007173
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007173
mov esp, ebp
pop ebp
ret
Function at 0x10002060
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov dword [ebp - 0x288], esi
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002090
sub ecx, edi
sar ecx, 1
jne 0x100020ac
push edx
push str.There_is_currently_no_matching_version__Lowest_Supported_Version:__s
jmp 0x10002213
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100020d6
call fcn.10001370
push esi
test eax, eax
jne 0x100020cc
push str.Runtime_path_not_exist__path:__s_
jmp 0x10002213
push str.Runtime_path_not_exist__path:__s__r_nSolution:_Enter_the_application_URL_in_the_browser_to_run_the_application.
jmp 0x10002213
movups xmm0, xmmword [str.VCRUNTIME140_1.dll]
mov eax, dword [0x100244fc]
lea edi, [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov esi, 1
movzx eax, word [0x10024500]
movups xmmword [ebp - 0x7c], xmm0
mov word [ebp - 0x58], ax
xor eax, eax
movups xmm0, xmmword [0x100244ec]
mov word [ebp - 0x56], ax
movzx eax, word [0x1002439c]
movups xmmword [ebp - 0x6c], xmm0
mov word [ebp - 0x34], ax
xor eax, eax
movups xmm0, xmmword [str.VCRUNTIME140.dll]
mov dword [ebp - 0x32], eax
mov word [ebp - 0x2e], ax
movzx eax, word [0x100243fc]
movups xmmword [ebp - 0x54], xmm0
mov word [ebp - 0x14], ax
movups xmm0, xmmword [0x1002438c]
mov dword [ebp - 0xa], 0
mov word [ebp - 6], 0
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [str.msvcp140.dll]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [0x100243f4]
movq qword [ebp - 0x1c], xmm0
xorps xmm0, xmm0
movq qword [ebp - 0x12], xmm0
nop
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10002204
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
inc esi
add edi, 0x28
cmp esi, 3
jb 0x10002170
push 0x208
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.10009460
mov esi, dword [ebp - 0x288]
lea eax, [ebp - 0x284]
push esi
push 0x104
push eax
call fcn.1000cb88
push str.pbvm.dll
lea eax, [ebp - 0x284]
push 0x104
push eax
call fcn.1000cb13
add esp, 0x24
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100021fc
call fcn.10001370
test eax, eax
je 0x100021fc
lea eax, [ebp - 0x284]
push eax
push str.The_pbvm.dll_file_not_exist__path:__s__r_nSolution:_Enter_the_application_URL_in_the_browser_to_run_the_application.
jmp 0x10002213
push esi
push str.Load_library_failed__dll_name:_pbvm.dll__runtime_path:_s
jmp 0x10002213
lea eax, [esi + esi*4]
lea ecx, [ebp - 0x7c]
lea eax, [ecx + eax*8]
push eax
push str.The_program_cant_start_because__s_is_missing_from_your_computer.
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.10007173
mov esp, ebp
pop ebp
ret
Function at 0x100035d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], 0
cmp dword [eax + 0x14], 8
push edi
mov dword [ebp - 4], esi
jb 0x100035f0
mov eax, dword [eax]
push 0x10024a88
push eax
call fcn.1000cd44
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1000371d
push 2
push 0
push ebx
call fcn.1000e89b
push ebx
call fcn.1000eec9
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 8], esi
call fcn.1000e89b
add esp, 0x1c
test esi, esi
jne 0x10003642
push ebx
call fcn.1000e23a
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.10007165
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0xc], edi
call fcn.10009460
push ebx
push esi
push 1
push edi
call fcn.1000e4a4
add esp, 0x20
test eax, eax
jne 0x10003681
push edi
call fcn.1000716e
push ebx
call fcn.1000e23a
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0xfde9
call edi
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007165
mov ecx, eax
lea eax, [esi*2 + 2]
push eax
push 0
push ecx
mov dword [ebp + 8], ecx
call fcn.10009460
add esp, 0x10
push esi
push dword [ebp + 8]
mov esi, dword [ebp - 0xc]
push dword [ebp - 8]
push esi
push 0
push 0xfde9
call edi
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100036e5
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 4]
push edi
call fcn.10002fb0
push esi
call fcn.1000716e
push edi
call fcn.1000716e
push ebx
call fcn.1000e23a
mov esi, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 8], 1
push esi
mov ecx, esi
mov dword [esi + 0x18], 0
call fcn.10003950
mov al, byte [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10007b0f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10007b4e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10007b4e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10007b4e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10007b4e
cmp dword [ecx + 0x74], 0xe
jbe 0x10007b4e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x100161f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001606b

Function at 0x10022d50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10022d7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10022d7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x478546eb
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x53240899
nop
nop
nop
nop
test eax, eax
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x75db8270
Capabilities:
Persist via appinit_dlls registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [0x7ffe02ec], 0
jne 0x75db8323
mov eax, dword fs:[0x30]
mov al, byte [eax + 3]
test al, 2
jne 0x75db8323
test al, 0x10
jne 0x75db8325
test byte [0x7ffe02f0], 0x80
jne 0x75db8325
lea ecx, [ebp - 4]
call fcn.75db8373
test eax, eax
je 0x75db82b9
cmp dword [ebp - 4], 0
jne 0x75db8323
lea ecx, [ebp - 4]
call fcn.75db833a
test eax, eax
je 0x75db82cb
cmp dword [ebp - 4], 0
jne 0x75db8323
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
push 0x80000002
call dword [0x75e21924]
test eax, eax
jne 0x75db8323
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10
push str.LoadAppInit_DLLs
push 0
push dword [ebp - 8]
call dword [0x75e21914]
test eax, eax
jne 0x75db831a
cmp dword [ebp - 0x10], eax
jne 0x75dc9197
push dword [ebp - 8]
call dword [0x75e2191c]
leave
ret
call fcn.75db8563
test eax, eax
jne 0x75db82a7
leave
ret
mov ecx, dword [ebp - 8]
call fcn.75dcbde0
jmp 0x75db831a
Function at 0x75db8c90
Capabilities:
Get os information via kuser_shared_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
xor esi, esi
xor eax, eax
inc esi
mov dword [esp + 8], eax
push edi
mov ebx, esi
call fcn.75db98cd
mov edi, dword [ebp + 8]
test edi, edi
je 0x75db8ce7
movzx eax, word [edi + 0x16]
mov ecx, dword [reloc.ntdll.dll_NtClose]
cmp eax, ecx
jne 0x75db8cd0
movzx eax, word [edi + 0x14]
cmp eax, dword [reloc.ntdll.dll_NtClose]
jne 0x75db8cd0
push 3
pop ebx
movzx eax, word [edi + 0x18]
cmp eax, ecx
jne 0x75db8ce7
movzx eax, word [edi + 0x1a]
cmp eax, dword [reloc.ntdll.dll_NtClose]
jne 0x75db8ce7
or ebx, 2
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x75db8d10
cmp dword [eax], 0
je 0x75db8d10
push dword [eax]
xor eax, eax
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [0x75e221d0]
mov eax, dword [ebp + 0x30]
xor ecx, ecx
mov dword [eax], ecx
jmp 0x75db8d12
xor ecx, ecx
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x75db8d36
cmp dword [eax], 0
je 0x75db8d36
push dword [eax]
mov eax, dword fs:[0x30]
push ecx
push dword [eax + 0x18]
call dword [0x75e221d0]
mov eax, dword [ebp + 0x28]
and dword [eax], 0
push dword [ebp + 0x44]
mov edx, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 0x10]
call fcn.75db982c
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x75db8da7
mov eax, dword [edi + 4]
test eax, eax
je 0x75db8da7
xor ecx, ecx
cmp word [eax], cx
je 0x75db8da7
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [0x75e20da0]
test eax, eax
js 0x75db8d72
cmp dword [esp + 0xc], 0
jne 0x75db8da7
push dword [edi + 4]
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov ecx, dword [ebp + 0x48]
push eax
call fcn.75ddf39b
test eax, eax
jne 0x75db8df3
mov eax, dword [ebp + 0x44]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
push ebx
movzx eax, word [eax]
push eax
mov eax, dword [ebp + 0x48]
push dword [eax + 4]
push dword [eax]
push dword [edi + 4]
call fcn.75e0e00f
jmp 0x75db8dd5
mov eax, dword [ebp + 0x44]
push ebx
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
movzx eax, word [eax]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.75db8e1b
test eax, eax
jns 0x75db8df7
cmp eax, 0xc0000022
jne 0x75db8ded
push 0x4c7
call dword [0x75e21ebc]
jmp 0x75db8df3
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x3fffffff
lea edx, reloc.ntdll.dll_NtClose
call fcn.75db986c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x48
Function at 0x75db90f1
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor eax, eax
mov ebx, edx
push esi
push edi
mov dword [ebp - 8], eax
mov edi, ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call dword [0x75e21dd4]
mov esi, eax
test esi, esi
js 0x75dc9b3f
mov ecx, ebx
xor eax, eax
mov word [edi], ax
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x75db9128
mov eax, dword [ebp - 8]
sub ecx, edx
add eax, 2
sar ecx, 1
lea ecx, [eax + ecx*2]
mov eax, dword fs:[0x30]
mov word [edi + 2], cx
mov edx, dword [eax + 0x18]
movzx eax, cx
push eax
push 8
push edx
call dword [0x75e221e0]
mov dword [edi + 4], eax
test eax, eax
je 0x75dc9b5e
lea eax, [ebp - 8]
push eax
push edi
call dword [0x75e21e0c]
push ebx
push edi
call dword [0x75e21df8]
lea eax, [ebp - 8]
push eax
call dword [0x75e21e9c]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push esi
push str.RtlFormatCurrentUserKeyPath_failed___x_
push 0x5c4
push str.AslRegistryBuildUserPath
push 1
call fcn.75e0e6b8
add esp, 0x14
jmp 0x75db9178
push str.Out_of_memory
push 0x5d0
push str.AslRegistryBuildUserPath
push 1
mov esi, 0xc0000017
call fcn.75e0e6b8
add esp, 0x10
jmp 0x75db9178
Function at 0x75dbcec2
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov edi, edi
push esi
mov esi, dword [0x75e509c8]
test esi, esi
je 0x75dbced3
mov eax, esi
pop esi
ret
push edi
push 0x800
push 0
push 0x75e248ec
mov esi, 0x7ffe0030
call dword [0x75e213c0]
mov edi, eax
test edi, edi
je 0x75dbcf18
push ebx
push 0x75e248d8
push edi
call dword [0x75e213a8]
mov ebx, eax
test ebx, ebx
je 0x75dbcf10
mov ecx, ebx
call dword [0x75e22218]
call ebx
mov esi, eax
push edi
call dword [0x75e213d8]
pop ebx
mov dword [0x75e509c8], esi
pop edi
jmp 0x75dbcecf
Function at 0x75dc4102
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov eax, ecx
xor esi, esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ebx, edx
mov dword [eax], esi
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
call dword [0x75e21ed4]
lea eax, [ebp - 8]
push eax
push esi
push esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [0x75e22190]
mov esi, eax
cmp esi, 0x80000005
je 0x75dc417e
cmp esi, 0xc0000023
je 0x75dc417e
cmp esi, 0xc0000034
je 0x75dc425d
push esi
push str.Failed_to_query_key_value___x_
push 0x494
push str.AslRegistryGetString
push 1
call fcn.75e0e6b8
add esp, 0x14
jmp 0x75dc425d
mov ecx, dword [ebp - 8]
mov eax, dword fs:[0x30]
add ecx, 2
push ecx
push 8
mov dword [ebp - 8], ecx
push dword [eax + 0x18]
call dword [0x75e221e0]
mov edi, eax
test edi, edi
jne 0x75dc41c2
push str.Out_of_memory
push 0x4a2
push str.AslRegistryGetString
push 1
mov esi, 0xc0000017
call fcn.75e0e6b8
add esp, 0x10
jmp 0x75dc425d
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x14]
push edi
push 2
push eax
push ebx
call dword [0x75e22190]
mov esi, eax
test esi, esi
jns 0x75dc41ea
push esi
push str.Failed_to_query_key_value___x_
push 0x4ae
jmp 0x75dc423d
cmp dword [edi + 4], 1
je 0x75dc4216
cmp dword [edi + 4], 2
je 0x75dc4216
push str.Invalid_value_type
push 0x4b6
push str.AslRegistryGetString
push 1
call fcn.75e0e6b8
add esp, 0x10
mov esi, 0xc0000024
jmp 0x75dc424c
mov eax, dword [edi + 8]
lea edx, [edi + 0xc]
shr eax, 1
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0xc]
call fcn.75db918f
mov esi, eax
test esi, esi
jns 0x75dc424c
push esi
push str.Out_of_memory___x_
push 0x4c0
push str.AslRegistryGetString
push 1
call fcn.75e0e6b8
add esp, 0x14
mov ecx, dword fs:[0x30]
mov edx, edi
mov ecx, dword [ecx + 0x18]
call fcn.75db9817
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x75dcd465
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
push esi
push edi
mov esi, dword [ebx + 0x28]
movzx ecx, word [esi + 6]
lea edi, [esi + 0x18]
movzx eax, word [esi + 0x14]
xor esi, esi
add edi, eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x75dcd4bc
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x75dcd496
sub ecx, dword [ebp - 4]
push ecx
push edx
push edi
call dword [0x75e21e58]
add esp, 0xc
test eax, eax
je 0x75dcd4c8
mov edx, dword [ebp - 0xc]
add edi, 0x28
inc esi
cmp esi, dword [ebp - 8]
jb 0x75dcd48e
mov eax, 0xc0000089
pop edi
pop esi
pop ebx
leave
ret 8
mov esi, dword [ebx + 0x2c]
cmp dword [edi + 0xc], esi
jae 0x75dcd4bc
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, dword [ebx + 4]
add edx, dword [edi + 0xc]
sub esi, dword [edi + 0xc]
mov dword [ecx], edx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
jmp 0x75dcd4c1

Function at 0x75dcd609
Capabilities:
Parse pe header

Disassembly:
mov edx, ecx
mov ecx, 0x5a4d
push esi
xor esi, esi
mov eax, dword [edx + 4]
cmp word [eax], cx
jne 0x75dcd641
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jle 0x75dcd641
add ecx, eax
cmp dword [ecx], reloc.ntdll.dll_NtClose
jne 0x75dcd641
mov eax, 0x14c
cmp word [ecx + 4], ax
jne 0x75dcd641
mov dword [edx + 0x28], ecx
inc esi
mov ecx, dword [ecx + 0x50]
mov dword [edx + 0x2c], ecx
mov eax, esi
pop esi
ret
Function at 0x75ddd3cc
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0xc]
test esi, esi
je 0x75ddd44d
mov eax, esi
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x75ddd3fc
mov eax, ecx
mov eax, dword [eax]
mov dword [esi + 0xc], eax
call fcn.75ddd4bd
mov ecx, dword [esi + 0xc]
mov eax, ecx
test ecx, ecx
jne 0x75ddd3e9
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x75ddd418
mov eax, ecx
mov eax, dword [eax]
mov dword [esi + 0x10], eax
call fcn.75ddd4bd
mov ecx, dword [esi + 0x10]
mov eax, ecx
test ecx, ecx
jne 0x75ddd405
mov eax, dword [esi + 4]
cmp dword [eax], 2
jne 0x75ddd432
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [0x75e221d0]
mov eax, dword fs:[0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [0x75e221d0]
mov esi, dword [edi + 0xc]
mov eax, esi
test esi, esi
jne 0x75ddd3db
mov esi, dword [edi + 0x10]
test esi, esi
je 0x75ddd4ae
mov eax, esi
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x75ddd477
mov eax, ecx
mov eax, dword [eax]
mov dword [esi + 0xc], eax
call fcn.75ddd4bd
mov ecx, dword [esi + 0xc]
mov eax, ecx
test ecx, ecx
jne 0x75ddd464
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x75ddd493
mov eax, ecx
mov eax, dword [eax]
mov dword [esi + 0x10], eax
call fcn.75ddd4bd
mov ecx, dword [esi + 0x10]
mov eax, ecx
test ecx, ecx
jne 0x75ddd480
mov eax, dword fs:[0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [0x75e221d0]
mov esi, dword [edi + 0x10]
mov eax, esi
test esi, esi
jne 0x75ddd456
mov ecx, edi
pop edi
pop esi
jmp fcn.75ddd52b

Function at 0x75ddd4bd
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push esi
push edi
mov esi, ecx
xor edi, edi
push dword [esi + 0x18]
push edi
push dword [eax + 0x18]
call dword [0x75e221d0]
mov eax, dword [esi + 4]
mov dword [esi + 0x18], edi
cmp dword [eax], 2
jne 0x75ddd4f5
push eax
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [0x75e221d0]
mov dword [esi + 4], edi
mov eax, dword [esi + 0xc]
cmp dword [eax], 2
jne 0x75ddd511
push eax
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [0x75e221d0]
mov dword [esi + 0xc], edi
mov eax, dword fs:[0x30]
push esi
push edi
push dword [eax + 0x18]
call dword [0x75e221d0]
pop edi
pop esi
ret