joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x2a813680
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
mov ecx, 0x2fdd7143
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40daae
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427400]
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.00409055
mov dword [ebp - 0x14], eax
cmp dword [0x42cff8], esi
jne 0x40dba1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40db2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40dc81
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40dc81
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40dc81
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42cff8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42cffc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42d000], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42d008], eax
test eax, eax
je 0x40db9e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42d004], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40dbc6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40dbb9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40dbdb
push 4
pop eax
jmp 0x40dc83
cmp dword [ebp - 0x14], esi
je 0x40dbdb
push dword [0x42cff8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40dbc0
mov eax, dword [0x42d004]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40dc39
cmp dword [0x42d008], edi
je 0x40dc39
push eax
call ebx
push dword [0x42d008]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40dc39
test eax, eax
je 0x40dc39
call ecx
test eax, eax
je 0x40dc2e
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 0x40dc2e
test byte [ebp - 8], 1
jne 0x40dc39
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40dc69
mov eax, dword [0x42cffc]
cmp eax, edi
je 0x40dc66
push eax
call ebx
test eax, eax
je 0x40dc66
call eax
mov esi, eax
test esi, esi
je 0x40dc66
mov eax, dword [0x42d000]
cmp eax, edi
je 0x40dc66
push eax
call ebx
test eax, eax
je 0x40dc66
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42cff8]
call ebx
test eax, eax
je 0x40dc81
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40dc83
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405c2b
mov esp, ebp
pop ebp
ret
Function at 0x405fc8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x405fe1
cmp dword [esi], 2
jae 0x405fe1
push 0x7a
pop eax
jmp 0x40603f
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40603f
cmp dword [ebp + 0x10], 7
je 0x40600f
push 0xd
jmp 0x405fde
mov ecx, dword [ebp + 0xc]
test edi, edi
je 0x406039
test cl, 1
jne 0x40600b
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x40600b
cmp word [edi + eax*2 - 2], 0
jne 0x40600b
cmp eax, 1
jbe 0x406039
cmp word [edi + eax*2 - 4], 0
jne 0x40600b
shr ecx, 1
mov dword [esi], ecx
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4068ce
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.00406633
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.004065e8
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x406911
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00406623
xchg esi, eax
fild dword [edx]
invalid
invalid
inc ebp

Function at 0x4069f5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub dh, al
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov dword [0xa445c624], eax
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.00406633
push eax
push esi
push dword [ebp + 8]
Function at 0x406a34
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.004065e8
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00406633
push eax
push esi
push dword [ebp + 8]
call fcn.004065e8
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00406623
in al, dx
adc eax, 0x9d8820aa
jl 0x406aa8
invalid
invalid

Function at 0x406e98
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00406633
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004065e8
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
Function at 0x40731e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dword [eax], eax
add byte [eax - 0x6b75b], al
inc dword [eax]
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.00406633
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004065e8
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.00406623
aaa
fsub dword [eax]
jge 0x407459
push dword [ebp - 0x698]
lea eax, [ebp - 0x6c0]
push eax
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004067ff
add esp, 0x14
call fcn.00406623
pop ebx
in al, dx
ret 0xff37
mov ch, 0x68
stc
invalid

Function at 0x4074f3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
inc eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00406601
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
jmp dword [esi]
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
xor dh, al
test dword [eax + 0x38fffffc], esp

Function at 0x40759f
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings

Disassembly:
xor dh, al
test dword [eax + 0x38fffffc], esp
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
Function at 0x407fc6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dword [eax - 0x7b], ebx
ror byte [edi], 0x84
stc
push es
add byte [eax], al
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x40819e
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
inc dword [eax]
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
invalid
invalid
mov bh, al
invalid
invalid
Function at 0x40a8f4
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x40a945
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x40a956
push 0xd
pop eax
jmp 0x40a983
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40a959
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x40b2eb
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x482910]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x18
mov eax, 0x45c6f4
call fcn.00444bf7
mov eax, dword [ebp + 0x20c]
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
lea ecx, [ebp - 0x14]
call fcn.00405f87
mov ebx, eax
cmp ebx, esi
je 0x40b373
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405f6c
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.00444be8
add ebp, 0x204
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40b38b
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b2eb
cmp eax, esi
jne 0x40b3bd
lea eax, [ebp - 0x24]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x100
call ebx
test eax, eax
je 0x40b37b
lea ecx, [ebp - 0x14]
call fcn.00405f6c
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.0040a83f
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405f6c
mov eax, esi
jmp 0x40b34e
Function at 0x40e354
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x404
lea ebp, [esp - 4]
mov eax, dword [0x482910]
xor eax, ebp
mov dword [ebp + 0x404], eax
push 0x20
mov eax, 0x45ccc6
call fcn.00444c2a
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
mov edi, dword [ebp + 0x418]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
mov byte [ebp - 4], 1
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x40e3bc
call fcn.00409e2b
mov esi, eax
jmp 0x40e4c1
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x40e3d5
call fcn.00409e2b
jmp 0x40e4b6
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x40e3cb
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x20], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x40e447
mov byte [ebp - 4], bl
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40e40f
lea ecx, [ebp]
call fcn.0040af9f
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040762b
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00444be8
add ebp, 0x408
leave
ret 0x10
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp]
call fcn.0040c620
mov dword [ebp - 4], 1
jmp 0x40e477
cmp dword [ebp], ebx
jne 0x40e483
mov esi, 0x8007000e
jmp 0x40e4b8
push esi
push dword [ebp]
push esi
push dword [ebp - 0x18]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x40e3cb
xor ecx, ecx
mov edx, dword [ebp]
mov word [edx + eax*2], cx
push dword [ebp + 0x41c]
push dword [ebp]
lea ecx, [ebp - 0x28]
call fcn.0040dd39
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40e414
lea ecx, [ebp]
call fcn.0040af9f
jmp 0x40e414
Function at 0x4102c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41032d
cmp dword [ebp + 0x10], 1
je 0x410305
cmp dword [ebp + 0x10], 2
je 0x410305
push 0xd
pop eax
jmp 0x41032d
mov eax, dword [ebp - 4]
test edi, edi
je 0x410327
test eax, eax
je 0x410322
test al, 1
jne 0x410300
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x410327
jmp 0x410300
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x41108d
Capabilities:
Create process on windows

Disassembly:
push 1
xor eax, eax
push eax
push eax
push dword [0x4840f8]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x417144
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
jne 0x417150
xor eax, eax
ret
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov eax, ecx
ret

Function at 0x4175d6
Capabilities:
Find taskbar

Disassembly:
mov eax, dword [esp + 4]
push esi
xor esi, esi
cmp eax, esi
jne 0x4175f1
push esi
push 0x466984
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, esi
je 0x4175fc
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
jmp 0x4175fe
xor eax, eax
shr eax, 0x16
test al, 1
je 0x41760a
mov esi, 0x180000
mov eax, esi
pop esi
ret
Function at 0x41b709
Capabilities:
Get system information on windows

Disassembly:
push 4
mov eax, 0x45e6f5
call fcn.00444bf7
mov esi, ecx
push 0x24
lea eax, [esi + 4]
push 0
push eax
call fcn.00445180
mov ebx, 0x11c
push ebx
lea edi, [esi + 0x28]
push 0
push edi
call fcn.00445180
add esp, 0x18
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [edi], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
call ebx
mov dword [esi + 0x144], eax
test eax, eax
jne 0x41b777
push edi
mov dword [edi], 0x114
call ebx
test eax, eax
jne 0x41b777
push 0x464ed2
lea ecx, [ebp - 0x10]
call fcn.00409159
and dword [ebp - 4], 0
jmp 0x41b789
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0041af85
mov dword [ebp - 4], 1
push eax
lea ecx, [esi + 0x148]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402594
xor eax, eax
call fcn.00444ccf
ret
Function at 0x41bb2c
Capabilities:
Get token membership

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x482910]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x6c
mov eax, 0x45e7ac
call fcn.00444bf7
call fcn.004185a7
test eax, eax
je 0x41bb61
xor eax, eax
inc eax
jmp 0x41bcb3
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp + 0x1c]
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp + 0x1c], bl
mov byte [ebp + 0x1d], bl
mov byte [ebp + 0x1e], bl
mov byte [ebp + 0x1f], bl
mov byte [ebp + 0x20], bl
mov byte [ebp + 0x21], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x41bc99
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
push 0x1fe
mov word [ebp + 0x24], ax
lea eax, [ebp + 0x26]
push ebx
push eax
call fcn.00445180
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push str.__04d__02d__02d__02d:_02d:_02d:_04d_
lea eax, [ebp + 0x24]
push 0x100
push eax
call fcn.00401353
add esp, 0x34
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.004017c7
mov dword [ebp - 4], ebx
push str.Error__Failed_to_initialize_security_identifier
lea ecx, [ebp - 0x5c]
call fcn.0040329d
mov esi, eax
mov byte [ebp - 4], 1
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040329d
mov byte [ebp - 4], 2
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004032bf
add esp, 0xc
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
call fcn.00402ed6
mov byte [ebp - 4], 2
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x40]
call fcn.0040236c
mov byte [ebp - 4], 1
push ebx
push esi
lea ecx, [ebp - 0x78]
call fcn.0040236c
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.0040236c
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41bc82
lea eax, [ebp + 4]
push eax
call fcn.0044529f
pop ecx
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp]
call fcn.0040236c
jmp 0x41bcb0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.00444be8
add ebp, 0x228
leave
ret