joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436c48
Capabilities:
Create pipe
Read file on windows
Read pipe

Disassembly:
mov eax, 0x69ebab
call fcn.006426c4
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x2c], 0xc
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [ebp - 0x10]
push 2
push ebx
push ebx
push eax
call esi
push eax
push dword [ebp - 0x18]
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.005a1617
mov esi, dword [ebp + 8]
mov cl, al
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x436cd5
mov eax, dword [esi]
jmp 0x436cd7
mov eax, esi
xor edx, edx
mov word [eax], dx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
test cl, cl
je 0x436dc8
push edi
push 0x104
call fcn.00460621
xor ecx, ecx
mov ebx, eax
mov edi, ecx
mov byte [ebp + 0x13], cl
jmp 0x436d6b
cmp dword [ebp + 0xc], 0
jne 0x436d2b
cmp byte [ebp + 0x13], 0
jne 0x436d80
push 0xc8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
je 0x436d69
mov byte [ebp + 0x13], 1
jmp 0x436d69
push 0
lea eax, [ebp + 0xc]
push eax
mov eax, 0x103
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x436d51
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x436d67
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
je 0x436d80
cmp edi, 0x103
je 0x436d80
mov eax, dword [ebp + 0xc]
add edi, eax
xor ecx, ecx
push ecx
lea eax, [ebp + 0xc]
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
test eax, eax
jne 0x436d04
push ebx
lea eax, [ebp - 0x44]
mov byte [edi + ebx], 0
push eax
call fcn.0047e93b
push eax
mov ecx, esi
call fcn.00428071
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004285f6
push 1
push ebx
call fcn.00460614
cmp dword [ebp + 0x18], 0
pop edi
je 0x436dbd
push dword [ebp + 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x436dd2
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x436dd2
or dword [eax], 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43776c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
jmp 0x4377f0
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 8]
push eax
push 0x7530
push 1
push 0x40000000
push 1
push 0x16
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x4377c7
push dword [ebp - 4]
push eax
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x43780f
test edi, edi
je 0x43780f
push dword [ebp - 4]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x4377f0
push 0x7530
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0x79587c
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x437775
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push esi
push str.TerminateSessionClientInstances_failed__hp:0x_X_result:_d_n
call fcn.0040e6e4
add esp, 0xc
xor al, al
jmp 0x437809
Function at 0x4380e9
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x69ed4f
call fcn.006426c4
sub esp, 0x24c
cmp byte [0x7b4ee6], 0
push esi
push edi
jne 0x4381c5
test byte [0x7b11d4], 2
jne 0x4381c5
cmp byte [ebp + 8], 0
je 0x4381b1
push ebx
push 0x22
pop esi
push 0x104
lea eax, [ebp - 0x256]
mov word [ebp - 0x258], si
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor ecx, ecx
mov word [ebp + eax*2 - 0x254], cx
lea ecx, [ebp - 0x24]
mov word [ebp + eax*2 - 0x256], si
lea eax, [ebp - 0x258]
push eax
call fcn.00429d77
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], edi
push eax
call fcn.00432727
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
xor esi, esi
mov bl, al
push edi
inc esi
push esi
call fcn.004285f6
test bl, bl
pop ebx
jne 0x4381c5
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00429d77
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], esi
push eax
call fcn.00438340
push edi
push esi
lea ecx, [ebp - 0x3c]
call fcn.004285f6
jmp 0x4381c5
push 0x6c4264
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.00486780
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x438340
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x6b10e9
call fcn.006426c4
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x438360
xor al, al
jmp 0x438416
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], edi
mov word [ebp - 0x24], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], edi
cmp dword [eax + 0x10], edi
je 0x4383a4
cmp dword [eax + 0x14], 8
jb 0x438383
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x43838d
mov ecx, dword [esi]
jmp 0x43838f
mov ecx, esi
push eax
push ecx
lea eax, [ebp - 0x3c]
push 0x6c5100
push eax
call fcn.00465d7f
add esp, 0x10
jmp 0x4383c2
cmp dword [esi + 0x14], 8
jb 0x4383ae
mov eax, dword [esi]
jmp 0x4383b0
mov eax, esi
push eax
lea eax, [ebp - 0x3c]
push 0x6c408c
push eax
call fcn.00465d7f
add esp, 0xc
push eax
lea ecx, [ebp - 0x24]
call fcn.00428071
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.004285f6
cmp dword [ebp - 0x14], 0
je 0x4383ec
cmp dword [ebp - 0x10], 8
jb 0x4383e7
mov esi, dword [ebp - 0x24]
jmp 0x4383f4
lea esi, [ebp - 0x24]
jmp 0x4383f4
cmp dword [esi + 0x14], 8
jb 0x4383f4
mov esi, dword [esi]
push esi
push 0x6c4264
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.00486aa4
push edi
push 1
lea ecx, [ebp - 0x24]
call fcn.004285f6
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x438525
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x6bcd16
call fcn.006426c4
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x43862a
cmp byte [esi + 0x3e], bl
je 0x43862a
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x43856a
xor al, al
jmp 0x43862c
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.004390e9
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x438597
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4385c2
sub eax, 1
je 0x4385c6
dec eax
sub eax, 1
je 0x438618
xor bl, bl
jmp 0x43861a
mov byte [esi + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x4385d6
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
sub ebx, ecx
je 0x4385fe
cmp eax, 0x10
jae 0x4385e5
lea edi, [ebp - 0x28]
push dword [esi + 0x4c]
push ebx
push 1
push edi
call fcn.0066a30b
add esp, 0x10
cmp ebx, eax
jne 0x4385be
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x3e], 0
je 0x438618
test ebx, ebx
jne 0x43858b
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040ea03
jmp 0x438585
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040f95f
mov al, bl
jmp 0x43862c
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4433a4
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov eax, 0x69f5e0
call fcn.006426c4
sub esp, 0x1c
push ebx
push esi
push edi
push 2
xor ebx, ebx
mov esi, ecx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], ebx
test edi, edi
jns 0x4433d7
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x44352c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push 0x6cafd4
push 1
push ebx
push 0x6cafc4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x443401
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x44351b
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 3
call dword [ecx + 0x48]
mov edi, eax
test edi, edi
jns 0x443425
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x44350a
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 6
call fcn.0049494b
push 1
push eax
mov ecx, esi
call fcn.00442c79
mov esi, eax
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
test eax, eax
je 0x443454
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov eax, dword [edi]
push ecx
push esi
push edi
call dword [eax + 0x28]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, eax
test edi, edi
jns 0x443476
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x4434f2
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
and dword [ebp - 0x14], 0
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xb
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
js 0x4434be
cmp dword [ebp - 0x14], 0
je 0x4434f2
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.00667f5f
pop ecx
pop ecx
test eax, eax
jne 0x4434e7
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
mov edi, eax
test edi, edi
jns 0x4434c6
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x4434e7
cmp word [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
je 0x4434d5
mov byte [eax], 1
jmp 0x4434e7
push dword [ebp + 8]
mov byte [eax], 0
push str.Authorized_application__lS_is_disabled_in_the_firewall._n
call fcn.004288de
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0
je 0x4434f2
push dword [ebp - 0x14]
call ebx
test esi, esi
je 0x4434f9
push esi
call ebx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x15
test eax, eax
je 0x44350a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x44351b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x17
test ecx, ecx
je 0x44352c
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x443547
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
mov eax, 0x69f640
call fcn.006426c4
sub esp, 0x4c
push ebx
push edi
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
push 0x6caf78
push 1
push ebx
push 0x6caf68
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x4436d0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 2
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
js 0x4436bf
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 5
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
js 0x4436ae
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 9
call dword [ecx + 0x50]
mov edi, eax
mov eax, dword [ebp - 0x14]
test edi, edi
js 0x4436a0
test eax, eax
je 0x4436a0
push dword [ebp + 8]
lea ecx, [ebp - 0x58]
call fcn.00429d77
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
call fcn.00440cce
cmp dword [eax + 0x14], 8
jb 0x443605
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x28], esi
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004285f6
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004285f6
test esi, esi
jne 0x443633
mov edi, 0x8007000e
jmp 0x44369c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], ebx
push esi
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0x15
call dword [ecx + 0x28]
test eax, eax
js 0x44366e
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edi, eax
test edi, edi
js 0x443684
cmp word [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
je 0x443673
mov byte [eax], 1
jmp 0x443684
mov eax, dword [ebp + 0xc]
mov edi, ebx
push dword [ebp + 8]
mov byte [eax], bl
push str.Authorized_application__lS_is_disabled_in_the_firewall._n
call fcn.004288de
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x443695
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
pop esi
mov byte [ebp - 4], 0x21
test eax, eax
je 0x4436ae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x22
test eax, eax
je 0x4436bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x23
test eax, eax
je 0x4436d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0x24
test ecx, ecx
je 0x4436e4
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x447a6d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00429756
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x447a8f
lea eax, [ebp - 0x18]
push esi
push 0x14
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.00583975
lea ecx, [ebp - 0x68]
push ecx
push eax
push dword [ebp + 8]
call fcn.004455cb
push 0
push 1
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.004285f6
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x448fec
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x7aa378]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
push 0x228
mov esi, eax
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0065d010
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
jne 0x449048
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or eax, 0xffffffff
jmp 0x449084
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov edi, eax
cmp dword [ebp - 0x228], edi
je 0x449076
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x449051
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or eax, 0xffffffff
jmp 0x449083
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x218]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00642c5e
mov esp, ebp
pop ebp
ret

Function at 0x449c93
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x7aa378]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x44]
push esi
mov esi, dword [ebp + 8]
push 0x40
push 0
push eax
call fcn.0065d010
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x1f
push eax
push 0x5a
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00447fb7
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00642c5e
mov esp, ebp
pop ebp
ret 4

Function at 0x449d92
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x7aa378]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x44]
push esi
mov esi, dword [ebp + 8]
push 0x40
push 0
push eax
call fcn.0065d010
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x1f
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00447fb7
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00642c5e
mov esp, ebp
pop ebp
ret 4
Function at 0x449f50
Capabilities:
Get file version info

Disassembly:
push ebp
sub esp, 0x2a4
lea ebp, [esp - 4]
mov eax, dword [0x7aa378]
xor eax, ebp
mov dword [ebp + 0x2a4], eax
push 0xbc
mov eax, 0x6a016f
call fcn.00642ca6
mov eax, dword [ebp + 0x2b0]
xor edi, edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x9c]
push 0x104
push eax
push edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x9c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x449fdf
push 0x6cd8b0
lea ecx, [ebp + 0x80]
call fcn.00447f6e
mov dword [ebp - 4], edi
push edi
lea eax, [ebp + 0x80]
push eax
lea ecx, [ebp]
call fcn.00457b65
push 0x753cbc
lea eax, [ebp]
push eax
call fcn.0065ab74
push esi
call fcn.0066ade0
pop ecx
mov ebx, eax
lea eax, [ebp + 0x9c]
push ebx
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x44a021
push ebx
call fcn.0066addb
lea ecx, [ebp + 0x80]
mov dword [esp], str.GetFileVersionInfo_failed
call fcn.00447f6e
mov dword [ebp - 4], 1
jmp 0x449fc1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x6c4990
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x44a05c
push ebx
call fcn.0066addb
lea ecx, [ebp + 0x80]
mov dword [esp], str.VerQueryValue_failed
call fcn.00447f6e
mov dword [ebp - 4], 2
jmp 0x449fc1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.StringFileInfo040904E4SpecialBuild
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44a08d
push 0x6cdabc
push dword [ebp - 0x1c]
call fcn.0065d16a
neg eax
pop ecx
sbb eax, eax
neg eax
pop ecx
mov dword [ebp - 0x10], eax
jmp 0x44a090
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x24]
movzx ecx, word [eax + 0xa]
movzx esi, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx ebx, word [eax + 0xc]
mov dword [ebp - 0x28], ecx
call fcn.0066addb
pop ecx
push 1
push 2
lea ecx, [ebp - 0xc8]
call fcn.00441b16
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xc8]
shl eax, 4
or eax, esi
mov dword [ebp - 4], 3
shl eax, 4
or eax, edi
add eax, eax
or eax, dword [ebp - 0x10]
shl eax, 0x10
or eax, ebx
push eax
call fcn.00441d13
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00444896
mov ecx, dword [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.00447f01
push 0
push 1
lea ecx, [ebp + 0x68]
call fcn.0040f95f
lea ecx, [ebp - 0xc8]
call fcn.00441f78
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a4]
xor ecx, ebp
call fcn.00642c5e
lea esp, [ebp + 0x2a8]
pop ebp
ret 4
Function at 0x44d703
Capabilities:
Terminate process

Disassembly:
push 0x4c
mov eax, 0x6a087c
call fcn.00642cda
mov esi, ecx
push 0x2710
call fcn.0045ab1f
mov ecx, dword [esi + 0x44]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0x7479ec
lea ecx, [ebp - 0x58]
call fcn.0040f32f
xor edi, edi
lea ecx, [ebp - 0x40]
push str.exitProcessDidNotExit
mov dword [ebp - 4], edi
call fcn.0040f32f
push str.failGeneral
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040f32f
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.004514b6
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.0040f95f
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.0040f95f
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.0040f95f
push dword [ebp + 8]
call fcn.0066b03d
int3

Function at 0x44d7f5
Capabilities:
Get session information
Get session user name

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0044a919
test al, al
jne 0x44d80a
xor eax, eax
jmp 0x44d85a
call dword [sym.imp.KERNEL32.DLL_WTSGetActiveConsoleSessionId]
lea ecx, [esp + 0x14]
xor edi, edi
push ecx
lea ecx, [esp + 0x14]
push ecx
push 5
push eax
push edi
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
mov esi, dword [esp + 0x1c]
mov ecx, esi
push dword [esp + 0x10]
mov eax, dword [esi]
call dword [eax + 0x44]
mov ebx, dword [esp + 0x20]
push ebx
sub esp, 0x1c
mov ecx, esp
push esi
call fcn.00447ed3
mov ecx, ebp
call fcn.0044db8e
cmp dword [esi + 0x14], edi
jne 0x44d855
cmp dword [ebx + 0x14], edi
je 0x44d858
xor edi, edi
inc edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8
Function at 0x44db8e
Capabilities:
Get user security identifier

Disassembly:
push 0x64
mov eax, 0x6a0975
call fcn.00642cda
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x6c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x1c], ebx
je 0x44dd2a
cmp dword [ebp + 0x20], 8
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
jae 0x44dbc0
lea edi, [ebp + 0xc]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
lea eax, [ebp - 0x60]
push eax
push ebx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x44dd2a
push dword [ebp - 0x60]
call fcn.00642a25
mov esi, eax
pop ecx
test esi, esi
je 0x44dd2a
push dword [ebp - 0x60]
push ebx
push esi
call fcn.0065d010
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00642a25
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x44dc2d
push esi
call fcn.006426f2
jmp 0x44dd29
push dword [ebp - 0x5c]
push 0
push ebx
call fcn.0044153e
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.DLL_SetLastError]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
lea eax, [ebp - 0x60]
push eax
push esi
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x44dd11
lea eax, [ebp - 0x68]
push eax
push esi
call sub.ADVAPI32.dll_ConvertSidToStringSidW
xor eax, eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
push dword [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00428864
pop ecx
push eax
push dword [ebp - 0x68]
lea ecx, [ebp - 0x28]
call fcn.00439135
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
mov edx, ecx
jae 0x44dcb6
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
lea eax, [edx + eax*2]
jae 0x44dcc5
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x61]
push edx
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.00441778
mov edi, dword [ebp - 0x6c]
mov ecx, edi
push eax
mov byte [ebp - 4], 3
mov edx, dword [edi]
call dword [edx + 0x4c]
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.0040f95f
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004285f6
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0040f95f
jmp 0x44dd14
mov edi, dword [ebp - 0x6c]
push ebx
call fcn.006426f2
push esi
call fcn.006426f2
xor ebx, ebx
cmp dword [edi + 0x14], ebx
pop ecx
setne bl
pop ecx
lea ecx, [ebp + 8]
call fcn.0044803c
mov eax, ebx
call fcn.00642c84
ret 0x20