joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d690
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4c4a56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x82a748]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.004b3822
cmp dword [0x861d5c], ebx
je 0x48d700
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.004b1415
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x82a748]
push ebp
push edi
mov edi, 1
mov dword [0x861d5c], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x48d729
mov dword [esp + 0x20], ebx
jmp 0x48d730
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.004b596b
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.004b1502
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x48d78e
mov dword [esp + 0x14], ebx
jmp 0x48d795
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x48d7af
mov eax, dword [eax + 0x3c4]
cmp eax, edi
je 0x48d7a9
cmp eax, 2
jne 0x48d7af
mov dword [esp + 0x18], edi
jmp 0x48d7b3
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x48d7c1
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004b2e57
mov edi, eax
cmp edi, ebx
jne 0x48d7d1
xor eax, eax
jmp 0x48d7d4
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x48d7fc
mov ecx, esi
call fcn.004b596b
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x48d814
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x861d5c], 0
test eax, eax
je 0x48d83d
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x48d83d
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.004b1415
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004b1415
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4b3822
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b385a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b1870
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b1848
jmp 0x4b3866
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b509a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b50dc
call fcn.004bb5b8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b50dc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b50d3
xor eax, eax
jmp 0x4b50e4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b50ea
pop edi
pop esi
pop ebx
ret 4

Function at 0x4bbae8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4bbb16
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4bbb34
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004bba4e
jmp 0x4bbb34
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4bbb34
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004bba4e
test edi, edi
mov eax, edi
jne 0x4bbb1e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4be36b
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4be393
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4be3a4
push 2
call edi
test ax, ax
jge 0x4be3a4
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004b2e57
cmp dword [esi + 0x30], ebx
jne 0x4be47e
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004b2e57
cmp eax, dword [esp + 0x34]
jne 0x4be47e
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4be41a
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4be45f
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4be47e
cmp eax, 0x205
je 0x4be47e
cmp eax, 0x201
je 0x4be47e
cmp eax, 0x204
je 0x4be47e
cmp eax, ebx
jne 0x4be445
cmp dword [esp + 0x1c], 0x1b
je 0x4be47e
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x863e34]
jbe 0x4be474
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4be3d7
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x40b970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], ecx
cmp dword [eax], ecx
jle 0x40baa4
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
nop
mov esi, dword [edx]
add esi, ecx
mov al, byte [esi]
mov byte [ebp - 0x14], al
mov eax, dword [edx + 4]
mov al, byte [ecx + eax]
mov byte [ebp - 0x10], al
mov eax, dword [edx + 8]
mov al, byte [ecx + eax]
mov byte [ebp - 8], al
mov eax, dword [edx + 0xc]
mov al, byte [ecx + eax]
mov byte [ebp - 4], al
push dword [ebp - 4]
push 9
call fcn.0040b810
push dword [ebp - 8]
mov bl, al
push 0xd
call fcn.0040b810
push dword [ebp - 0x10]
xor bl, al
push 0xb
call fcn.0040b810
mov edi, dword [ebp - 0x14]
xor bl, al
push edi
push 0xe
call fcn.0040b810
push dword [ebp - 4]
xor bl, al
push 0xd
mov byte [esi], bl
call fcn.0040b810
push dword [ebp - 8]
mov bl, al
push 0xb
call fcn.0040b810
mov esi, dword [ebp - 0x10]
xor bl, al
push esi
push 0xe
call fcn.0040b810
push edi
push 9
xor bl, al
call fcn.0040b810
mov ecx, dword [ebp - 0xc]
xor bl, al
mov eax, dword [ebp + 8]
push dword [ebp - 4]
push 0xb
mov eax, dword [eax + 4]
mov byte [ecx + eax], bl
call fcn.0040b810
push dword [ebp - 8]
mov bl, al
push 0xe
call fcn.0040b810
push esi
push 9
xor bl, al
call fcn.0040b810
push edi
push 0xd
xor bl, al
call fcn.0040b810
mov ecx, dword [ebp - 0xc]
xor bl, al
mov eax, dword [ebp + 8]
push dword [ebp - 4]
push 0xe
mov eax, dword [eax + 8]
mov byte [ecx + eax], bl
call fcn.0040b810
push dword [ebp - 8]
mov bl, al
push 9
call fcn.0040b810
xor bl, al
push esi
push 0xd
call fcn.0040b810
push edi
push 0xb
xor bl, al
call fcn.0040b810
mov edx, dword [ebp + 8]
xor bl, al
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov byte [ecx + eax], bl
inc ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
cmp ecx, dword [eax]
jl 0x40b990
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40bab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
sub esp, 0xc
xor ecx, ecx
test edx, edx
je 0x40bbb6
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp edx, 0x40
jb 0x40bb98
lea eax, [edx - 1]
add eax, ebx
cmp edi, eax
ja 0x40baee
lea eax, [edx - 1]
add eax, edi
cmp eax, ebx
jae 0x40bb98
lea eax, [edx - 1]
add eax, esi
cmp edi, eax
ja 0x40bb04
lea eax, [edx - 1]
add eax, edi
cmp eax, esi
jae 0x40bb98
mov eax, edx
mov edx, esi
sub edx, ebx
and eax, 0xffffffc0
mov dword [ebp + 8], edx
mov edx, edi
sub edx, ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
lea eax, [ebx + 0x10]
mov ebx, dword [ebp + 8]
mov edx, esi
sub edx, edi
mov dword [ebp - 8], edx
lea edx, [edi + 0x20]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x10]
mov edi, dword [ebp - 4]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx + esi]
lea edx, [edx + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [edx - 0x60], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [edi + eax - 0x40], xmm1
mov edi, dword [ebp - 8]
movups xmm1, xmmword [edi + edx - 0x40]
mov edi, dword [ebp + 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [edx - 0x40], xmm1
movups xmm1, xmmword [ecx + esi + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [edx - 0x30], xmm1
cmp ecx, dword [ebp - 0xc]
jb 0x40bb30
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0x10], ecx
cmp ecx, edx
jae 0x40bbb3
sub esi, ebx
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + edi - 1], cl
sub edx, 1
jne 0x40bba1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x412610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bfa0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x44f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004182a2
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0041a05e
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418dc4
Capabilities:
Parse pe header

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

Function at 0x419d25
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x419d46
jl 0x419d3d
test edi, edi
jne 0x419d46
xor eax, eax
xor edx, edx
jmp 0x419e07
cmp dword [ebx + 0x38], 0
je 0x419d5b
push eax
push edi
push dword [ebp + 8]
call fcn.00411810
jmp 0x419e07
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x419da2
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x419da2
cmp eax, edi
jb 0x419d7c
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0041b920
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x419da8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x419dfc
mov ecx, ebx
call fcn.0041969e
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x419de7
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00428263
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x419dfc
jmp 0x419dba
test edx, edx
je 0x419dfc
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00428263
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x419e0d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x419e2f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00411730
jmp 0x419eed
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x419e55
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x419e5a
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x419eba
jg 0x419e6f
test esi, esi
je 0x419eba
test ecx, ecx
jl 0x419eb5
jg 0x419e79
test eax, eax
je 0x419eb5
cmp edi, ecx
jg 0x419e8b
jl 0x419e83
cmp esi, eax
jae 0x419e8b
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.0041b920
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x419ebd
mov ecx, dword [ebp + 8]
jmp 0x419ec7
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x419ee1
jg 0x419ec7
test esi, esi
je 0x419ee1
cmp dword [ebx + 0x4c], 0
je 0x419ee1
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0042884e
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4326c0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00432536

Function at 0x4399c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4399ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4399ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x3000363d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..cdata]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x105
push dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
xor ebx, ebx
mov dword [esi], 9
call fcn.3000abd3
lea eax, [ebp - 0x210]
push eax
call fcn.30002f7a
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x300036a1
push ebx
push edi
call fcn.3000a134
pop ecx
pop ecx
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x300036a1
test al, 0x10
jne 0x300036a1
inc ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
call fcn.3000b837
leave
ret

Function at 0x300036b0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [section..cdata]
push esi
push edi
xor esi, esi
push esi
mov dword [ebp + 0x190], eax
push 0x20
lea eax, [ebp - 0x7c]
push eax
push esi
xor edi, edi
mov dword [ebp - 0x80], esi
mov word [ebp - 0x7c], si
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x30003751
cmp word [ebp - 0x7c], si
je 0x30003751
lea eax, [ebp - 0x7c]
push eax
call fcn.3000a616
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0x19c]
call fcn.3000abb9
add esp, 0x10
test eax, eax
je 0x30003751
push esi
push 0x10
lea eax, [ebp - 0x80]
push 0x3000288f
push eax
call fcn.3000ad62
push dword [ebp - 0x80]
push dword [ebp + 0x19c]
call fcn.30002a47
mov edi, eax
add esp, 0x18
cmp edi, esi
jne 0x30003744
push dword [ebp + 0x19c]
call fcn.30002c1c
pop ecx
mov edi, eax
cmp dword [ebp - 0x80], esi
je 0x30003751
push dword [ebp - 0x80]
call sub.USER32.dll_DdeUninitialize
mov ecx, dword [ebp + 0x190]
mov eax, edi
pop edi
pop esi
call fcn.3000b837
add ebp, 0x194
leave
ret
Function at 0x300093c3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], 0
jne 0x300093eb
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
test eax, eax
setg cl
jmp 0x30009404
push dword [ebp + 0x14]
mov eax, dword [eax + 0x28]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push dword [ebp + 0xc]
push eax
call dword [ecx + 0xc]
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
test eax, eax
jne 0x3000940f
mov ecx, dword [ebp + 0x14]
and dword [ecx], eax
pop ebp
ret

Function at 0x3000954e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [section..cdata]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x4c], ebx
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 1
push ebx
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x14], 0xc558834c
mov word [ebp - 0x10], 0x7f86
mov word [ebp - 0xe], 0x11d0
mov byte [ebp - 0xc], 0x82
mov byte [ebp - 0xb], 0x52
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], 0xc0
mov byte [ebp - 8], 0x4f
mov byte [ebp - 7], 0xd8
mov byte [ebp - 6], 0x5a
mov byte [ebp - 5], 0xb4
mov dword [ebp - 0x24], 0xfd853ce3
mov word [ebp - 0x20], 0x7f86
mov word [ebp - 0x1e], 0x11d0
mov byte [ebp - 0x1c], 0x82
mov byte [ebp - 0x1b], 0x52
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], 0xc0
mov byte [ebp - 0x18], 0x4f
mov byte [ebp - 0x17], 0xd8
mov byte [ebp - 0x16], 0x5a
mov byte [ebp - 0x15], 0xb4
mov dword [ebp - 0x34], 0xfd853cd5
mov word [ebp - 0x30], 0x7f86
mov word [ebp - 0x2e], 0x11d0
mov byte [ebp - 0x2c], 0x82
mov byte [ebp - 0x2b], 0x52
mov byte [ebp - 0x2a], bl
mov byte [ebp - 0x29], 0xc0
mov byte [ebp - 0x28], 0x4f
mov byte [ebp - 0x27], 0xd8
mov byte [ebp - 0x26], 0x5a
mov byte [ebp - 0x25], 0xb4
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.3000bd70
mov esi, eax
cmp esi, ebx
jl 0x30009696
mov eax, dword [ebp - 0x38]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, ebx
jl 0x30009696
cmp esi, 0xcce3a
je 0x30009696
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x4c], 0x30002284
mov dword [ebp - 0x48], 0x3000227c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
mov esi, eax
cmp esi, ebx
jl 0x30009696
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x14]
push edx
push dword [ebp - 0x40]
push eax
call dword [ecx + 0x40]
mov esi, eax
cmp esi, ebx
jl 0x30009696
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push 0xa
push eax
call dword [ecx + 0x90]
mov esi, eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x300096a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.3000b837
leave
ret
Function at 0x3000ae97
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop ebp
ret

Function at 0x3000aed3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
pop esi
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.3000a996
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp dword [ebp + 0x14], eax
pop ecx
sete al
pop ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
or al, 0x40
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x3000af30
cmp dword [ebp - 4], 0
je 0x3000af30
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x3000af40
Capabilities:
Query environment variable

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
ret
Function at 0x3000b837
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [section..cdata]
push edi
mov dword [ebp + 0x2a4], eax
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0xc0000409
lea eax, [ebp + 0x2ac]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp - 0x28], 0x10001
mov eax, dword [eax]
mov dword [ebp + 0x90], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp + 0x9c], eax
push ss
pop dword [ebp + 0xa0]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.3000b837
pop edi
add ebp, 0x2a8
leave
ret
cmp ecx, dword [section..cdata]
jne 0x3000b70f
ret

Function at 0x3000b8eb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 8]
push eax
mov edi, 0x20019
push edi
xor ebx, ebx
push ebx
push 0x30001960
push 0x80000000
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x3000b98a
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x3000b97c
push 4
pop esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x30002690
push dword [ebp - 4]
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x3000b97c
cmp dword [ebp + 8], esi
jne 0x3000b97c
mov edi, dword [ebp - 0xc]
cmp edi, 3
ja 0x3000b97c
cmp dword [ebp - 4], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x3000b96e
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x3000b978
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x3000b99a
cmp dword [ebp - 4], ebx
je 0x3000b98a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], ebx
je 0x3000b998
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4