joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
test eax, eax
jne 0x1001c728
pop ebx
add esp, 0x10
ret
mov ecx, dword [eax + ebx + 0x20]
mov edx, dword [eax + ebx + 0x24]
add ecx, ebx
push ebp
push esi
mov esi, dword [eax + ebx + 0x1c]
add edx, ebx
mov eax, dword [eax + ebx + 0x18]
add esi, ebx
xor ebp, ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
test eax, eax
je 0x1001c7a2
push edi
nop word [eax + eax]
push dword [esp + 0x28]
mov esi, dword [ecx]
call fcn.1001ccf0
add esp, 4
mov edi, eax
add esi, ebx
je 0x1001c7bb
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1001c7bb
xor ecx, ecx
test edi, edi
je 0x1001c795
mov ebx, eax
sub ebx, esi
mov al, byte [esi]
cmp al, byte [ebx + esi]
jb 0x1001c7b7
ja 0x1001c7b7
inc ecx
inc esi
cmp ecx, edi
jb 0x1001c786
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
pop edi
movzx eax, word [edx]
test eax, eax
je 0x1001c7ac
lea esi, [esi + eax*4]
mov eax, dword [esi]
pop esi
pop ebp
add eax, ebx
pop ebx
add esp, 0x10
ret
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
inc ebp
mov edx, dword [esp + 0x10]
add ecx, 4
add edx, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
cmp ebp, dword [esp + 0x18]
jb 0x1001c760
jmp 0x1001c799

Function at 0x1001c7e0
Capabilities:
Access peb ldr_data

Disassembly:
push esi
mov esi, dword fs:[0x30]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1001c81e
nop dword [eax + eax]
mov edx, dword [eax + 0x10]
cmp edx, fcn.1001c7e0
ja 0x1001c818
mov ecx, dword [eax + 0x18]
add ecx, edx
cmp ecx, fcn.1001c7e0
jae 0x1001c820
mov eax, dword [eax]
test eax, eax
jne 0x1001c800
xor edx, edx
mov eax, dword [esi + 0xc]
add eax, 0x14
pop esi
mov ecx, dword [eax]
cmp ecx, eax
je 0x1001c83b
nop dword [eax]
cmp dword [ecx + 0x10], edx
je 0x1001c83e
mov ecx, dword [ecx]
cmp ecx, eax
jne 0x1001c830
xor eax, eax
ret
mov eax, dword [esp + 4]
mov dword [ecx + 0x10], eax
mov eax, 1
ret
Function at 0x10024962
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100249ff
push ebx
push esi
call fcn.1002492b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10024874
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100249ac
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100249fe
push edi
push eax
call fcn.10022ae9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100249cc
call fcn.10023484
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100249fd
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10024874
add esp, 0x20
test eax, eax
jne 0x100249eb
push edi
call fcn.10023484
jmp 0x100249f3
push ebx
call fcn.10023484
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10024c6a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10059078
push 0x10059070
push str.FlsAlloc
push 0x1e
call fcn.10024b88
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10024c9e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002b154]
call esi
jmp 0x10024ca4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10024ce8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10059088
push 0x10059080
push str.FlsGetValue
push 0x20
call fcn.10024b88
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10024d1f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002b154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40cb60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0040b701
and eax, dword [ebp - 0x7a72a94d]

Function at 0x40dc40
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x448a16
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x4563c4]
xor eax, esp
mov dword [esp + 0xa50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4563c4]
xor eax, esp
push eax
lea eax, [esp + 0xa68]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa78]
mov ebp, dword [esp + 0xa7c]
mov dword [esp + 0x20], ecx
xor ecx, ecx
or edi, 0xffffffff
mov dword [esp + 0x1c], 0x400
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ecx
mov word [esp + 0x44], cx
mov dword [esp + 0xa70], ecx
cmp byte [eax + 0x246], cl
je 0x40dde6
add eax, 0x18
push eax
mov ebx, str.Uninstall
lea esi, [esp + 0x28]
call fcn.00416100
add esp, 4
push edi
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0xa78], 1
call fcn.00403460
mov esi, 8
mov byte [esp + 0xa70], 0
cmp dword [esp + 0x3c], esi
jb 0x40dd07
mov edx, dword [esp + 0x28]
push edx
call fcn.00422b32
add esp, 4
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x40dd15
lea eax, [esp + 0x44]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add edi, 1
push edi
push ebp
lea edx, [esp + 0x64]
push str._s_d
push edx
call esi
mov ecx, dword [esp + 0x28]
add esp, 0x10
push 0
push 0
push 0
push 0
lea eax, [esp + 0x6c]
push eax
push ecx
call ebx
cmp eax, 2
jne 0x40dd41
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x268]
push eax
mov eax, dword [esp + 0x28]
call fcn.00421020
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [ecx + ecx]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x268]
push eax
push 7
push 0
lea ecx, [esp + 0x6c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40ddc7
push eax
push str.Error_creating_uninstall_key_0x_X
push 0x4575e0
mov eax, 2
call fcn.00419140
add esp, 0xc
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x58], 8
jb 0x40dde6
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00422b32
add esp, 4
mov ecx, dword [esp + 0xa68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa50]
xor ecx, esp
call fcn.00422b23
add esp, 0xa60
ret 8
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, 0x20006050
push eax
push esi
mov dword [ebp - 0x2c], 0x3845397b
mov dword [ebp - 0x28], 0x42373832
mov dword [ebp - 0x24], 0x46302d30
mov dword [ebp - 0x20], 0x342d4133
mov dword [ebp - 0x1c], 0x2d656138
mov dword [ebp - 0x18], 0x35433939
mov dword [ebp - 0x14], 0x4536412d
mov dword [ebp - 0x10], 0x43414130
mov dword [ebp - 0xc], 0x43423633
mov dword [ebp - 8], 0x7d35
call sub.MSVCRT.dll_strcpy
pop ecx
mov eax, esi
pop ecx
pop esi
leave
ret

Function at 0x20001925
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push esi
push edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
and dword [ebp - 4], 0
push 0x20006010
mov dword [ebp - 0x24], 0x613f7325
mov dword [ebp - 0x20], 0x7526343d
mov dword [ebp - 0x1c], 0x2673253d
mov dword [ebp - 0x18], 0x73253d67
mov dword [ebp - 0x14], 0x253d7326
mov dword [ebp - 0x10], 0x70612673
mov dword [ebp - 0xc], 0x646e6570
mov dword [ebp - 8], 0x64253d
call fcn.20003fd7
push eax
lea eax, [ebp - 0x224]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x224]
add esp, 0xc
test eax, eax
je 0x20001a45
lea eax, [ebp - 0x224]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20001a45
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push 0x200061b8
push 0x20006188
push 0x200072f8
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x224]
push eax
call fcn.20003677
mov edi, eax
add esp, 0x20
test edi, edi
je 0x20001a45
push edi
call sub.MSVCRT.dll_strlen
pop ecx
cmp eax, 6
push edi
jne 0x20001a3e
mov esi, 0x20007224
push esi
call sub.MSVCRT.dll_strcpy
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0xc
mov eax, esi
jmp 0x20001a47
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x20001aea
Capabilities:
Contain obfuscated stackstrings
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push ebx
push esi
push edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
mov eax, 0x72727543
xor ebx, ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x178]
mov edx, 0x53746e65
mov ecx, 0x65767265
push 0x200074dc
push eax
mov dword [ebp - 0x74], 0x72657375
mov dword [ebp - 0x70], 0x61746164
mov dword [ebp - 0x6c], 0x7275635c
mov dword [ebp - 0x68], 0x746e6572
mov dword [ebp - 0x64], 0x76726573
mov dword [ebp - 0x60], 0x692e7265
mov dword [ebp - 0x5c], 0x696e
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0xc], 0x76726553
mov dword [ebp - 8], 0x7265
mov dword [ebp - 4], ebx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0x64644172
mov dword [ebp - 0x44], 0x73736572
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0x72
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], 0x47746e65
mov dword [ebp - 0x20], 0x70756f72
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x7978646b
mov dword [ebp - 0x14], 0x6d6f632e
mov dword [ebp - 0x10], ebx
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x178]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov byte [eax + 1], bl
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x178]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0x178]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, 0x20007380
push eax
lea eax, [ebp - 0x27c]
push 0x104
push eax
lea eax, [ebp - 0x54]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call esi
lea eax, [ebp - 0x178]
push eax
push 0x28
push 0x200061b8
lea eax, [ebp - 0x3c]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call esi
lea eax, [ebp - 0x178]
push eax
push 0x28
push 0x20006188
push edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
call esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
neg eax
pop ecx
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
leave
ret
Function at 0x200022dd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
movzx eax, byte [ebp + 0x10]
push eax
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
movzx eax, byte [ebp + 0xc]
push eax
xor edi, edi
movzx eax, byte [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x1c], 0x32302e25
mov dword [ebp - 0x18], 0x302e2564
mov dword [ebp - 0x14], 0x2e256432
mov dword [ebp - 0x10], 0x643230
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x30], 0x613f7325
mov dword [ebp - 0x2c], 0x7526353d
mov dword [ebp - 0x28], 0x2673253d
mov dword [ebp - 0x24], 0x73253d76
mov dword [ebp - 0x20], edi
call esi
lea eax, [ebp - 8]
push eax
push 0x20007324
call sub.MSVCRT.dll_strcpy
add esp, 0x1c
cmp dword [0x20007374], edi
je 0x20002405
push 0x20006010
call fcn.20003fd7
push eax
lea eax, [ebp - 0x230]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x230]
add esp, 0xc
test eax, eax
je 0x20002405
lea eax, [ebp - 0x230]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20002405
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x230]
push 0x200072f8
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x230]
push eax
call esi
lea eax, [ebp - 0x230]
push eax
call fcn.20003677
add esp, 0x18
cmp eax, edi
je 0x20002405
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
pop esi
leave
ret 0xc

Function at 0x20002470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 1
call fcn.20001925
xor esi, esi
pop ecx
cmp eax, esi
je 0x200024b0
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x32423141
push ecx
push eax
mov dword [ebp - 8], 0x3343
mov dword [ebp - 4], esi
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x200024b0
push 0x7530
call fcn.200032b6
cmp dword [0x200061e0], esi
jne 0x200024cc
push 0x200061e0
push esi
push esi
push 0x2000187f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
leave
ret
Function at 0x200026e0
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 edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
mov eax, 0x76726553
mov esi, 0x200073d4
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 0x200027bb
xor eax, eax
jmp 0x200028d8
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 edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
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 esi, eax
lea edi, [esi + 1]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
push edi
push ebx
push eax
mov dword [ebp - 8], eax
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 4]
push ebx
push eax
push esi
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 0x200073d4
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, ebx
pop ecx
je 0x200028cb
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, 0x200073ac
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 0x200029ba
Capabilities:
Create thread

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

Function at 0x20002bf3
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 edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
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 [0x20007428]
call esi
push 0x64
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
je 0x20002c6b
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x20002c95
cmp dword [ebp - 8], ebx
jne 0x20002cb7
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 0x20002c8b
push 0xfffffffffffffff4
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, 0x1109c
jne 0x20002cd4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
jmp 0x20002cdd
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, 0x20007400
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x20002d12
push 0x2000747c
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20002d12
push ebx
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
ja 0x20002d2c
push 0x28
push 0x2000747c
push dword [ebp - 0x10]
call esi
push 0x28
push ebx
push dword [ebp - 8]
call esi
push 0xa
call edi
jmp 0x20002ceb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20002d31
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
mov ebx, pe_nt_image_headers32
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 [0x20007428]
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 0x20002dcf
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x20002d80
push 0x28
mov edi, 0x20007454
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 0x20002e64
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 edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
xor edi, edi
lea eax, [ebp - 0x20]
push edi
push eax
push edi
push dword [0x20007428]
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 0x20002f0b
push 0x64
call edi
jmp 0x20002efe
push ebx
call esi
test eax, eax
je 0x20002f28
push 0x28
push 0x20007384
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x64
call edi
jmp 0x20002f0b
call fcn.200029ba
pop edi
pop esi
pop ebx
leave
ret