joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4184ef
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x38
mov eax, 0x4521f7
call fcn.00421b9a
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
push eax
push 0
push 0x40000001
push dword [edi]
push esi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov ecx, ebx
test eax, eax
jne 0x41852e
call fcn.0040360d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4186b8
push dword [ebp - 0x14]
call fcn.00410a28
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x40000001
push dword [edi]
push esi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov ecx, ebx
test eax, eax
jne 0x41855a
push 0xffffffffffffffff
call fcn.00416837
mov ecx, ebx
jmp 0x41851e
push dword [ebp - 0x14]
call fcn.00403c7e
lea eax, [ebp - 0x20]
push 0x456dbc
push eax
call fcn.0040fd75
pop ecx
pop ecx
push dword [0x46fae4]
and dword [ebp - 4], 0
mov ecx, eax
push 0
call fcn.00404efd
push eax
mov ecx, ebx
call fcn.00416b10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00404a45
cmp dword [ebp + 0x14], 0
je 0x4186b6
lea eax, [ebp - 0x2c]
push str.YHEe
push eax
call fcn.0040fd75
mov edi, eax
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push 0x456dcc
push eax
call fcn.0040fd75
add esp, 0x10
mov esi, eax
push 0
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00404efd
push eax
push 0
mov ecx, esi
call fcn.00404efd
push eax
mov ecx, ebx
call fcn.00416b10
lea ecx, [ebp - 0x20]
call fcn.00404a45
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404a45
lea eax, [ebp - 0x20]
push str.YHAc
push eax
call fcn.0040fd75
mov edi, eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 3
push 0x456ddc
push eax
call fcn.0040fd75
add esp, 0x10
mov esi, eax
push 0
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00404efd
push eax
push 0
mov ecx, esi
call fcn.00404efd
push eax
mov ecx, ebx
call fcn.00416b10
lea ecx, [ebp - 0x2c]
call fcn.00404a45
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00404a45
lea eax, [ebp - 0x44]
push str.YHAY
push eax
call fcn.0040fd75
mov edi, eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 5
push str.bg
push eax
call fcn.0040fd75
add esp, 0x10
mov esi, eax
push 0
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00404efd
push eax
push 0
mov ecx, esi
call fcn.00404efd
push eax
mov ecx, ebx
call fcn.00416b10
lea ecx, [ebp - 0x38]
call fcn.00404a45
lea ecx, [ebp - 0x44]
call fcn.00404a45
xor eax, eax
call fcn.00421b49
ret
Function at 0x4186be
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x9c
mov eax, 0x452237
call fcn.00421b9a
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
push 0xfde9
push dword [ebp + 8]
xor edi, edi
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xa8], eax
call fcn.00403870
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00402197
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], eax
je 0x418732
push dword [ebp - 0xa8]
call fcn.0041ecf3
pop ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 0xc]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x4187b9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add eax, dword [ebx + 0x1c]
push eax
mov dword [ecx], eax
call fcn.0041d90c
mov ecx, dword [ebp - 0x20]
mov dword [esi], eax
push dword [ecx]
push edi
push eax
call fcn.00420c80
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
push dword [esi]
call fcn.00420bf4
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebx + 0x1c]
mov ecx, dword [eax - 0xc]
add esi, dword [edx]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
push esi
call fcn.00420bf4
add esp, 0x30
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push eax
push esi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x4187c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00403c62
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00403c62
mov eax, edi
call fcn.00421b49
ret 0xc
Function at 0x4187e1
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x9c
mov eax, 0x452237
call fcn.00421b9a
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
push 0xfde9
push dword [ebp + 8]
xor esi, esi
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xa8], eax
call fcn.00403870
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00402197
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], eax
je 0x418855
push dword [ebp - 0xa8]
call fcn.0041ecf3
pop ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 0xc]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push 1
push esi
push dword [edi + 4]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
call edi
test eax, eax
je 0x4188c4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push eax
mov dword [ecx], eax
call fcn.0041d90c
mov ecx, dword [ebp - 0x20]
mov dword [ebx], eax
push dword [ecx]
push esi
push eax
call fcn.00420c80
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
push dword [ebx]
call fcn.00420bf4
add esp, 0x20
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push eax
push dword [ebx]
mov eax, dword [ebp - 0x24]
push esi
push 1
push esi
push dword [eax + 4]
call edi
test eax, eax
jne 0x4188cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00403c62
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00403c62
mov eax, esi
call fcn.00421b49
ret 0xc
Function at 0x41b9e5
Capabilities:
Set registry value

Disassembly:
push 0x18
mov eax, 0x45281f
call fcn.00421b67
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
xor edx, edx
mov dword [ebp - 4], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
push dword [ebp + 0x24]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x20006
push eax
push ecx
push ebx
call fcn.00414d8d
mov edi, dword [ebp - 0x10]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x41ba58
cmp byte [ebp + 0x28], 0
je 0x41ba54
push dword [ebp + 0x24]
push edi
push ebx
call fcn.0040fd08
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x41ba9f
push dword [ebp + 0x24]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
call fcn.00414d8d
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x41ba9f
mov esi, dword [ebp + 0x18]
lea ecx, [ebp + 0x14]
sub esi, dword [ebp + 0x14]
push eax
call fcn.00404efd
push esi
push eax
push dword [ebp + 0x20]
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0040f7a7
lea ecx, [ebp - 0x20]
call fcn.0040f7a7
lea ecx, [ebp + 0x14]
call fcn.00404a45
mov eax, esi
call fcn.00421b35
ret

Function at 0x41bcc8
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x45287d
call fcn.00421b9a
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x41bdbf
cmp byte [ebx + 0x45], 0
je 0x41bdbf
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x41bcfd
xor al, al
jmp 0x41bdc1
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00404e36
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41bd57
dec eax
je 0x41bd5b
dec eax
dec eax
je 0x41bdad
xor bl, bl
jmp 0x41bdaf
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x41bd93
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00423a75
add esp, 0x10
cmp esi, eax
jne 0x41bd53
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x45], 0
je 0x41bdad
test esi, esi
jne 0x41bd21
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00404c2c
jmp 0x41bd1b
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00404942
mov al, bl
jmp 0x41bdc1
mov al, 1
call fcn.00421b49
ret
Function at 0x426ba4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x43c1dc
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46d290]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00427f9f
mov dword [ebp - 0x14], eax
cmp dword [0x470ff8], esi
jne 0x43c2cf
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x43c25c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43c3af
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x43c3af
push 0x4617a8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43c3af
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x470ff8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x470ffc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x471000], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x471008], eax
test eax, eax
je 0x43c2cc
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x471004], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43c2f4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43c2e7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x43c309
push 4
pop eax
jmp 0x43c3b1
cmp dword [ebp - 0x14], esi
je 0x43c309
push dword [0x470ff8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x43c2ee
mov eax, dword [0x471004]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x43c367
cmp dword [0x471008], edi
je 0x43c367
push eax
call ebx
push dword [0x471008]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x43c367
test eax, eax
je 0x43c367
call ecx
test eax, eax
je 0x43c35c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43c35c
test byte [ebp - 8], 1
jne 0x43c367
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x43c397
mov eax, dword [0x470ffc]
cmp eax, edi
je 0x43c394
push eax
call ebx
test eax, eax
je 0x43c394
call eax
mov esi, eax
test esi, esi
je 0x43c394
mov eax, dword [0x471000]
cmp eax, edi
je 0x43c394
push eax
call ebx
test eax, eax
je 0x43c394
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x470ff8]
call ebx
test eax, eax
je 0x43c3af
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x43c3b1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421ac3
mov esp, ebp
pop ebp
ret
Function at 0x99768c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9976b3
call fcn.00939c18
mov dword [eax], esi
call fcn.00939c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093a85a
mov eax, esi
jmp 0x997708
test dword [ebp + 0xc], 0xfffffff9
jne 0x997699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9976e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00939c2b
pop ecx
call fcn.00939c05
mov eax, dword [eax]
jmp 0x997708
test al, 0x10
jne 0x997706
test al, 1
je 0x997706
test byte [ebp + 0xc], 2
je 0x997706
call fcn.00939c18
mov dword [eax], 5
call fcn.00939c05
mov dword [eax], 0xd
jmp 0x9976d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x20113520
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x14bc097b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x433006
Capabilities:
Encode data using base64
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0xd431b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00d43140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00d43140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00d43140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00d43140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xd43bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xd43c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xd5587c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xd43c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xd43c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4065c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x406649
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403778
mov dword [ebp - 4], 0x64
mov eax, dword [ebp - 4]
call fcn.00402850
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0x108]
mov edx, ebx
call fcn.00402cc8
lea edx, [ebp - 0x108]
lea eax, [ebp - 8]
call fcn.004039dc
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, 0x406660
call fcn.00403a60
mov eax, ebx
call fcn.00402880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406650
lea eax, [ebp - 8]
call fcn.00403778
ret

Function at 0x406664
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4066ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403778
mov dword [ebp - 4], 0x64
mov eax, dword [ebp - 4]
call fcn.00402850
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0x108]
mov edx, ebx
call fcn.00402cc8
lea edx, [ebp - 0x108]
lea eax, [ebp - 8]
call fcn.004039dc
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, 0x406704
call fcn.00403a60
mov eax, ebx
call fcn.00402880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066f4
lea eax, [ebp - 8]
call fcn.00403778
ret

Function at 0x406708
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x406791
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403778
mov dword [ebp - 4], 0x64
mov eax, dword [ebp - 4]
call fcn.00402850
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0x108]
mov edx, ebx
call fcn.00402cc8
lea edx, [ebp - 0x108]
lea eax, [ebp - 8]
call fcn.004039dc
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, 0x4067a8
call fcn.00403a60
mov eax, ebx
call fcn.00402880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406798
lea eax, [ebp - 8]
call fcn.00403778
ret

Function at 0x4067ac
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x406835
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403778
mov dword [ebp - 4], 0x64
mov eax, dword [ebp - 4]
call fcn.00402850
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0x108]
mov edx, ebx
call fcn.00402cc8
lea edx, [ebp - 0x108]
lea eax, [ebp - 8]
call fcn.004039dc
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, 0x40684c
call fcn.00403a60
mov eax, ebx
call fcn.00402880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40683c
lea eax, [ebp - 8]
call fcn.00403778
ret
Function at 0x406850
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4068d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403778
mov dword [ebp - 4], 0x64
mov eax, dword [ebp - 4]
call fcn.00402850
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0x108]
mov edx, ebx
call fcn.00402cc8
lea edx, [ebp - 0x108]
lea eax, [ebp - 8]
call fcn.004039dc
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, 0x4068f0
call fcn.00403a60
mov eax, ebx
call fcn.00402880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4068e0
lea eax, [ebp - 8]
call fcn.00403778
ret

Function at 0x4068f4
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x406969
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403778
mov dword [ebp - 4], 0x64
mov eax, dword [ebp - 4]
call fcn.00402850
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403970
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, 0x406980
call fcn.00403a60
mov eax, ebx
call fcn.00402880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406970
lea eax, [ebp - 8]
call fcn.00403778
ret

Function at 0x406984
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4069f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403778
mov dword [ebp - 4], 0x64
mov eax, dword [ebp - 4]
call fcn.00402850
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403970
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, 0x406a10
call fcn.00403a60
mov eax, ebx
call fcn.00402880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a00
lea eax, [ebp - 8]
call fcn.00403778
ret

Function at 0x406a14
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x406a89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403778
mov dword [ebp - 4], 0x64
mov eax, dword [ebp - 4]
call fcn.00402850
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403970
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, 0x406aa0
call fcn.00403a60
mov eax, ebx
call fcn.00402880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a90
lea eax, [ebp - 8]
call fcn.00403778
ret