joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8003b13
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x800438c], 0x30
mov dword [0x8004394], 0x8003424
mov dword [0x8004390], 2
mov dword [0x8004398], 0
mov dword [0x800439c], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b56
mov dword [0x80043a0], eax
mov dword [0x80043b4], 0x80041cc
mov dword [0x80043ac], 0xf
mov dword [0x80040ee], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043a4], eax
mov dword [0x80043b8], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040f6], ebp
mov dword [0x80043a8], eax
push 0x800438c
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x800440c], eax
push 0
push dword [0x80040ee]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004404], eax
push 1
push dword [0x8004404]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004404]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c14
xor edi, edi
lea ebx, [0x80043bc]
jmp 0x8003c2c
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c1e
jmp 0x8003c40
mov eax, dword [0x80043c4]
call 0x8002b1f
ret

Function at 0x4038fa
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fa], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404658], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045ec], eax
mov dword [0x4040f2], eax
mov dword [0x4045d8], 0x30
mov dword [0x4045dc], 2
jmp 0x40393f
mov dword [0x4045e0], 0x403153
mov dword [0x4045e4], 0
mov dword [0x4045e8], 0
mov dword [0x404600], 0x40454e
mov dword [0x4045f8], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045f0], eax
mov dword [0x404604], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045f4], eax
push 0x4045d8
fadd dword [ebp + 0x40]
add bh, bh
adc eax, sym.imp.user32.dll_RegisterClassExA
push 0
push dword [0x4040f2]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push 0x40454e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404650], eax
push 5
push dword [0x404650]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404650]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404608]
jmp 0x403a13
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a05
mov eax, dword [0x404610]
jmp 0x403a2e
call 0x402bd5
ret
Function at 0x139d932
Capabilities:
Hash data with crc32

Disassembly:
jae 0x13d45d4
xor ax, 0x8320
cmp bx, 0x97c
jmp 0x13c48dc
mov dh, 8
shr bx, 1
jmp 0x1399216
rcr ax, 1
jmp 0x13739a8
jne 0x13c6358
pop esi
jmp 0x139bd16
sub edi, ebx
jmp 0x13bf722
push ebp
stc
bts bp, di
sbb bp, bp
mov ebp, esp
bts ax, cx
bt eax, eax
xor eax, ebp
sub esp, 4
test bp, 0x7c95
inc eax
sub eax, eax
mov dword [ebp - 4], 0
stc
lea esp, [esp - 0x14]
sub eax, esi
push esi
ror eax, 0xf4
push ebx
push edi
sub esi, 0x4e2c7374
push edx
cmovl di, bp
xchg bx, bx
push ecx
clc
inc al
movsx esi, dx
mov eax, dword [ebp + 0x10]
bt bx, di
cmp dx, 0x796a
xor edx, edx
xchg edx, eax
dec eax
xor ax, 0x10ab
stc
mov esi, 0x3c
lahf
rcl bx, 0x12
btr bx, sp
add esi, dword [ebp + 0xc]
shr di, 0xcc
mov eax, dword [esi]
and bh, 0x22
cmp esi, ebx
cmp sp, 0x725
add eax, dword [ebp + 0xc]
neg ebx
mov esi, dword [eax + 0x78]
stc
add esi, 0x18
adc eax, 0x6b6d3edc
not ax
sar bh, 0xcd
add esi, dword [ebp + 0xc]
and ah, 0x98
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
btr bx, 0xa5
add esi, 4
lea edi, [ebp - 8]
setne bh
lodsd eax, dword [esi]
btc ebx, eax
ror bl, cl
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
xchg bx, bx
cmovns bx, sp
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
clc
shr ebx, 0xde
xor bh, 0x5a
add eax, dword [ebp + 0xc]
mov ebx, 0x786266c5
push eax
movsx ebx, ax
stosd dword es:[edi], eax
btc ebx, ecx
sbb bx, di
sar bx, cl
mov dword [ebp - 0xc], eax
clc
mov eax, dword [esi]
rcr bx, cl
add eax, dword [ebp + 0xc]
rcl si, 0x21
movsx bx, dl
mov dword [ebp - 0x10], eax
xor bx, si
pop esi
cbw
mov dword [ebp - 4], 0
rcl eax, cl
push esi
mov eax, dword [esi]
sbb bh, 0x9c
add eax, dword [ebp + 0xc]
sbb bl, cl
ror ebx, 0x15
xchg edi, eax
bts ebx, ebx
mov ebx, edi
push edi
sub al, al
cmp cx, sp
jmp 0x13c6358
pop esi
rol ecx, 1
movsx dx, bh
mov eax, dword [ebp - 4]
or edi, eax
mov ecx, esp
shl eax, 1
shr cl, 0xe8
bt cx, 0xe0
add eax, dword [ebp - 0x10]
bt cx, 0x6b
xor esi, esi
mov dh, 0x16
xchg esi, eax
mov ax, word [esi]
setnp bh
and dh, al
shl ax, 2
bswap ecx
cmp sp, di
add eax, dword [ebp - 8]
or cl, 0x66
movsx edx, si
xchg esi, eax
sbb edi, eax
sal bh, 0x12
movzx ecx, cx
mov eax, dword [esi]
shl ch, cl
and di, ax
clc
add eax, dword [ebp + 0xc]
cmovle edi, edx
mov ecx, esp
pop ecx
movsx esi, cx
jmp 0x13674e1
dec edi
jne 0x13bf733
not edx
mov al, dl
not ecx
mov eax, edx
bt edx, ebx
bswap dx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x13a1534
pop esi
cmp cx, 0x741a
add esi, 4
stc
test edi, 0x337c7815
cmc
add dword [ebp - 4], 1
jmp 0x13f2319
push edx
cld
sar dh, 0x83
xor ecx, ecx
mov dl, 0x99
dec ecx
rcr edx, cl
movsx edx, dx
mov edx, ecx
sub eax, eax
neg al
xor ebx, ebx
lodsb al, byte [esi]
test ebp, edx
cmp ecx, edi
xor al, cl
jmp 0x13d1200
xor bx, 0xedb8
jmp 0x13d45d4
scasb al, byte es:[edi]
jmp 0x1399550
mov cl, ch
mov ch, dl
mov dl, dh
stc
test ah, dh
jmp 0x137e27f
dec dh
jne 0x137e281
xor ecx, eax
cmp di, dx
cmp esi, 0x402a32b1
xor edx, ebx
jmp 0x13b118c
jmp 0x139da38
Function at 0x13bf26e
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
jl 0x136fc9c
sub al, 0x20
ror edi, 0xd
add edi, eax
jmp 0x138927c
jmp 0x136765f
cmp edi, 0x6a4abc5b
bswap ebx
cmovs bx, bx
mov ebx, dword [edx + 0x10]
jmp 0x13b831e
jmp 0x13e9f81
mov edx, dword [edx]
jmp 0x13f0d74
cld
xor esi, esi
bts esi, eax
seto cl
xor edx, edx
cmc
and ecx, ebp
xor ecx, 0x1a8b22f6
mov edx, dword fs:[edx + 0x30]
shr ecx, cl
btc si, 0x83
cmc
mov edx, dword [edx + 0xc]
bsf si, dx
xadd ecx, esi
mov edx, dword [edx + 0x14]
mov ecx, 0x1a0a6be0
mov esi, dword [edx + 0x28]
push 0x18
test dl, 0x54
inc ecx
movsx ecx, dx
pop ecx
stc
cmp cx, ax
xor edi, edi
cmp cx, ax
clc
sub eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jmp 0x136fc94
push ebp
bsr si, di
shr esi, 0x95
bt bp, ax
mov ebp, esp
bt esi, esi
sub esp, 4
movzx cx, ch
mov dword [ebp - 4], 0
movsx cx, ah
movsx esi, bp
jmp 0x13bb103
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x137d1c7
loop 0x13e9f88
jmp 0x1385b4e
jmp 0x13bb14c
jne 0x13bb135
mov eax, ebx
jmp 0x13cdf41
Function at 0x401318
Capabilities:
Create process on windows
Execute command
Get common file path
Set current directory
Set environment variable

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
mov eax, 0x3020
call fcn.00401aac
mov ebx, dword [ecx + 4]
call fcn.004018a0
mov eax, dword [ebx]
mov dword [esp + 4], eax
lea ebx, [ebp - 0x1008]
mov dword [esp], ebx
call sub.msvcrt.dll_strcpy
jmp 0x401350
inc ebx
cmp byte [ebx], 0
jne 0x40134f
jmp 0x40135a
dec ebx
jmp 0x401360
lea eax, [ebp - 0x1008]
cmp byte [ebx], 0x5c
je 0x401369
cmp ebx, eax
jne 0x401357
mov byte [ebx], 0
lea ebx, [ebp - 0x1008]
mov dword [esp], ebx
call sub.KERNEL32.dll_SetCurrentDirectoryA
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x1000
call sub.KERNEL32.dll_GetCurrentDirectoryA
push ecx
push ecx
mov dword [esp + 4], ebx
mov dword [esp], str.__s_
call sub.msvcrt.dll_printf
cmp byte [ebp - 0x1008], 0x5c
jne 0x4013af
cmp byte [ebp - 0x1007], 0x5c
je 0x4013f0
lea eax, [ebp - 0x1008]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__sAutorun.hta_
lea ebx, [ebp - 0x2008]
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.Toolsmshta.exe
jmp 0x401483
mov dword [esp + 8], ebx
mov dword [esp + 4], str.__sAutorun.hta_
lea eax, [ebp - 0x2008]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
mov dword [esp], str.NET_USE__Z:___DELETE__YES
call sub.msvcrt.dll_system
mov dword [esp + 8], ebx
mov dword [esp + 4], str.SETLOCAL_ENABLEEXTENSIONS_ENABLEDELAYEDEXPANSION__FOR__F__tokens2____D_IN__NET_USE____s___PERSISTENT:NOFINDSTR__I_unidad__DO_SET_DRIVELETTER__D
lea ebx, [ebp - 0x3008]
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp], ebx
call sub.msvcrt.dll_system
mov dword [esp], ebx
call sub.msvcrt.dll_printf
mov dword [esp + 4], 0x403102
mov dword [esp], str.SEE_MASK_NOZONECHECKS
call sub.KERNEL32.dll_SetEnvironmentVariableA
push edx
push edx
mov dword [esp], 0x40311a
call sub.KERNEL32.dll_SetCurrentDirectoryA
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.Z:Autorun.hta
mov dword [esp + 8], str.Z:Toolsmshta.exe
mov dword [esp + 4], str.open
mov dword [esp], 0
call sub.SHELL32.DLL_ShellExecuteA
sub esp, 0x18
xor eax, eax
lea esp, [ebp - 8]
pop ecx
pop ebx
leave
lea esp, [ecx - 4]
ret
Function at 0x401590
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4015b6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x40164a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401605
cmp eax, 0x40
je 0x401605
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4015a9
cmp eax, 0x40
je 0x4015a9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x4015a9
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sub.msvcrt.dll__assert
lea esi, [esi]
lea edi, [edi]
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
or esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
push edx
pop edi
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
push esi
pop eax
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
push eax
pop esi
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x10003626
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebx
push dword [edi]
call fcn.10027bcf
mov esi, eax
test esi, esi
jne 0x100036d5
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x100036b0
lea eax, [esp + 0x28]
push eax
call fcn.10003626
mov esi, eax
test esi, esi
jne 0x100036d5
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x30], 0x100
call ebp
lea ecx, [esp + 0x14]
test eax, eax
je 0x1000368b
call fcn.10002ded
push ebx
mov ecx, edi
call fcn.10002e76
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.10002ded
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x11c
ret 4
Function at 0x100044f3
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_RegSetValueExA]
ret 8

Function at 0x1000450d
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, ecx
test edx, edx
jne 0x1000451d
push 0xd
pop eax
jmp 0x10004553
push ebp
push esi
push edi
xor esi, esi
mov edi, edx
mov ecx, edi
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004529
sub ecx, ebp
lea eax, [ecx + 1]
add edi, eax
add esi, eax
cmp eax, 1
jne 0x10004524
push esi
push edx
push 7
push 0
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x10005a24
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x974
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x970], eax
push ebx
push ebp
xor ebp, ebp
mov ebx, 0x400
push esi
mov esi, dword [esp + 0x99c]
inc ebp
push edi
mov edi, dword [esp + 0x988]
test esi, esi
jne 0x10005a7b
push ebx
lea eax, [esp + 0x584]
push eax
push ebp
push edi
call fcn.10008e4e
add esp, 0x10
test eax, eax
je 0x10005a7b
mov eax, str._s_ssvagent.exe
lea esi, [esp + 0x580]
jmp 0x10005a90
test edi, edi
jne 0x10005be0
test esi, esi
je 0x10005be0
mov eax, str._s_bin_ssvagent.exe
push esi
push eax
lea eax, [esp + 0x188]
push ebx
push eax
call fcn.10004e7f
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x194]
push eax
call fcn.10027bcf
add esp, 0x18
test eax, eax
jne 0x10005be0
cmp dword [esp + 0x98c], 0
mov ecx, str.__new
mov byte [esp + 0x7c], al
mov ebx, 0x104
mov eax, str.__old
cmovne eax, ecx
push eax
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10027bcf
mov edi, dword [esp + 0x99c]
add esp, 0xc
mov esi, dword [esp + 0x99c]
test edi, edi
jne 0x10005b03
test esi, esi
je 0x10005b19
push str.__high
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10027bcf
add esp, 0xc
cmp dword [esp + 0x998], 0
je 0x10005b39
push str.__settreatas
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10027bcf
add esp, 0xc
test esi, esi
je 0x10005b53
push str.__regdeploy
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10027bcf
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1000de50
add esp, 0xc
mov dword [esp + 0x10], esi
lea eax, [esp + 0x7c]
mov dword [esp + 0x24], eax
test edi, edi
je 0x10005b8b
call fcn.10027bcf
test eax, eax
mov ecx, str.runas
cmove ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x994], 0
push 0x40
pop ecx
cmovne eax, ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x180]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x10005be0
cmp dword [esp + 0x48], 0
je 0x10005bdc
push 0xffffffffffffffff
push dword [esp + 0x4c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esp + 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, ebp
jmp 0x10005be2
xor eax, eax
mov ecx, dword [esp + 0x980]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x974
ret
Function at 0x10005d98
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x948
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x944], eax
push ebx
push ebp
mov ebp, dword [esp + 0x954]
lea eax, [esp + 0x14c]
push esi
push edi
push 0x400
push 0
push eax
call fcn.1000de50
mov ebx, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
mov edi, section..data
test esi, esi
jne 0x10005ebe
push ebp
mov ebx, 0x400
mov byte [esp + 0x558], 0
lea eax, [esp + 0x558]
push ebx
push eax
call fcn.10027bcf
push 0x100315c4
lea eax, [esp + 0x564]
push ebx
push eax
call fcn.10027bcf
push dword [edi]
lea eax, [esp + 0x570]
push ebx
push eax
call fcn.10027bcf
add esp, 0x24
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x558]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10005eaf
push ebp
lea eax, [esp + 0x158]
mov byte [esp + 0x158], 0
push 0x400
push eax
call fcn.10027bcf
push 0x100315c8
lea eax, [esp + 0x164]
push 0x400
push eax
call fcn.10027bcf
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x170]
push 0x400
push eax
call fcn.10027bcf
lea eax, [esp + 0x178]
push eax
call fcn.10009086
add esp, 0x28
test eax, eax
je 0x10005eac
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x10005e3d
jmp 0x10005eaf
xor esi, esi
inc esi
add edi, 4
cmp edi, 0x1004100c
jl 0x10005dd9
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 0x954]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x948
ret
Function at 0x10007043
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7c0]
sub esp, 0x840
mov eax, dword [0x10041024]
xor eax, ebp
mov dword [ebp + 0x7bc], eax
push ebx
push esi
push edi
call fcn.10007258
xor ebx, ebx
lea ecx, [ebp - 0x80]
mov esi, 0x20019
mov dword [ebp - 0x80], ebx
push esi
push 0x100314f4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.10027bcf
test eax, eax
jne 0x10007222
push esi
push 0x10031500
push dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
call fcn.10027bcf
test eax, eax
jne 0x10007222
push esi
push 0x1003150c
push dword [ebp - 0x74]
lea ecx, [ebp - 0x68]
call fcn.10027bcf
test eax, eax
jne 0x10007222
mov esi, 0x400
lea eax, [ebp + 0x3bc]
push esi
push ebx
push eax
mov edi, ebx
call fcn.1000de50
push esi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.1000de50
add esp, 0x18
lea eax, [ebp + 0x3bc]
push esi
push eax
push ebx
jmp 0x10007211
lea ecx, [ebp + 0x3bc]
mov edx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007111
sub ecx, esi
lea eax, [ebp - 0x44]
mov bl, byte [ebp + edx + 0x3bc]
cmp bl, 0x2e
je 0x1000712c
mov byte [eax], bl
inc eax
inc edx
cmp edx, ecx
jbe 0x1000711d
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x5c], str.NODOTVERSION
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007147
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x1000715f
mov eax, ebx
jmp 0x10007176
lea eax, [esi + esi]
call fcn.1000c1e0
mov eax, esp
lea ecx, [ebp - 0x44]
push 3
push esi
push ecx
push eax
call fcn.10027bcf
push 0x50
mov dword [ebp - 0x58], eax
pop eax
mov dword [ebp - 0x54], str.CLSID_STRING
call fcn.1000c1e0
mov eax, esp
push 3
push 0x27
push str.5852F5ED_8BF4_11D4_A245_0080C6F74284
push eax
call fcn.10027bcf
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.10027bcf
test eax, eax
je 0x100071bd
lea eax, [ebp - 0x5c]
push eax
push 1
push 0x67
push 0x10041c48
call fcn.100046aa
call fcn.10027bcf
test eax, eax
je 0x100071ce
cmp dword [ebp + 0x7cc], ebx
je 0x100071e0
lea eax, [ebp - 0x5c]
push eax
push 1
push 0x68
push 0x10041c48
call fcn.100046aa
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 0x400
lea eax, [ebp + 0x3bc]
push esi
push ebx
push eax
call fcn.1000de50
push esi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.1000de50
add esp, 0x18
lea eax, [ebp + 0x3bc]
inc edi
push esi
push eax
push edi
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x10007106
lea ecx, [ebp - 0x68]
call fcn.10002ded
lea ecx, [ebp - 0x74]
call fcn.10002ded
lea ecx, [ebp - 0x80]
call fcn.10002ded
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7bc]
xor ecx, ebp
call fcn.1000be90
add ebp, 0x7c0
leave
ret
Function at 0x10007258
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x41c
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
mov ebp, 0x400
lea eax, [esp + 0x24]
xor ebx, ebx
push ebp
push ebx
push eax
mov esi, ebx
call fcn.1000de50
add esp, 0xc
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], ebx
push 0x20019
push 0x100314d4
push SysReAllocString
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.10027bcf
test eax, eax
jne 0x1000732e
push 0x2001f
push str.Classes
push dword [esp + 0x20]
lea ecx, [esp + 0x18]
call fcn.10027bcf
test eax, eax
jne 0x1000732e
push ebp
lea eax, [esp + 0x28]
push eax
push ebx
jmp 0x10007320
push 0xa
lea eax, [esp + 0x28]
push str.JavaPlugin
push eax
call fcn.10016e00
add esp, 0xc
test eax, eax
jne 0x10007309
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.10003626
test eax, eax
je 0x1000730a
inc esi
push ebp
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.1000de50
add esp, 0xc
lea eax, [esp + 0x24]
push ebp
push eax
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x100072df
lea ecx, [esp + 0xc]
call fcn.10002ded
lea ecx, [esp + 0x18]
call fcn.10002ded
mov ecx, dword [esp + 0x424]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x41c
ret