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

Disassembly:
push 0xffffffffffffffff
push 0x5ec2b4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x24], esp
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.004b4270
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x30], bl
mov ebx, eax
call fcn.004b46a0
mov edx, dword [esp + 0x38]
add esp, 0x1c
mov dword [esp + 0x20], eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.004b3a50
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret

Function at 0x4b41e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ec2b4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x24], esp
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.004b4270
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x30], bl
mov ebx, eax
call fcn.004b4810
mov edx, dword [esp + 0x38]
add esp, 0x1c
mov dword [esp + 0x20], eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.004b3a50
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret

Function at 0x4b46a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ec312
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
cmp esi, ebx
je 0x4b46fc
mov ecx, dword [esi]
mov eax, dword [esp + 0x20]
add ecx, 0xc
cmp dword [esp + 0x34], 8
jae 0x4b46e4
lea eax, [esp + 0x20]
mov edi, dword [esp + 0x30]
push eax
mov eax, dword [ecx + 0x14]
call fcn.0040f1a0
test eax, eax
je 0x4b46fc
add esi, 4
cmp esi, ebx
jne 0x4b46d0
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x4b4718
mov eax, dword [esp + 0x20]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], cx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4b4750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ec312
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
cmp esi, ebx
je 0x4b47c8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [eax]
jl 0x4b47b1
mov ecx, dword [esi]
mov eax, dword [esp + 0x20]
add ecx, 0xc
cmp dword [esp + 0x34], 8
jae 0x4b47a0
lea eax, [esp + 0x20]
mov edi, dword [esp + 0x30]
push eax
mov eax, dword [ecx + 0x14]
call fcn.0040f1a0
test eax, eax
je 0x4b47be
inc dword [esp + 0x3c]
add esi, 4
cmp esi, ebx
jne 0x4b4780
jmp 0x4b47c8
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [eax], edx
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x4b47e4
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004c4802
add esp, 4
xor edx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x4b4810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ec312
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
cmp esi, ebx
je 0x4b486c
mov ecx, dword [esi]
mov eax, dword [esp + 0x20]
add ecx, 0x28
cmp dword [esp + 0x34], 8
jae 0x4b4854
lea eax, [esp + 0x20]
mov edi, dword [esp + 0x30]
push eax
mov eax, dword [ecx + 0x14]
call fcn.0040f1a0
test eax, eax
je 0x4b486c
add esi, 4
cmp esi, ebx
jne 0x4b4840
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x4b4888
mov eax, dword [esp + 0x20]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], cx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x4b6630
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esi + 0x28]
sub esp, 8
mov dword [esi + 0x34], 0
test eax, eax
je 0x4b667f
lea ecx, [esp + 4]
push ecx
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 8]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4b6687
push eax
push 0x634000
mov dword [esi + 0x34], eax
call fcn.004a7cf0
add esp, 8
xor al, al
add esp, 8
ret 4
mov eax, dword [esp]
cmp eax, 4
je 0x4b66a5
push eax
push str.CRegistry::RegQueryValueForDWORD___:
call fcn.004a7cf0
add esp, 8
xor al, al
add esp, 8
ret 4
mov al, 1
add esp, 8
ret 4
Function at 0x4b66b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x41c
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x424]
push ebx
mov ebx, dword [edi + 0x28]
push ebp
mov ebp, dword [esp + 0x428]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 1
mov dword [edi + 0x34], 0
test ebx, ebx
jne 0x4b66f5
xor al, al
jmp 0x4b6831
push esi
push 0x40a
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x1c], 0x400
call fcn.005bfee0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push ebp
push ebx
call esi
test eax, eax
jne 0x4b6768
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x4b673f
cmp eax, 2
jne 0x4b6795
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b6746
mov esi, dword [esp + 0x14]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c]
call fcn.0040f730
jmp 0x4b682e
cmp eax, 0xea
je 0x4b6787
push eax
push 0x634200
mov dword [edi + 0x34], eax
call fcn.004a7cf0
add esp, 8
xor al, al
jmp 0x4b6830
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x4b67aa
cmp eax, 2
je 0x4b67aa
push eax
push 0x634138
call fcn.004a7cf0
add esp, 8
xor al, al
jmp 0x4b6830
mov edx, dword [esp + 0x10]
add edx, 0xa
push edx
call fcn.004c47f7
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4b67d1
push str.CRegistry::RegQueryValueForString___:
call fcn.004a7cf0
add esp, 4
xor al, al
jmp 0x4b6830
mov eax, dword [esp + 0x10]
add eax, 0xa
push eax
push 0
push ebx
call fcn.005bfee0
mov eax, dword [edi + 0x28]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x14]
push edx
push 0
push ebp
push eax
call esi
mov ebp, eax
test ebp, ebp
je 0x4b6819
push ebx
call fcn.004c4802
push ebp
push 0x634200
mov dword [edi + 0x34], ebp
call fcn.004a7cf0
add esp, 0xc
xor al, al
jmp 0x4b6830
mov ecx, dword [esp + 0x14]
push ecx
mov eax, ebx
call fcn.0040f7e0
push ebx
call fcn.004c4802
add esp, 4
mov al, 1
pop esi
mov ecx, dword [esp + 0x420]
pop ebp
pop ebx
xor ecx, esp
call fcn.005b7e8e
add esp, 0x41c
ret 8

Function at 0x4b6850
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
cmp dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
je 0x4b68a9
test edi, edi
je 0x4b68a9
mov eax, dword [ebx]
test eax, eax
je 0x4b68a9
push eax
push 0
push edi
mov dword [esp + 0xc], 3
call fcn.005bfee0
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x28]
add esp, 0xc
push ebx
push edi
lea eax, [esp + 8]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4b68af
push eax
push 0x634308
mov dword [esi + 0x34], eax
call fcn.004a7cf0
add esp, 8
xor al, al
pop ecx
ret 4
mov eax, dword [esp]
cmp eax, 3
je 0x4b68cb
push eax
push str.CRegistry::RegQueryValueForBinary___:
call fcn.004a7cf0
add esp, 8
xor al, al
pop ecx
ret 4
mov al, 1
pop ecx
ret 4
Function at 0x4b6be0
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [esi + 0x28]
mov dword [esp], 0
mov dword [esi + 0x34], 0
test eax, eax
je 0x4b6c1e
push 4
lea ecx, [esp + 4]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4b6c22
push eax
push str.CRegistry::RegSetValueForDWORD___:
mov dword [esi + 0x34], eax
call fcn.004a7cf0
add esp, 8
xor al, al
pop ecx
ret
mov al, 1
pop ecx
ret

Function at 0x4b6c30
Capabilities:
Set registry value

Disassembly:
cmp dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
je 0x4b6c72
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esp + 8]
push edi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4b6c77
push eax
push str.CRegistry::RegSetValueForString___:
mov dword [esi + 0x34], eax
call fcn.004a7cf0
add esp, 8
xor al, al
ret 4
mov al, 1
ret 4

Function at 0x4b6c80
Capabilities:
Delete registry value

Disassembly:
mov eax, dword [esi + 0x28]
mov dword [esi + 0x34], 0
test eax, eax
je 0x4b6cab
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4b6cae
push eax
push str.CRegistry::RegDelete___:
mov dword [esi + 0x34], eax
call fcn.004a7cf0
add esp, 8
xor al, al
ret
mov al, 1
ret
Function at 0x4b72f0
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x5f063b
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x44c]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
mov dword [esp + 0x454], ebx
push 0x414
lea ecx, [esp + 0x34]
push ebx
push ecx
mov dword [esp + 0x1c], 0x200
call fcn.005bfee0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, 1
jne 0x4b73eb
lea eax, [esp + 0x30]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b7380
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x34]
lea esi, [esp + 0x18]
call fcn.0040f730
mov eax, esi
call fcn.004bc320
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4b73ff
push str.SYSTEM
mov edi, 6
mov ecx, esi
call fcn.0040f1a0
test eax, eax
jne 0x4b73ff
mov dword [esp + 0x454], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x4b73e0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c4802
add esp, 4
xor edx, edx
mov word [esp + 0x18], dx
mov al, 1
jmp 0x4b7427
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CRegistry::CheckCurrentUser___:
call fcn.004a7cf0
add esp, 8
mov dword [esp + 0x454], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x4b741e
mov eax, dword [esp + 0x18]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov word [esp + 0x18], cx
xor al, al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 7
mov ecx, dword [esp + 0x44c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.005b7e8e
add esp, 0x448
ret
Function at 0x4b85c0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1014
call fcn.005c1b90
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
push esi
push 0x1000
lea eax, [esp + 0x14]
push 0
push eax
mov esi, ecx
call fcn.005bfee0
add esp, 0xc
push 0x800
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8607
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
call fcn.0040f730
lea edx, [esp + 0xc]
push edx
mov ebx, 1
xor eax, eax
mov edx, esi
mov dword [esp + 0x10], 0x5c
call fcn.0040a320
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b864a
or eax, 0xffffffff
call fcn.0040f280
mov eax, esi
call fcn.004bc320
mov ecx, dword [esp + 0x1014]
pop esi
pop ebx
xor ecx, esp
call fcn.005b7e8e
add esp, 0x1014
ret

Function at 0x4b8670
Capabilities:
Get common file path

Disassembly:
mov eax, 0x100c
call fcn.005c1b90
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push esi
push edi
push 0x1000
lea eax, [esp + 0x14]
push 0
push eax
mov esi, ecx
call fcn.005bfee0
add esp, 0xc
push 0x800
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
jmp 0x4b86c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b86c0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
call fcn.0040f730
or ecx, 0xffffffff
lea edi, [esp + 0xc]
mov ebx, esi
mov dword [esp + 0xc], 0x5c
call fcn.0040dd60
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b86fe
or eax, 0xffffffff
call fcn.0040f280
cmp byte [esp + 0x101c], 1
jne 0x4b870f
mov eax, esi
call fcn.004bc320
mov ecx, dword [esp + 0x1014]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b7e8e
add esp, 0x100c
ret

Function at 0x4b8730
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1010
call fcn.005c1b90
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x1008], eax
push esi
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.005bfee0
add esp, 0xc
push 0x800
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8776
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
call fcn.0040f730
mov eax, esi
call fcn.004bc320
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.005b7e8e
add esp, 0x1010
ret
Function at 0x4b87b0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1010
call fcn.005c1b90
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push esi
push edi
push 0x1000
lea eax, [esp + 0x14]
push 0
push eax
mov esi, ecx
call fcn.005bfee0
push str.ProgramFiles
call fcn.005b9ae9
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b8847
push 0x800
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x4b8826
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8810
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
jmp 0x4b8842
mov eax, edi
lea edx, [eax + 2]
jmp 0x4b8830
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8830
sub eax, edx
sar eax, 1
push eax
mov eax, edi
call fcn.0040f730
cmp dword [esi + 0x14], 0
jne 0x4b88b5
push 0x800
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8864
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
call fcn.0040f730
lea eax, [esp + 0xc]
push eax
mov ebx, 1
xor eax, eax
mov edx, esi
mov dword [esp + 0x10], 0x5c
call fcn.0040a320
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b88a7
or eax, 0xffffffff
call fcn.0040f280
push 0xe
mov eax, str.Program_Files
mov ecx, esi
call fcn.0040ec10
mov eax, esi
call fcn.004bc320
mov ecx, dword [esp + 0x1014]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b7e8e
add esp, 0x1010
ret

Function at 0x4b88e0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1010
call fcn.005c1b90
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push esi
push edi
push 0x1000
lea eax, [esp + 0x14]
push 0
push eax
mov esi, ecx
call fcn.005bfee0
push str.UserProfile
call fcn.005b9ae9
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b8977
push 0x800
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x4b8956
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8940
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
jmp 0x4b8972
mov eax, edi
lea edx, [eax + 2]
jmp 0x4b8960
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8960
sub eax, edx
sar eax, 1
push eax
mov eax, edi
call fcn.0040f730
cmp dword [esi + 0x14], 0
jne 0x4b89d7
push 0x800
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8994
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
call fcn.0040f730
lea eax, [esp + 0xc]
push eax
mov ebx, 1
xor eax, eax
mov edx, esi
mov dword [esp + 0x10], 0x5c
call fcn.0040a320
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b89d7
or eax, 0xffffffff
call fcn.0040f280
mov eax, esi
call fcn.004bc320
mov ecx, dword [esp + 0x1014]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b7e8e
add esp, 0x1010
ret
Function at 0x4b8a00
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1010
call fcn.005c1b90
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x1008], eax
push esi
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.005bfee0
add esp, 0xc
push 0
push 0x10
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8a47
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
call fcn.0040f730
mov eax, esi
call fcn.004bc320
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.005b7e8e
add esp, 0x1010
ret

Function at 0x4b8a80
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1010
call fcn.005c1b90
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x1008], eax
push esi
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.005bfee0
add esp, 0xc
push 0
push 2
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8ac7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
call fcn.0040f730
mov eax, esi
call fcn.004bc320
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.005b7e8e
add esp, 0x1010
ret

Function at 0x4b8b00
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1010
call fcn.005c1b90
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push esi
push edi
push 0x1000
lea eax, [esp + 0x14]
push 0
push eax
mov esi, ecx
call fcn.005bfee0
push str.Temp
call fcn.005b9ae9
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b8b97
push 0x800
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x4b8b76
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8b60
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
jmp 0x4b8b92
mov eax, edi
lea edx, [eax + 2]
jmp 0x4b8b80
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8b80
sub eax, edx
sar eax, 1
push eax
mov eax, edi
call fcn.0040f730
cmp dword [esi + 0x14], 0
jne 0x4b8bf7
push 0x800
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8bb4
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
call fcn.0040f730
lea eax, [esp + 0xc]
push eax
mov ebx, 1
xor eax, eax
mov edx, esi
mov dword [esp + 0x10], 0x5c
call fcn.0040a320
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b8bf7
or eax, 0xffffffff
call fcn.0040f280
mov eax, esi
call fcn.004bc320
mov ecx, dword [esp + 0x1014]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b7e8e
add esp, 0x1010
ret
Function at 0x4b8c20
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1010
call fcn.005c1b90
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x1008], eax
push esi
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.005bfee0
add esp, 0xc
push 0
push 0x20
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8c67
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
call fcn.0040f730
mov eax, esi
call fcn.004bc320
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.005b7e8e
add esp, 0x1010
ret

Function at 0x4b97a0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x814
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebp
mov ebp, dword [esp + 0x81c]
push esi
push 0
mov eax, 0x622024
mov esi, ebp
mov dword [esp + 0x10], 0x400
mov dword [esp + 0xc], 0
call fcn.0040f730
push 0
mov eax, 0x622024
mov esi, edi
call fcn.0040f730
mov eax, dword [esp + 0xc]
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x14]
push 0
push edx
call fcn.005bfee0
mov al, byte [esp + 0x830]
add esp, 0xc
cmp al, 1
jne 0x4b9824
push ebx
push edi
push ebp
call fcn.004b98a0
add esp, 0xc
cmp al, 1
jne 0x4b9828
mov dword [esp + 8], 1
jmp 0x4b9828
test al, al
je 0x4b982e
cmp dword [ebp + 0x14], 0
jne 0x4b9881
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [esp + 8], eax
cmp eax, 1
jne 0x4b986d
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b9850
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
mov esi, ebp
call fcn.0040f730
jmp 0x4b9881
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CRegularParser::GetLogonUserName___:
call fcn.004a7cf0
add esp, 8
cmp dword [esp + 8], 1
mov ecx, dword [esp + 0x814]
pop esi
sete al
pop ebp
xor ecx, esp
call fcn.005b7e8e
add esp, 0x814
ret