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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x44], 0
je 0x40f3e8
mov ecx, dword [ebp - 0x78]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x40f3f4
mov al, 1
jmp 0x40f5c5
mov dword [ebp - 4], 8
call fcn.0040c3e0
push eax
mov eax, dword [ebp - 0x78]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x78]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x30], eax
call fcn.0040c3e0
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.0040c390
add esp, 8
movzx eax, al
test eax, eax
je 0x40f437
xor al, al
jmp 0x40f5c5
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0040eb60
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040ecb0
mov ecx, eax
call fcn.0040f980
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.0040d2c0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ecb0
mov ecx, eax
call fcn.0040f980
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 0x4c
push ecx
mov edx, dword [ebp - 0x78]
mov ecx, dword [edx + 0x44]
call fcn.0040fff0
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x50]
call fcn.0040eaa0
lea ecx, [ebp - 0x44]
call fcn.0040eaa0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x40f4c1
cmp dword [ebp - 0x7c], 1
je 0x40f4c8
cmp dword [ebp - 0x7c], 3
je 0x40f596
jmp 0x40f5a7
mov ecx, dword [ebp - 0x78]
mov byte [ecx + 0x49], 0
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040ecb0
mov ecx, eax
call fcn.0040f980
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x5c]
call fcn.0040eaa0
cmp dword [ebp - 0x2c], 0
jbe 0x40f52c
or dword [ebp - 0x74], 1
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 1
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040ecb0
mov ecx, eax
call fcn.0040f980
push eax
call fcn.00415f20
add esp, 0x10
cmp dword [ebp - 0x2c], eax
je 0x40f52c
mov dword [ebp - 0x80], 1
jmp 0x40f533
mov dword [ebp - 0x80], 0
mov al, byte [ebp - 0x80]
mov byte [ebp - 0x5d], al
mov ecx, dword [ebp - 0x74]
and ecx, 1
je 0x40f54d
and dword [ebp - 0x74], 0xfffffffe
lea ecx, [ebp - 0x6c]
call fcn.0040eaa0
movzx edx, byte [ebp - 0x5d]
test edx, edx
je 0x40f566
mov byte [ebp - 0x6d], 0
lea ecx, [ebp - 0x28]
call fcn.0040d5a0
mov al, byte [ebp - 0x6d]
jmp 0x40f5c5
mov eax, dword [ebp - 0x78]
movzx ecx, byte [eax + 0x49]
test ecx, ecx
jne 0x40f582
mov byte [ebp - 0x6e], 1
lea ecx, [ebp - 0x28]
call fcn.0040d5a0
mov al, byte [ebp - 0x6e]
jmp 0x40f5c5
cmp dword [ebp - 0x2c], 0
jne 0x40f594
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0040eba0
jmp 0x40f5b8
mov byte [ebp - 0x6f], 1
lea ecx, [ebp - 0x28]
call fcn.0040d5a0
mov al, byte [ebp - 0x6f]
jmp 0x40f5c5
mov byte [ebp - 0x70], 0
lea ecx, [ebp - 0x28]
call fcn.0040d5a0
mov al, byte [ebp - 0x70]
jmp 0x40f5c5
jmp 0x40f443
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419800
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b468]
jne 0x41980a
repz ret
jmp fcn.00422590
Function at 0x401084
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor edi, edi
mov eax, 0x80000000
push edi
push esi
push edi
push edi
push eax
push eax
push eax
push eax
push 0
push str.entersessioneclass
push 0x402218
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x4010ca
push 0
push eax
mov dword [0x402040], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402040]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, 0x3fffff
inc esi
mov dword [0x402ab4], esi
push 0
push 0x401023
push 0
push 0x402138
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
pop esi
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436004]
jne 0x40100a
repz ret
jmp fcn.004017af

Function at 0x405d6a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x436004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403529
and dword [ebp - 0x14], 0
cmp dword [0x43886c], 0
mov dword [ebp - 0x18], eax
jne 0x405e1d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405ec5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405ec5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43886c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x438870], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x438874], eax
call edi
push eax
call esi
mov dword [0x43887c], eax
test eax, eax
je 0x405e1d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x438878], eax
mov eax, dword [0x438878]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405e76
cmp dword [0x43887c], ecx
je 0x405e76
push eax
call esi
push dword [0x43887c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405e76
test ebx, ebx
je 0x405e76
call edi
test eax, eax
je 0x405e6d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405e6d
test byte [ebp - 8], 1
jne 0x405e76
or dword [ebp + 0x10], 0x200000
jmp 0x405ea9
mov eax, dword [0x438870]
cmp eax, dword [ebp - 0x18]
je 0x405ea9
push eax
call esi
test eax, eax
je 0x405ea9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405ea9
mov eax, dword [0x438874]
cmp eax, dword [ebp - 0x18]
je 0x405ea9
push eax
call esi
test eax, eax
je 0x405ea9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43886c]
call esi
test eax, eax
je 0x405ec5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405ec7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x401400
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.wmain
mov dword [esp], eax
call sym._exit

Function at 0x401500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x40155b
cmp byte [esi + ebx - 1], 0xa
je 0x40152f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x404084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x401b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call dbg.__wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x401d38
mov edi, dword [0x404084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x401c58
test byte [0x402018], 8
jne 0x401ce0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x402028], 8
jne 0x401ca8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401bfa
cmp esi, 3
jbe 0x401c60
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x401c0b
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4030dc]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x401bfa
mov dword [esp], 0x402028
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x401bd1
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x401bd1
mov dword [esp], 0x402018
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x401bbe
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x401bc4
mov eax, 0xffffffff
jmp 0x401c58
Function at 0x52e0b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd7000]
push edi
jmp 0x52e0ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52e0d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e0c0
mov eax, 1
add ebx, ebx
jne 0x52e0e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52e0f4
jne 0x52e113
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e113
dec eax
add ebx, ebx
jne 0x52e100
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52e0d8
add ebx, ebx
jne 0x52e10f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52e165
xor ecx, ecx
sub eax, 3
jb 0x52e12b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52e19a
sar eax, 1
mov ebp, eax
jmp 0x52e136
add ebx, ebx
jne 0x52e136
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e104
inc ecx
add ebx, ebx
jne 0x52e144
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52e104
add ebx, ebx
jne 0x52e151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52e146
jne 0x52e162
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52e146
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52e184
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52e176
jmp 0x52e0c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52e184
add edi, ecx
jmp 0x52e0c6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52e1a2
cmp byte [edi], 0x11
jne 0x52e1a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x52e1a7
lea edi, [esi + 0x127000]
mov eax, dword [edi]
or eax, eax
je 0x52e21f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1834cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x183648]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52e1d4
mov ecx, edi
jns 0x52e203
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18364c]
or eax, eax
je 0x52e219
mov dword [ebx], eax
add ebx, 4
jmp 0x52e1f1
call dword [esi + 0x18365c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52e250
cmp al, 0xef
ja 0x52e243
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52e225
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52e232
mov ebp, dword [esi + 0x183650]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x52e284
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x401000
Capabilities:
Add user account to group

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 1
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 3
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call sub.NETAPI32.dll_NetLocalGroupAddMembers
neg eax
sbb eax, eax
inc eax
pop ebp
ret

Function at 0x401030
Capabilities:
Add user account group

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebp + 0xc]
call sub.NETAPI32.dll_NetLocalGroupAdd
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x401060
Capabilities:
Add user account

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
push 1
push dword [ebp + 0x14]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0x10001
mov dword [ebp - 8], 0
call sub.NETAPI32.dll_NetUserAdd
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x4010c0
Capabilities:
Delete user account group

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
call sub.NETAPI32.dll_NetLocalGroupDel
neg eax
sbb eax, eax
inc eax
pop ebp
ret

Function at 0x4010e0
Capabilities:
Delete user account from group

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 1
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 3
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call sub.NETAPI32.dll_NetLocalGroupDelMembers
neg eax
sbb eax, eax
inc eax
pop ebp
ret

Function at 0x401110
Capabilities:
Delete user account

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
call sub.NETAPI32.dll_NetUserDel
neg eax
sbb eax, eax
inc eax
pop ebp
ret

Function at 0x401250
Capabilities:
List user account groups

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0
push 0
push 0x184
push 0x3ea
push ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1000
lea eax, [ebp - 8]
push eax
push 0
push 0
call sub.NETAPI32.dll_NetLocalGroupEnum
test eax, eax
jne 0x4012e9
mov esi, dword [ebp - 8]
test esi, esi
je 0x4012e9
push edi
xor edi, edi
cmp dword [ebp - 4], edi
jbe 0x4012d7
push dword [esi]
push 0
push 0x180
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc edi
lea esi, [esi + 4]
cmp edi, dword [ebp - 4]
jb 0x4012b6
mov esi, dword [ebp - 8]
push esi
call sub.NETAPI32.dll_NetApiBufferFree
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401300
Capabilities:
List user accounts for group

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push 0
push 0
push 0x184
push 0xfa2
push ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1000
lea eax, [ebp - 8]
push eax
push 1
push dword [ebp + 0xc]
push 0
call sub.NETAPI32.dll_NetLocalGroupGetMembers
test eax, eax
jne 0x4013a3
mov eax, dword [ebp - 8]
test eax, eax
je 0x4013a3
push esi
xor esi, esi
cmp dword [ebp - 4], esi
jbe 0x401392
push edi
lea edi, [eax + 8]
lea esp, [esp]
push dword [edi]
push 0
push 0x180
push 0xfa2
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc esi
lea edi, [edi + 0xc]
cmp esi, dword [ebp - 4]
jb 0x401370
mov eax, dword [ebp - 8]
pop edi
push eax
call sub.NETAPI32.dll_NetApiBufferFree
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4018b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
and ax, 0x3f
mov dword [0x429f54], esi
movzx eax, ax
xor bl, bl
push 0x4213bc
push edi
mov dword [ebp - 0x408], eax
call fcn.004028f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x401913
push 0x4213c0
push edi
call fcn.004028f0
mov esi, eax
add esp, 8
test esi, esi
je 0x4019e7
movsx eax, byte [esi + 1]
lea edi, [esi + 1]
push eax
call fcn.004028c4
add eax, 0xffffffbd
add esp, 4
cmp eax, 0x14
ja case.0x401932.68
movzx eax, byte [eax + 0x401ad4]
jmp dword [eax*4 + 0x401ab0]
push 0
push 1
call fcn.00401af0
add esp, 8
jmp 0x4019a2
push 0
push 0
call fcn.00401af0
add esp, 8
jmp 0x4019a2
push 1
push 1
call fcn.00401af0
add esp, 8
jmp 0x4019a2
push 1
push 0
call fcn.00401af0
add esp, 8
jmp 0x4019a2
call fcn.00402040
jmp 0x4019a2
call fcn.00401c70
jmp case.0x401932.78
push 0
push 0x401450
push 0
push 0x3e8
push dword [0x429f54]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp case.0x401932.78
call fcn.00401f00
mov bl, 1
push 0x4213bc
push edi
mov dword [ebp - 0x40c], esi
call fcn.004028f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x401913
mov eax, dword [ebp - 0x40c]
inc eax
push 0x4213c0
push eax
call fcn.004028f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x401913
test bl, bl
jne 0x401aa6
push 7
lea eax, [ebp - 0x204]
push str.mts_rt
push eax
call fcn.004034eb
push 7
lea eax, [ebp - 0x304]
push str.mts_rt
push eax
call fcn.004034eb
mov eax, dword [ebp - 0x408]
add esp, 0x18
pop edi
pop esi
pop ebx
cmp ax, 0xc
jne 0x401a28
push 0xd
push str.Utilisateurs
jmp 0x401a3e
cmp ax, 7
jne 0x401a37
push 9
push str.Benutzer
jmp 0x401a3e
push 6
push 0x4213e8
lea eax, [ebp - 0x104]
push eax
call fcn.004034eb
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x19
push str.MTS_Systems_User_Account
push eax
call fcn.004034eb
push 0
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00401060
push 0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00401000
mov ecx, dword [ebp - 4]
add esp, 0x28
xor ecx, ebp
xor eax, eax
call fcn.004040f2
mov esp, ebp
pop ebp
ret 0x10
push 0
call fcn.00403120
lea ecx, [ecx]
js 0x401acb
inc eax
add byte [ecx + 0x19], dh
inc eax
add byte [edi + 0x19], al
inc eax
add byte [ebx + 0x19], ah
inc eax
add byte [ebp + 0x19], dl
inc eax
add byte [eax + 0x39004019], ah
sbb dword [eax], eax
jg 0x401ae7
add byte [edi + 0x19], bh
inc eax
add byte [ebx + 0x4019], bl
or byte [eax], cl
add dword [eax], ecx
or byte [edx], al
add ecx, dword [eax]
or byte [eax + 101189640], al
or byte [eax], cl
or byte [eax], cl
pop es
or byte [edi], al
int3
Function at 0x401f70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ecx, esi
xor eax, eax
or dword [ebp - 0x22c], 1
mov word [ebp - 0x228], ax
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401fb0
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.004034eb
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x258]
push eax
push 0
push 0
push 0x8000030
push 0
push 0
push 0
lea eax, [ebp - 0x204]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402024
push 0x4e20
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x210]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x214]
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004040f2
mov esp, ebp
pop ebp
ret
Function at 0x412a7d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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.0040741c
mov dword [ebp - 0x14], eax
cmp dword [0x429f28], esi
jne 0x412b70
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x412afd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x412c50
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x412c50
push 0x426260
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x412c50
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x429f28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x429f2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x429f30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x429f38], eax
test eax, eax
je 0x412b6d
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x429f34], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x412b95
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x412b88
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x412baa
push 4
pop eax
jmp 0x412c52
cmp dword [ebp - 0x14], esi
je 0x412baa
push dword [0x429f28]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x412b8f
mov eax, dword [0x429f34]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x412c08
cmp dword [0x429f38], edi
je 0x412c08
push eax
call ebx
push dword [0x429f38]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x412c08
test eax, eax
je 0x412c08
call ecx
test eax, eax
je 0x412bfd
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 0x412bfd
test byte [ebp - 8], 1
jne 0x412c08
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x412c38
mov eax, dword [0x429f2c]
cmp eax, edi
je 0x412c35
push eax
call ebx
test eax, eax
je 0x412c35
call eax
mov esi, eax
test esi, esi
je 0x412c35
mov eax, dword [0x429f30]
cmp eax, edi
je 0x412c35
push eax
call ebx
test eax, eax
je 0x412c35
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x429f28]
call ebx
test eax, eax
je 0x412c50
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x412c52
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040f2
mov esp, ebp
pop ebp
ret