joyce8/EMBER2024-capa huggingface dataset:
Function at 0xca10bc
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg ebx
mov word [esp + 5], si
jmp 0xca1131
xchg al, dh
mov dl, 0xf4
mov al, byte [esp]
neg edx
bsr eax, esi
lea ebx, reloc.MSVCRT.dll___dllonexit
jmp 0xca10fc
pop eax
cld
mov ax, 0x68d4
pop ebx
bsf bx, ax
bswap ebx
jmp 0xca1112

Function at 0xca1307
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], ebx
inc eax
lea eax, [ecx + edx]
mov al, 0x3e
jmp 0xca1350
sub esp, 0x1a
pop edx
push dx
clc
dec edx
push word [esp + 0xc]
jmp 0xca132a

Function at 0xca1999
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xca19e4
lea esp, [esp + 1]
mov ah, dh
std
add esp, 0x10
lea esp, [esp]
push cx
jmp 0xca1c3a
pop ebx
push dword [esp + 0xf]
bts eax, esp
pop eax
mov ax, dx
bts dx, di
jmp 0xca1a3a
neg eax
mov eax, dword [esp]
mov dx, bx
bsr edx, esi
add bx, 0x3f87
sub esp, 0x14
jmp 0xca1a0f
cld
mov dx, ax
bsf eax, edx
mov word [esp + 0xa], dx
mov byte [esp + 2], dh
std
jmp 0xca1a87
not bl
mov bh, 0xbd
mov ax, 0x8bf9
bsr ebx, edx
mov word [esp], cx
add esp, 0
jmp 0xca1a25
rcr ebx, 9
and bx, 0xeffd
mov word [esp + 0x1c], si
jmp 0xca1b07
rdtsc
xchg dx, ax
rdtsc
pushal
pop dx
bsr ebx, ecx
jmp 0xca1a71
lea ebx, [edi - 0xd0]
mov dl, 0x42
xchg byte [esp + 0x1f], bh
mov edx, 0x4bb3ba9c
call fcn.00ca1ac9
push word [esp + 4]
xchg word [esp + 0x16], dx
mov al, byte [esp + 0x12]
push dword [esp + 0x1f]
xchg byte [esp + 0x17], al
mov dl, byte [esp + 0xc]
jmp 0xca1b68
neg ax
cld
setp bh
xchg dh, bh
mov bx, word [esp]
xor dh, ah
jmp 0xca1a5d
rcl eax, 3
bsr eax, edx
mov ebx, ebp
push word [esp + 0x31]
jmp 0xca1bfa
sub esp, 9
sub edx, ecx
pop bx
mov word [esp + 0xc], cx
lea eax, [eax + edi]
mov edx, eax
jmp 0xca1b52
xchg word [esp + 0x18], bx
lea esp, [esp + 2]
bt ax, dx
jmp 0xca1bcd
mov dx, word [esp + 0x1b]
or dx, dx
pop edx
shr ax, 5
neg ebx
mov byte [esp + 0x2b], al
jmp 0xca1b7b
push bp
not eax
mov bh, ch
xchg edx, eax
mov ax, di
rdtsc
jmp 0xca1be2
mov dh, al
mov dh, byte [esp]
mov dx, 0x219c
mov eax, ebx
mov al, byte [esp]
lea ebx, [ecx + edx]
jmp 0xca1c10
xchg dword [esp + 0x17], eax
sub esp, 0x10
lea esp, [esp + 0x41]
xchg al, bl
mov ax, 0xee9d
mov eax, ecx
jmp 0xca1ba6
mov edx, 0x7f4c7904
pop dx
xchg bl, dh
setle ah
mov ebx, dword [esp]
lea edx, [esi + edi]
jmp 0xca1bb5
mov eax, dword [esp + 0x2c]
pop word [esp + 2]
xchg byte [esp + 0xb], ah
sub eax, ecx
mov bl, cl
bts edx, esi
jmp 0xca1b91
rdtsc
rdtsc
bswap eax
mov ebx, dword [esp]
mov edx, dword [esp]
neg ebx
jmp 0xca1c24
dec eax
sub eax, 0x9137b1a2
mov dl, bl
std
pushfd
mov eax, 0xdccc9f64
jmp 0xca1c85
mov ax, 0xbe26
add esp, 2
lea esp, [esp]
mov bx, di
lea eax, [edx + ebx]
mov edx, esi
jmp 0xca1b3e
mov ah, 0xcd
neg ax
shr ebx, cl
xchg dx, ax
neg bh
jmp 0xca1cbd
mov ah, bl
not bh
cld
mov dword [esp], edi
lea ebx, [esi*4]
pop eax
jmp 0xca1c51
xchg ah, bl
xor ax, dx
dec dh
xchg word [esp], bx
xchg byte [esp + 1], al
xchg ebx, eax
jmp 0xca1c67
mov bh, byte [esp]
mov dword [esp], eax
std
mov dword [esp], esi
mov al, byte [esp + 1]
dec ebx
call fcn.00ca1ce8
dec edx
invalid
lea eax, reloc.MSVCRT.dll___dllonexit
rdtsc
sub esp, 4
bsr eax, ebx
rdtsc
mov eax, dword [esp]
jmp 0xca1c97
Function at 0xca1aea
Capabilities:
Execute anti-debugging instructions

Disassembly:
bts dx, di
lea eax, [esi + esi]
rdtsc
pop bx
jmp 0xca1ad4

Function at 0xca391a
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [esp + 8], edi
lea esp, [esp + 8]
jmp 0xca3942
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x480199c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x38545fb
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40136a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40303c]
jne 0x401374
repz ret
jmp fcn.00401625
Function at 0x403aff
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2002c
call fcn.00432450
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00407627
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 6], al
mov byte [ebp - 5], al
lea eax, [ebp - 0x1002c]
push eax
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 7]
push eax
push dword [ebp + 8]
call fcn.0040372b
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x43dd12
mov eax, dword [0x4c72e0]
test eax, eax
je 0x403c4a
xor edi, edi
mov esi, 0x4c8290
inc edi
cmp eax, edi
je 0x43dd2c
lea eax, [ebp - 6]
push eax
push ecx
push 0x4c72e0
push 0x4c72f8
mov ecx, esi
call fcn.00407245
test al, al
je 0x403c53
mov al, byte [0x4c8290]
mov byte [0x4c72e4], al
mov al, byte [0x4c8291]
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2002c]
push eax
push 0x7fff
push dword [0x4c72f8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [ebp - 0xc]
mov ecx, 0x4c72d0
call fcn.00407b8c
mov al, byte [ebp - 6]
mov dword [ebp - 0xc], eax
push dword [0x4c72e0]
push 0x4c72f8
call fcn.00410c2d
test eax, eax
jne 0x43dd4b
cmp byte [ebp - 5], 1
je 0x43dd6a
call fcn.00403a0b
call fcn.0040399a
cmp byte [0x4c72e4], 0
jne 0x403c08
mov ecx, 0x4c7890
call fcn.0040430c
push edi
mov ecx, 0x4c7310
call fcn.00410cd0
cmp byte [0x4c72e4], 0
jne 0x403c26
mov ecx, 0x4c7890
call fcn.004043fc
mov ecx, esi
call fcn.0040729b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call fcn.004058c4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
or dword [0x4c727c], 0xffffffff
jmp 0x403c2d
mov dword [0x4c727c], edi
jmp 0x403c2d
push 0x10
push 0x4ba400
push str.This_is_a_third_party_compiled_AutoIt_script.
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403c3a
push 0xffffffffffffffff
push dword [0x4c72e8]
mov ecx, esi
push edi
call fcn.004071d3
mov al, byte [0x4c7284]
mov byte [0x4c8292], al
jmp 0x403bc9
mov ecx, esi
call fcn.0040729b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4c727c], edi
jmp 0x403c3a
call fcn.00464f5e
test al, al
jne 0x403beb
cmp byte [ebp - 7], al
jne 0x403beb
lea ecx, [ebp - 0x2c]
call fcn.004046c8
push 0x4b6d50
lea ecx, [ebp - 0x1c]
call fcn.00407da1
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
test al, al
je 0x43ddc4
mov edi, 0x4ba434
push edi
call fcn.00407c6b
push 0x4c72f8
lea ecx, [ebp - 0x1c]
call fcn.00407aee
push edi
lea ecx, [ebp - 0x1c]
call fcn.00407c6b
push 1
jmp 0x43ddcd
push dword [ebp + 8]
call fcn.00407c6b
push edi
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x4ba438
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.004058c4
jmp 0x403c26
Function at 0x404899
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [ebp + 8]
mov esi, eax
cmp ebx, esi
jne 0x43e0f8
xor eax, eax
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
xor edi, edi
test esi, esi
jne 0x43e10d
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43e121
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43e1fc
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
push 1
push edi
push dword [ebp + 8]
call esi
push 1
push dword [ebp - 4]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43e1d8
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 8]
test eax, eax
je 0x43e1dd
push 4
jmp 0x43e1da
push 3
pop ebx
jmp 0x43e1e0
mov ebx, dword [ebp - 0xc]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call esi
push 0
push edi
push dword [ebp + 8]
call esi
push 0
push dword [ebp - 4]
push edi
call esi
jmp 0x43e1ff
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x4048b7
Function at 0x404e49
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x10]
push ebx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x404e81
push edi
push 0
push 0x490af0
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x43e3d3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x404e80
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x404e80
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x404e80
mov ecx, dword [ebx]
push 0
push edi
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x10]
mov eax, dword [ebx]
xor edx, edx
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov byte [esi + 0x14], 1
jmp 0x404e80

Function at 0x404ecb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x43e46d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004260f2
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x404ef1
Function at 0x405b80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x405bf3
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x405bb6
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x405bc6
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
inc edi
inc dword [esi + 0xc]
cmp edi, ebx
jb 0x405b97
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
pop ebp
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 0x10000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405bb6
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x405bb6
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x405b9f
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00405c0e
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x405b8e
Function at 0x420c33
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret

Function at 0x421461
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c7283]
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], al
push 0x8000
push esi
mov edi, edx
call fcn.004251f6
pop ecx
push eax
call fcn.00425024
cmp dword [edi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0x4569b7
lea ecx, [ebp - 0x18]
call fcn.00405a78
mov ecx, edi
call fcn.00409851
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.004059d5
push dword [ebp - 0x18]
push 0x492d40
push esi
call fcn.004253f5
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x4569d7
lea ecx, [ebp - 0x18]
call fcn.004058c4
mov edi, dword [ebp - 8]
push esi
call fcn.004255ba
pop ecx
cmp ebx, 0xffffffff
je 0x4214ff
push ebx
push esi
call fcn.004251f6
pop ecx
push eax
call fcn.00425024
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4000
jmp 0x4214e7
push esi
mov ecx, edi
call fcn.00468c9e
push eax
push 1
call fcn.00468c5b
push eax
call fcn.00425373
add esp, 0x10
mov edi, eax
jmp 0x4214da
mov ecx, edi
call fcn.00409851
mov eax, dword [edi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4214cf
Function at 0x43659c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c0d50]
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.0042a969
mov dword [ebp - 0x14], eax
cmp dword [0x4c60e8], esi
jne 0x43668f
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x43661c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43676f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x43676f
push 0x4a1dd0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43676f
push eax
call ebx
push 0x4a1ddc
push edi
mov dword [0x4c60e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4c60ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4c60f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c60f8], eax
test eax, eax
je 0x43668c
push 0x4a1e1c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c60f4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4366b4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4366a7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4366c9
push 4
pop eax
jmp 0x436771
cmp dword [ebp - 0x14], esi
je 0x4366c9
push dword [0x4c60e8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4366ae
mov eax, dword [0x4c60f4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x436727
cmp dword [0x4c60f8], edi
je 0x436727
push eax
call ebx
push dword [0x4c60f8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x436727
test eax, eax
je 0x436727
call ecx
test eax, eax
je 0x43671c
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 0x43671c
test byte [ebp - 8], 1
jne 0x436727
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x436757
mov eax, dword [0x4c60ec]
cmp eax, edi
je 0x436754
push eax
call ebx
test eax, eax
je 0x436754
call eax
mov esi, eax
test esi, esi
je 0x436754
mov eax, dword [0x4c60f0]
cmp eax, edi
je 0x436754
push eax
call ebx
test eax, eax
je 0x436754
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4c60e8]
call ebx
test eax, eax
je 0x43676f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x436771
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d106
mov esp, ebp
pop ebp
ret
Function at 0x45836d
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], ebx
mov edi, edx
mov dword [ebp - 8], ebx
call fcn.00407627
lea ecx, [ebp - 0x20]
call fcn.00407627
lea ecx, [ebp - 0x40]
call fcn.00407627
push 0x4ba3b8
lea ecx, [ebp - 0x30]
call fcn.00407b8c
push esi
lea ecx, [ebp - 0x30]
call fcn.00407c6b
push str.CLSID
lea ecx, [ebp - 0x30]
call fcn.00407c6b
lea ecx, [ebp - 0x20]
call fcn.00407d4c
test edi, edi
je 0x4583f0
push 0x5c
pop eax
cmp word [edi], ax
je 0x4583f0
cmp word [edi + 2], ax
je 0x4583f0
push 0x4ba3ec
lea ecx, [ebp - 0x20]
call fcn.00407b8c
push edi
lea ecx, [ebp - 0x20]
call fcn.00407c6b
cmp dword [ebp + 0xc], ebx
je 0x458441
push 0x20
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.004238f0
add esp, 0xc
mov dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x40]
push eax
call fcn.00408007
push str.IPC_
lea ecx, [ebp - 0x40]
call fcn.00407c6b
mov eax, dword [ebp - 0x40]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x60]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
test esi, esi
js 0x4584cd
lea eax, [ebp - 0x10]
push eax
push reloc.WSOCK32.dll_bind
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x4584cd
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x4584c8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x1fe
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4584c3
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push dword [ebp + 8]
shr eax, 1
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2 - 0x26c], cx
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
push dword [ebp - 8]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x40]
call fcn.004058c4
lea ecx, [ebp - 0x20]
call fcn.004058c4
lea ecx, [ebp - 0x30]
call fcn.004058c4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458c9b
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
push esi
push ebx
push dword [eax]
mov edi, ecx
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x458cf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x458cf5
push dword [esi]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x458cf5
push esi
push dword [esi]
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x458cf5
xor ebx, ebx
inc ebx
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
Function at 0x459142
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
test byte [ebp + 0x14], 1
mov eax, ebx
push edi
mov dword [ebp - 4], eax
mov edi, ebx
je 0x45915a
inc edi
jmp 0x459163
test byte [ebp + 0x14], 2
je 0x459163
push 2
pop edi
test byte [ebp + 0x14], 4
je 0x4591a2
push esi
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ebx
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push 1
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
push dword [ebp + 0x14]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
je 0x4591ce
mov eax, dword [ebp - 4]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
or eax, 0x400
push eax
push dword [ebp + 0x1c]
push ebx
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne bl
cmp dword [ebp - 4], 0
je 0x4591dd
push dword [ebp - 4]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x28

Function at 0x4592dc
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x1c]
movsx eax, al
and eax, 2
push 0
or eax, 4
shr eax, 1
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
neg eax
sbb eax, eax
neg eax
pop ebp
ret 0x18

Function at 0x45944c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push 0xc
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
push 2
push 0
push 0
push ebx
call edi
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 2
push 0
push 0
lea eax, [ebx + 8]
push eax
call edi
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebx + 4], eax
xor eax, eax
push eax
push eax
push ebx
push 0x4594bd
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop ebx
pop ebp
ret 0xc