joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7bd1c5
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Execute anti-debugging instructions
Parse pe header

Disassembly:
push ecx
jmp loc.0041dc4c
xor eax, ebp
cmp edx, esi
test eax, ebp
mov dword [ebp - 0x14], eax
test edx, ecx
jmp 0x83c0c2
push ebp
cmp si, 0x5aab
adc ah, al
mov ebp, esp
adc al, 0x12
push 0xffffffffffffffff
shld ax, di, 0xcc
or ah, 0x30
movzx eax, bx
push 0x4e4288
sbb eax, edi
clc
rcr eax, cl
mov eax, dword fs:[0]
clc
push eax
btc ax, bx
lea esp, [esp - 0x8e0]
mov eax, dword [0x520628]
clc
jmp 0x61d30a
push ebx
push esi
bts ebx, ecx
clc
cmp ebp, 0x16a2311c
push edi
clc
shld bx, cx, 0x99
sub bx, sp
push eax
cmp bh, dl
dec bx
or bh, dh
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmovge ebx, eax
mov eax, edi
mov eax, dword [ebp + 8]
sar bx, cl
movzx bx, dh
and ebx, esi
mov dword [ebp - 0x888], eax
cbw
lea eax, [ebp - 0x38]
mov dword [ebp - 0x898], ecx
or bx, 0x3d34
push eax
bswap ecx
lea ecx, [ebp - 0x24]
dec ebx
sal bh, cl
bswap ebx
sub esi, esi
mov bl, ch
mov ebx, 0x69
jmp 0x5f02b6

Function at 0x7c4fd9
Capabilities:
Parse pe header

Disassembly:
push 0xdc35c39b
call fcn.00638f30
Function at 0x7f072b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xcd], al
jmp 0x82f720
mov byte [ebp - 0x153], 0x33
jmp 0x822450
mov byte [ebp - 0x1b], 0x2e
mov byte [ebp - 0x1a], 0x64
mov byte [ebp - 0x17], 0
jmp 0x69ae76
mov byte [ebp - 0xa2], bl
jmp loc.004260a1
mov byte [ebp - 0x1e], 0x64
jmp 0x5ce284
mov byte [ebp - 0xc5], 0x65
mov byte [ebp - 0xc4], 0x72
jmp 0x7fcb60
mov byte [ebp - 0xd8], 0x52
mov byte [ebp - 0xd7], dl
jmp 0x7751d9
mov byte [ebp - 0x1f], dl
jmp 0x664c64
mov byte [ebp - 0xa3], al
jmp 0x652e69
mov byte [ebp - 0xc6], 0x62
jmp 0x667323
mov byte [ebp - 0xa7], cl
mov byte [ebp - 0xa6], 0x63
jmp 0x785f29
push esi
jmp 0x824b00
mov byte [ebp - 0xd5], 0x47
jmp 0x788965
mov byte [ebp - 0xa5], 0x72
jmp 0x88e55c
mov byte [ebp - 0xd4], 0x65
jmp 0x845c48
mov byte [ebp - 0xd6], al
mov al, 0x73
mov byte [ebp - 0x20], 0x6e
jmp 0x6a00f3
mov byte [ebp - 0xd1], dl
mov byte [ebp - 0xd0], 0x56
mov byte [ebp - 0xcf], 0x65
jmp 0x7ded69
mov byte [ebp - 0xd2], 0x4e
jmp 0x7a0de4
mov byte [ebp - 0x18], al
jmp 0x797114
mov byte [ebp - 0xce], 0x72
jmp 0x5311fa
push ebp
bt ebp, 0xa6
xchg ebp, eax
mov ebp, esp
neg dl
ror dl, 0xc8
lea esp, [esp - 0x160]
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 4], eax
mov dl, 0x7f
push ebx
mov al, 0x6c
xchg bl, dl
mov dl, 0x74
not bl
mov bl, 0x6f
jmp 0x73756e
mov byte [ebp - 0xc3], al
jmp 0x87b64c
mov byte [ebp - 0x151], 0
jmp 0x81a821
mov byte [ebp - 0xa8], 0x4d
jmp 0x71e6c7
mov byte [ebp - 0x152], 0x32
jmp 0x80a62a
push edi
xchg edi, edi
mov edi, ecx
mov cl, 0x69
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x19], al
jmp 0x7cdea0
mov byte [ebp - 0xcc], cl
jmp 0x86ed4f
mov byte [ebp - 0xc8], 0x75
mov byte [ebp - 0xc7], 0x6d
jmp 0x706ca8
mov byte [ebp - 0x14f], 0x36
mov byte [ebp - 0x14e], 0x34
mov byte [ebp - 0x14d], 0
mov byte [ebp - 0x154], 0x58
jmp 0x5c7d73
mov byte [ebp - 0xd3], dl
jmp 0x7b84d9
mov byte [ebp - 0xcb], bl
mov byte [ebp - 0xca], 0x6e
mov byte [ebp - 0xc9], 0x4e
jmp 0x84038c
mov byte [ebp - 0xc2], 0
mov byte [ebp - 0x150], 0x58
jmp 0x8458f1
mov byte [ebp - 0xa4], bl
jmp 0x6b6d0a

Function at 0x808475
Capabilities:
Parse pe header

Disassembly:
mov byte [ebp - 0xcc], 0x6e
jmp 0x8150f1
mov byte [ebp - 0xc4], 0x64
jmp 0x7a619a
mov byte [ebp - 0xc9], 0x55
mov byte [ebp - 0xc8], 0x6e
jmp 0x7cc984
mov byte [ebp - 0xce], 0x6c
jmp 0x8a1130
push esi
mov byte [ebp - 0xd0], 0x52
mov byte [ebp - 0xcf], 0x74
jmp 0x74c4b8
mov byte [ebp - 0xca], 0x74
jmp 0x709328
mov byte [ebp - 0xc3], bl
jmp 0x7afed5
mov byte [ebp - 0xc2], 0x53
mov byte [ebp - 0xc1], 0x74
mov byte [ebp - 0xc0], 0x72
mov byte [ebp - 0xbf], 0x69
jmp loc.0043218d
mov byte [ebp - 0xc7], 0x69
jmp 0x80a548
push 0xdc35c39b
call fcn.00638f30
push ecx
jmp 0x74e05d
mov byte [ebp - 0xc6], 0x63
jmp 0x83a267
mov byte [ebp - 0xcb], 0x69
jmp 0x762a6c
mov byte [ebp - 0xc5], 0x6f
jmp 0x697119
mov byte [ebp - 0xcd], 0x49
jmp 0x5337c5
Function at 0x82f195
Capabilities:
Parse pe header

Disassembly:
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x7fcd27
push edi
jmp 0x80e686
push ebx
push esi
jmp 0x76f899
call 0x7af0f5
lea eax, [ebp - 0x18]
jmp loc.004277e6
push ebp
mov ebp, esp
shrd ax, cx, 0xed
btr ax, bx
sub ah, 0x14
sub esp, 0x16c
mov eax, dword [0x520628]
cmp di, ax
jmp 0x6a3768
Function at 0x1c02580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x803000]
push edi
or ebp, 0xffffffff
jmp 0x1c025a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1c025a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c02598
mov eax, 1
add ebx, ebx
jne 0x1c025bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1c025cc
jne 0x1c025eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c025eb
dec eax
add ebx, ebx
jne 0x1c025d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1c025b0
add ebx, ebx
jne 0x1c025e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1c0263d
xor ecx, ecx
sub eax, 3
jb 0x1c02603
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1c02672
sar eax, 1
mov ebp, eax
jmp 0x1c0260e
add ebx, ebx
jne 0x1c0260e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c025dc
inc ecx
add ebx, ebx
jne 0x1c0261c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c025dc
add ebx, ebx
jne 0x1c02629
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1c0261e
jne 0x1c0263a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1c0261e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1c0265c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1c0264e
jmp 0x1c0259e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1c0265c
add edi, ecx
jmp 0x1c0259e
pop esi
mov edi, esi
mov ecx, 0x4ecd6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1c0267a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x1c0267f
lea edi, [esi + 0xcfe000]
mov eax, dword [edi]
or eax, eax
je 0x1c026e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd7f368]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd7f494]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1c026a5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd7f498]
or eax, eax
je 0x1c026e1
mov dword [ebx], eax
add ebx, 4
jmp 0x1c026c2
call dword [esi + 0xd7f4a8]
mov ebp, dword [esi + 0xd7f49c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1c0271b
sub esp, 0xffffff80
jmp 0x15e36fc
Function at 0x40102a
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push ebp
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebp, ebp
pop ecx
test eax, eax
je 0x401079
push str.Windows_original_main_args:_n
call fcn.004010ff
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, ebp
pop ecx
call edi
cmp dword [eax], ebp
jle 0x401079
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.004010ff
add esp, 0xc
inc esi
call edi
cmp esi, dword [eax]
jl 0x401059
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov ebx, eax
lea ecx, [ebx*4 + 4]
push ecx
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
mov edx, ebp
test ebx, ebx
jle 0x4010b7
mov edi, esi
mov ecx, dword [eax + edx*8]
inc edx
mov dword [edi], ecx
lea edi, [edi + 4]
cmp edx, ebx
jl 0x4010aa
mov ecx, dword [str.java]
mov dword [esi + edx*4], ebp
test ecx, ecx
jne 0x4010c6
mov ecx, dword [esi]
mov eax, dword [section..data]
test eax, eax
jne 0x4010d1
mov eax, dword [esi]
push ebp
push ebp
push ebp
push 1
push ecx
push eax
push 0x402240
push 0x402244
push 0x403018
push 2
push 0x403004
push 5
push esi
push ebx
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x401810
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40184f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40184f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40184f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40184f
cmp dword [ecx + 0x74], 0xe
jbe 0x40184f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42d977
Capabilities:
Encode data using xor

Disassembly:
std
or dh, byte [edi + edi*4 - 0x53]
sar dword [edi], 0xe8
and eax, dword [eax]
and dword [esi], esi
aad 0x87
salc
out dx, eax
daa
mov dword [0xddc15ed5], eax
adc ecx, dword [0xee170bd2]
test al, 0xac
vmread dword [esi + 0x78], edi
lcall 0xbc16, 0x7b3c67a2
wait
xchg eax, esi
pop esi
Function at 0x4a02f7
Capabilities:
Encode data using xor

Disassembly:
or byte cs:[esi + eax*4 - 0x43], al
pop es
and byte [edi + edi*4], ch
sub al, 0xbf
test eax, 0x909f6fd1
mov eax, 0x77491f94
out dx, eax
xlatb
in al, dx
repe scasb al, byte es:[edi]
invalid
neg ebx
jle 0x4a034a
cmc
or byte [ecx + 0x3e], cl
mov eax, 0xb1e08af1
loopne 0x4a034f
jp 0x4a036b
xchg ecx, eax
cli
mov esp, 0x9ab171e2
bound edi, qword [esi + 0x18]
jp 0x4a02b9
shl dword [ecx - 0x65], 0x43
mov ecx, 0xaeb99e6f
imul esp, dword [esi + 0x61f9d4c3], 0x6999bda4
or ch, byte [ecx - 0x5d]
pushal
pop ecx
sti
jl 0x4a02c0
salc
scasb al, byte es:[edi]
out 0x8a, al
dec edx
xchg esp, eax
cmpsd dword [esi], dword es:[edi]
fbstp tbyte [ecx - 0x71]
loope 0x4a03b1
ret
dec esi
inc esi
invalid
or dword [ebp - 0x7908af83], eax
adc edx, ebp
insb byte es:[edi], dx
mov fs, word [edi]
sbb al, 0xe0
xchg ecx, eax
jbe 0x4a03a4
add dl, byte [edi]
add esp, edx
wait
out 0xfb, al
xchg esp, eax
pop eax
pop edi
rol byte [ecx + eax*4 + 0x2d], 0x93
into
push esi
out dx, al
inc ebp
add ch, al
fcomp qword [ebp + eax*2 + 0x5824e15f]
fnsave dword [ebp + 0x67]
or al, 0xdf
jno 0x4a03f8
jae 0x4a0390
or cl, byte [ecx + 0x53deb401]
mov dword [ecx], eax
mov ah, 0xde
push ebx
aad 0xd3
or ah, byte [ecx - 0x32]
test dword [edi + 0xc0110a0], esp
mov cl, 0x51
test eax, 0x530f27fd
hlt
jecxz 0x4a03bf
dec ebp
mov ah, 0x29
xor dword [eax], ebp
mov bh, 0x20
inc ecx
mov ds, word [ebx - 0xd]
je 0x4a0384
dec ecx
test eax, 0x31906e75
aas
or dword ss:[edx - 0x3b], eax
and esp, 0xffffffc0
in al, 0xc0
xor bh, byte [ebp - 0x1a6eda86]
or ch, 0xa7
pop ebp
mov dh, 0x7c
xor ah, cl
fnsave dword [edi]
stc
dec edi
loopne 0x4a03be
push 0xb0d891c3
add ch, 0x26
cmpsb byte [esi], byte es:[edi]
xchg ecx, eax
fdiv dword [eax - 0x59d93a7e]
mov esi, 0xca21f0de
sub al, 0x56
jle 0x4a03d7
test byte [eax + 0x68], 0x44
inc byte [edi + 0x117a370]
xor eax, edx
scasb al, byte es:[edi]
mov cl, 0x90
stosd dword es:[edi], eax
std
nop
pop ecx
je 0x4a0408
insd dword es:[edi], dx
fdivr dword [edi]
add byte [ecx - 0x2fa55928], 0xd
sbb esp, dword [esi - 0x64296aef]
pop es
push esp
adc dword [ebp + 0x54079bd6], edx
jle 0x4a045d
loope 0x4a046a
fcom qword [ecx - 0x20]
loope 0x4a0485
xlatb
ret
pop ds
scasd eax, dword es:[edi]
cmp ah, byte [eax]
jo 0x4a0465
inc edx
mov cl, byte [ebx - 0x484d0006]
mov edi, edx
push dword [edx - 0x4deb5f49]
sti
lodsb al, byte [esi]
mov al, byte [0xacfbb214]
xor ch, byte [ecx]
imul eax, dword [esp + edx*2 + 0x3c], 0xffffffef
int 0xd8
adc byte [esi + 0x7ce055e6], ah
xor bl, byte [eax + 0x47479732]
inc edi
inc edi
jns 0x4a04c1
jne 0x4a0484
xchg esi, eax
std
inc esp
jns 0x4a0412
push ds
outsd dx, dword [si]
mov eax, dword [0x4cb54cd2]
add byte [ebx], dl
or eax, 0x6854e785
out dx, al
stc
loopne 0x4a0488
leave
pop esi
add edx, edx
push ebp
sub al, 0x1d
adc byte [ebp + 0xbe9df76], dl
jno 0x4a049a
test al, 0x11
cli
xor edi, esi
sub dl, byte [edx - 0x6c]
add byte [ecx + ecx*2], 0xbf
xlatb
inc edi
hlt
hlt
Function at 0x627cc9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x630388
cmp edx, dword [eax]
je 0x627ceb
add eax, 8
inc ecx
cmp eax, 0x630418
jl 0x627cdc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x630388]
jne 0x627e19
mov eax, dword [0x639d10]
cmp eax, 1
je 0x627df3
test eax, eax
jne 0x627d1c
cmp dword [0x6302b4], 1
je 0x627df3
cmp edx, 0xfc
je 0x627e19
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x627d53
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006286b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00628b40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x627d96
lea eax, [ebp - 0x1a4]
push eax
call fcn.00628b40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62ca34
push edi
call fcn.0062aa10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.006286b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006286c0
lea eax, [ebp - 0xa0]
push 0x62ca14
push eax
call fcn.006286c0
push dword [esi + 0x63038c]
lea eax, [ebp - 0xa0]
push eax
call fcn.006286c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062a984
add esp, 0x2c
pop edi
jmp 0x627e19
lea eax, [ebp + 8]
lea esi, [esi + 0x63038c]
push 0
push eax
push dword [esi]
call fcn.00628b40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1005101
Capabilities:
Get domain information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebx + 0x18]
call fcn.01004e47
lea eax, [ebp - 4]
push eax
push 1
push 0
call sub.NETAPI32.dll_DsRoleGetPrimaryDomainInformation
test eax, eax
jl 0x100512b
cmp dword [ebp - 4], 0
jne 0x1005135
push 0x459
call fcn.010034a2
mov esi, dword [ebp - 4]
sub esp, 0x24
push 9
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.01010633
push 0
call dword [sym.imp.msvcrt.dll_time]
push eax
call dword [sym.imp.msvcrt.dll_srand]
cmp dword [ebx + 0x2c], 0
pop ecx
pop ecx
je 0x1005174
mov esi, dword [ebp - 4]
sub esp, 0x24
push 9
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0100f13d
push dword [ebp - 4]
call sub.NETAPI32.dll_DsRoleFreeMemory
call fcn.0100e9cf
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x1006b12
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x1006b41
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetMailslotInfo]
test eax, eax
jne 0x1006b45
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1006b6f
push edi
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [esi + 0xc]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0xc

Function at 0x100eb1f
Capabilities:
Listen for remote procedure calls

Disassembly:
mov edi, edi
push esi
mov esi, dword [sym.imp.RPCRT4.dll_RpcServerRegisterIf]
push edi
xor edi, edi
push edi
push edi
push dword [0x1013178]
call esi
cmp eax, edi
je 0x100eb41
push eax
push 0x100302c
jmp 0x100eb97
push edi
push edi
push dword [0x1013148]
call esi
cmp eax, edi
jne 0x100eb39
push edi
push edi
push dword [0x1013110]
call esi
cmp eax, edi
jne 0x100eb39
push edi
push 0x1002c38
push 0x64
push 0x1002c24
call dword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
cmp eax, edi
je 0x100eb7c
push eax
push 0x1003010
jmp 0x100eb97
push 1
push 0xc8
push 1
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
cmp eax, edi
pop edi
pop esi
je 0x100eb9c
push eax
push 0x1002ff8
call fcn.0100eac7
ret
Function at 0x100ede5
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push dword [0x10132f8]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
cmp dword [0x1013234], esi
jne 0x100eea8
push 0x4c
call fcn.01003329
cmp eax, esi
pop ecx
je 0x100ee1b
mov ecx, eax
call fcn.01005101
jmp 0x100ee1d
xor eax, eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1013238], eax
cmp dword [eax + 0x2c], esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
je 0x100ee7b
push esi
push esi
push dword [0x1013088]
call dword [sym.imp.RPCRT4.dll_RpcServerRegisterIf]
cmp eax, esi
je 0x100ee4f
push eax
push 0x100302c
jmp 0x100ee94
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x10088af
push esi
push esi
call edi
cmp eax, esi
je 0x100ee8e
push eax
call ebx
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x100d5ee
push esi
push esi
call edi
cmp eax, esi
je 0x100ee8e
push eax
call ebx
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x100ed6f
push esi
push esi
call edi
cmp eax, esi
jne 0x100ee99
push esi
push 0x1003098
call fcn.0100eac7
push eax
call ebx
pop edi
mov dword [0x1013234], 1
pop ebx
push dword [0x10132f8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
leave
ret

Function at 0x100ef5a
Capabilities:
List domain servers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x1013214]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
call fcn.0100e9cf
mov eax, dword [esi + 4]
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0x400]
push ecx
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x3f8]
push eax
mov eax, edi
shl eax, 3
push eax
lea eax, [ebp - 0x3f4]
push eax
push 0x64
push 0
call sub.NETAPI32.dll_NetServerEnum
push 0x14
mov ebx, eax
call fcn.01003329
test eax, eax
pop ecx
je 0x100efca
mov ecx, eax
call fcn.0100f067
mov dword [ebp - 0x3f0], eax
jmp 0x100efd1
and dword [ebp - 0x3f0], 0
test ebx, ebx
je 0x100f007
cmp ebx, 0xea
je 0x100f007
push edi
push esi
lea eax, [ebp - 0x3ec]
push 0x10030b0
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push 0x459
lea eax, [ebp - 0x3ec]
push eax
call fcn.0100eac7
jmp 0x100f04d
xor esi, esi
cmp dword [ebp - 0x3f8], esi
jbe 0x100f04d
push 8
call fcn.01003329
test eax, eax
pop ecx
je 0x100f02f
mov ecx, dword [ebp - 0x3f4]
push dword [ecx + 4]
mov ecx, eax
call fcn.01006f71
jmp 0x100f031
xor eax, eax
mov ecx, dword [ebp - 0x3f0]
push eax
call fcn.01006dac
add dword [ebp - 0x3f4], 8
inc esi
cmp esi, dword [ebp - 0x3f8]
jb 0x100f011
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3f0]
pop edi
pop esi
pop ebx
call fcn.010118e7
leave
ret 0xc
Function at 0x100f13d
Capabilities:
Get domain controller name
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1013214]
push ebx
push esi
push edi
push 9
mov ebx, ecx
pop ecx
lea esi, [ebp + 8]
lea edi, [ebp - 0x48]
push 0x10
rep movsd dword es:[edi], dword [esi]
pop esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x50], esi
call fcn.0100e9cf
push 0x38
call fcn.01003329
xor edi, edi
cmp eax, edi
pop ecx
je 0x100f180
push ebx
mov ecx, eax
call fcn.0100f094
jmp 0x100f182
xor eax, eax
push 0x14
mov dword [ebx + 0x10], eax
call fcn.01003329
cmp eax, edi
pop ecx
je 0x100f19a
mov ecx, eax
call fcn.0100f067
jmp 0x100f19c
xor eax, eax
push 0xc
mov dword [ebx + 0xc], eax
call fcn.01003329
cmp eax, edi
pop ecx
je 0x100f1b5
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x100f1b7
xor eax, eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x40], 0x1c20
mov dword [ebx + 8], edi
call fcn.0100e9cf
push esi
call fcn.01003329
cmp eax, edi
pop ecx
mov esi, 0x410
je 0x100f1e8
push esi
push 0x1002814
mov ecx, eax
call fcn.01006a99
jmp 0x100f1ea
xor eax, eax
mov dword [ebx + 0x44], eax
call fcn.0100e9cf
push 0x10
call fcn.01003329
cmp eax, edi
pop ecx
je 0x100f20d
push esi
push 0x1002c64
mov ecx, eax
call fcn.01006a99
jmp 0x100f20f
xor eax, eax
mov dword [ebx + 0x48], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x100f22e
push 0x459
call fcn.010034a2
push 8
call fcn.01003329
cmp eax, edi
pop ecx
je 0x100f247
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.01006f71
jmp 0x100f249
xor eax, eax
sub esp, 0x24
push 9
pop ecx
mov edi, esp
lea esi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov dword [ebx + 0x20], eax
call fcn.0100eebc
test eax, eax
jne 0x100f273
push 0x459
push 0x10030f8
call fcn.0100eac7
mov eax, dword [ebx + 4]
xor esi, esi
sub eax, esi
je 0x100f2ae
dec eax
je 0x100f290
push 0x459
push 0x10030e4
call fcn.0100eac7
jmp 0x100f2b8
call fcn.0100e9cf
lea eax, [ebp - 0x4c]
push eax
push esi
push esi
call sub.NETAPI32.dll_NetGetDCName
cmp eax, esi
je 0x100f2c7
cmp eax, 0xea
je 0x100f2c7
mov dword [ebx + 4], esi
mov ecx, ebx
mov dword [ebx + 0x24], esi
call fcn.0100ef2e
mov ecx, dword [ebp - 4]
call fcn.010118e7
pop edi
pop esi
pop ebx
leave
ret 0x24
push 8
call fcn.01003329
cmp eax, esi
pop ecx
je 0x100f2e3
mov ecx, dword [ebp - 0x4c]
add ecx, 4
push ecx
mov ecx, eax
call fcn.01006f71
jmp 0x100f2e5
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x24], eax
call fcn.0100f0fe
jmp 0x100f2b8
Function at 0x101ab24
Capabilities:
Encode data using xor

Disassembly:
push 0xfa867451
call fcn.0101aaea
sbb ecx, eax
or dh, ch
mov dword [ebp - 0x264], esi
inc ecx
push 0x222c1e7e
call fcn.0101aaea
lea eax, [esp + 0x28]
mov dword [esp + 0x4c], esi
inc edi
and ch, 0x1a
xchg esi, eax
push 0x3c
mov edi, dword [esp + 0x4c]
push esp
sub edx, 0xeecc1d1e
inc dword [esp]
not edx
sbb dh, 0x8b
test edx, eax
push dword [esp]
dec eax
mov dword [esp + 4], 1
sub ah, 0x44
add ch, 0x91
push dword [esp]
xor edx, 0x11358cf2
sub al, ch
call edi
add ecx, 0xeabad35
dec byte [esp]
jne 0x101ab56
xor cl, 0x15
dec edi
inc eax
pop eax
jmp 0x101ae17
inc eax
push 1
call fcn.0101aa60
pop dword [esi + 0x1c]
inc eax
mov ecx, 0x29fc9062
test ecx, 0x55acf37a
mov dword [esi + 0x14], 0xc
lea eax, [ebp - 0xb3]
push eax
mov dword [esi + 0x18], esi
dec dh
lea edi, [ecx]
sub byte [esi + 2], 0xfc
push 4
push 3
lea esi, [esi + 0x14]
push esi
add dword [ebp + 0x1cf], ebp
call dword [0xfffffd9c]
sub dword [ebp + 0x1cf], ebp
ret