joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ac40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
push edi
lea edi, [ebp - 0x34]
mov ecx, 0xd
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101c18e7
call fcn.1011c410
cmp dword [ebp + 0xc], 1
jne 0x1002ad8a
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1011c3e0
cmp eax, 0xb7
jne 0x1002aca1
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp esi, esp
call fcn.1011c3e0
mov eax, dword [ebp + 8]
mov dword [0x10151850], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.1011c3e0
mov dword [0x10151858], eax
mov eax, dword [0x10151858]
push eax
call fcn.1002a560
add esp, 4
mov dword [0x10151854], eax
cmp dword [0x10151850], 0
je 0x1002ad07
cmp dword [0x10151858], 0
je 0x1002ad07
cmp dword [0x10151854], 0
je 0x1002ad07
call fcn.1002a620
test eax, eax
jne 0x1002ad20
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
push str.debug.log
push 0x1015185c
lea eax, [ebp - 0xec]
push eax
call fcn.10029d20
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
push ecx
mov ecx, 0x10151878
call fcn.1002a320
lea ecx, [ebp - 0xec]
call fcn.100083c0
mov eax, dword [0x10151858]
push eax
call fcn.1002a7f0
add esp, 4
mov esi, esp
push 0
push 0
push 0
push 0x1002a860
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 8], eax
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xf4
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003a8b0
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
lea edi, [ebp - 0x74]
mov ecx, 0x1d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1014f440]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101c1d21
call fcn.1011c410
mov dword [ebp - 0x58], 0xffffffff
push 0x20
push 0
lea eax, [ebp - 0x28]
push eax
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
mov eax, dword [ebp + 0xc]
push eax
push 0x10129574
push 0x10
lea ecx, [ebp - 0x70]
push ecx
call fcn.10033cf0
add esp, 0x10
mov esi, esp
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp + 8]
call fcn.10014900
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x1003a981
mov eax, dword [ebp - 0x4c]
push eax
call fcn.1003b950
add esp, 4
push eax
push str.getaddrinfo:__s_n
mov esi, esp
push 2
call dword [sym.imp.ucrtbased.dll___acrt_iob_func]
add esp, 4
cmp esi, esp
call fcn.1011c3e0
push eax
call fcn.1003b8e0
add esp, 0xc
mov eax, 1
jmp 0x1003aa24
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
jmp 0x1003a992
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x1003aa0e
mov esi, esp
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_socket]
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x1003a9c7
jmp 0x1003a989
mov esi, esp
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp esi, esp
call fcn.1011c3e0
cmp eax, 0xffffffff
je 0x1003a9ef
jmp 0x1003aa0e
mov esi, esp
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 0x58], 0xffffffff
jmp 0x1003a989
mov esi, esp
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp esi, esp
call fcn.1011c3e0
mov eax, dword [ebp - 0x58]
push edx
mov ecx, ebp
push eax
lea edx, [0x1003aa54]
call fcn.1011c380
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011c450
add esp, 0x134
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret
Function at 0x1005a1d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101c1ee9
call fcn.1011c410
cmp dword [ebp + 8], 0
je 0x1005a201
cmp dword [ebp + 0xc], 0
jne 0x1005a226
mov eax, dword [0x1014d094]
add eax, 1
mov esi, esp
push eax
push str.C:Users_adminDesktopHPP_corpus_cs_1.6hpp_hack_2019__v5.0_hppImGuiimgui.cpp
push str.filename__file_open_mode
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
cmp esi, esp
call fcn.1011c3e0
cmp dword [ebp + 0x10], 0
je 0x1005a235
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1005a3b0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1005a255
xor eax, eax
jmp 0x1005a395
mov esi, esp
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ucrtbased.dll_fseek]
add esp, 0xc
cmp esi, esp
call fcn.1011c3e0
test eax, eax
jne 0x1005a2b0
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ucrtbased.dll_ftell]
add esp, 4
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x1005a2b0
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ucrtbased.dll_fseek]
add esp, 0xc
cmp esi, esp
call fcn.1011c3e0
test eax, eax
je 0x1005a2cd
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.1011c3e0
xor eax, eax
jmp 0x1005a395
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp + 0x14]
push eax
call fcn.10064a90
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1005a308
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.1011c3e0
xor eax, eax
jmp 0x1005a395
mov esi, esp
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 1
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.1011c3e0
cmp eax, dword [ebp - 0x20]
je 0x1005a353
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.1011c3e0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10064b00
add esp, 4
xor eax, eax
jmp 0x1005a395
cmp dword [ebp + 0x14], 0
jle 0x1005a36e
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x20]
push ecx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.1011c3e0
cmp dword [ebp + 0x10], 0
je 0x1005a392
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret
Function at 0x1005a710
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
lea edi, [ebp - 0x58]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101c1ee9
call fcn.1011c410
mov eax, 4
shl eax, 0
cmp dword [eax + 0x101553b0], 0
jne 0x1005a7af
mov dword [ebp - 8], 0xedb88320
mov dword [ebp - 0x14], 0
jmp 0x1005a75f
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x100
jae 0x1005a7af
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0
jmp 0x1005a780
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 8
jae 0x1005a7a0
mov eax, dword [ebp - 0x20]
shr eax, 1
mov ecx, dword [ebp - 0x20]
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x1005a777
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [eax*4 + 0x101553b0], ecx
jmp 0x1005a756
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
cmp dword [ebp + 0xc], 0
jle 0x1005a812
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0x118], 0
je 0x1005a810
mov eax, dword [ebp - 0x38]
shr eax, 8
mov ecx, dword [ebp - 0x38]
and ecx, 0xff
mov edx, dword [ebp - 0x44]
movzx edx, byte [edx]
xor ecx, edx
xor eax, dword [ecx*4 + 0x101553b0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
jmp 0x1005a7c9
jmp 0x1005a883
mov eax, dword [ebp - 0x44]
mov cl, byte [eax]
mov byte [ebp - 0x4d], cl
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x1005a883
movzx eax, byte [ebp - 0x4d]
cmp eax, 0x23
jne 0x1005a862
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x44]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x1005a862
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x44]
movzx edx, byte [ecx + eax]
cmp edx, 0x23
jne 0x1005a862
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
shr eax, 8
mov ecx, dword [ebp - 0x38]
and ecx, 0xff
movzx edx, byte [ebp - 0x4d]
xor ecx, edx
xor eax, dword [ecx*4 + 0x101553b0]
mov dword [ebp - 0x38], eax
jmp 0x1005a812
mov eax, dword [ebp - 0x38]
not eax
pop edi
pop esi
pop ebx
add esp, 0x118
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret
Function at 0x1006db10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101223ad
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0x3c]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1014f440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x101c1ee9
call fcn.1011c410
mov eax, dword [0x1014d08c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
movss dword [eax + 0x2774], xmm0
cmp dword [ebp + 8], 0
jne 0x1006db78
jmp 0x1006dc0d
push 0xc
lea ecx, [ebp - 0x2c]
call fcn.10077f10
lea ecx, [ebp - 0x2c]
call fcn.1003bbb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.1006dc60
add esp, 4
push 0x1012afe0
mov eax, dword [ebp + 8]
push eax
call fcn.1005a3b0
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1006dbc8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1003edc0
jmp 0x1006dc0d
mov esi, esp
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 1
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ucrtbased.dll_fwrite]
add esp, 0x10
cmp esi, esp
call fcn.1011c3e0
mov esi, esp
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1003edc0
push edx
mov ecx, ebp
push eax
lea edx, [0x1006dc48]
call fcn.1011c380
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011c450
add esp, 0xfc
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret
Function at 0x10081e90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012264b
mov eax, dword fs:[0]
push eax
sub esp, 0x3bc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x248]
mov ecx, 0x8f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x1014f440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x101c20b4
call fcn.1011c410
cmp dword [ebp + 8], 0
je 0x10081f03
mov ecx, 0x19
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x348]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x348]
mov dword [ebp - 0x3c8], eax
jmp 0x10081f14
lea ecx, [ebp - 0x3b4]
call fcn.100801b0
mov dword [ebp - 0x3c8], eax
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x2dc], ecx
mov ecx, 0x19
mov esi, dword [ebp - 0x2dc]
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp + 8], 0
jne 0x10081f4a
mov dword [ebp - 0x6c], 1
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x68], 1
lea ecx, [ebp - 0xf0]
call fcn.100801b0
movss xmm0, dword [0x1012dc5c]
movss dword [ebp - 0xc4], xmm0
mov esi, esp
push str.appdata
call dword [sym.imp.ucrtbased.dll_getenv]
add esp, 4
cmp esi, esp
call fcn.1011c3e0
push eax
lea ecx, [ebp - 0x114]
call fcn.1001dd60
mov dword [ebp - 4], 0
push 0
push 0x10133064
lea ecx, [ebp - 0x114]
call fcn.10091920
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
push eax
push 0
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x114]
call fcn.1009c480
mov byte [ebp - 4], 1
push str.:WindowsFonts_verdana.ttf
lea ecx, [ebp - 0x144]
call fcn.10014780
mov ecx, dword [ebp - 0x18]
call fcn.10087180
push eax
lea eax, [ebp - 0xf0]
push eax
push ecx
movss xmm0, dword [0x101338e0]
movss dword [esp], xmm0
lea ecx, [ebp - 0x144]
call fcn.10014900
push eax
mov ecx, dword [ebp - 0x18]
call fcn.100820e0
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x3c0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.100083c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.100083c0
mov eax, dword [ebp - 0x3c0]
push edx
mov ecx, ebp
push eax
lea edx, [0x10082080]
call fcn.1011c380
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011c450
add esp, 0x3c8
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret 4
Function at 0x1009f4b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
lea edi, [ebp - 0x5c]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1014f440]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101c227d
call fcn.1011c410
cmp dword [0x10157728], 0
jne 0x1009f4ed
call fcn.1009ecf0
call fcn.10058710
mov dword [ebp - 0xc], eax
cvtsi2ss xmm0, dword [0x1015031c]
movss dword [ebp - 0x18], xmm0
cvtsi2ss xmm0, dword [0x10150320]
movss dword [ebp - 0x24], xmm0
push ecx
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
lea ecx, [ebp - 0x104]
call fcn.1002dd50
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
push ecx
movss xmm0, dword [0x10128db8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x10128db8]
movss dword [esp], xmm0
lea ecx, [ebp - 0x114]
call fcn.1002dd50
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x90], ecx
mov dword [eax + 0x94], edx
mov esi, esp
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp esi, esp
call fcn.1011c3e0
mov ecx, dword [ebp - 0x34]
sub ecx, dword [0x10157718]
mov edx, dword [ebp - 0x30]
sbb edx, dword [0x1015771c]
call fcn.1011d630
cvtsd2ss xmm0, xmm0
mov edx, dword [0x10157724]
mov ecx, dword [0x10157720]
movss dword [ebp - 0x11c], xmm0
call fcn.1011d630
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebp - 0x11c]
divss xmm1, xmm0
mov eax, dword [ebp - 0xc]
movss dword [eax + 8], xmm1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [0x10157718], eax
mov dword [0x1015771c], ecx
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.1011c3e0
cwde
and eax, 0x8000
je 0x1009f60d
mov dword [ebp - 0x11c], 1
jmp 0x1009f617
mov dword [ebp - 0x11c], 0
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x11c]
mov byte [ecx + 0xe5], dl
mov esi, esp
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.1011c3e0
cwde
and eax, 0x8000
je 0x1009f64b
mov dword [ebp - 0x11c], 1
jmp 0x1009f655
mov dword [ebp - 0x11c], 0
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x11c]
mov byte [ecx + 0xe6], dl
mov esi, esp
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.1011c3e0
cwde
and eax, 0x8000
je 0x1009f689
mov dword [ebp - 0x11c], 1
jmp 0x1009f693
mov dword [ebp - 0x11c], 0
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x11c]
mov byte [ecx + 0xe7], dl
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xe8], 0
call fcn.10065270
push edx
mov ecx, ebp
push eax
lea edx, [0x1009f6e0]
call fcn.1011c380
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011c450
add esp, 0x11c
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret
Function at 0x100aab40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122bcd
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
lea edi, [ebp - 0x34]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1014f440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x101c27d6
call fcn.1011c410
lea ecx, [ebp - 0x30]
call fcn.100075e0
mov dword [ebp - 4], 0
push 0x1015185c
lea ecx, [ebp - 0x30]
call fcn.10014720
mov eax, dword [0x101577f8]
push eax
mov ecx, 0x10157830
call fcn.100af230
push eax
lea ecx, [ebp - 0x30]
call fcn.10014720
push 0x101370b4
lea ecx, [ebp - 0x30]
call fcn.10014780
mov eax, dword [0x101577fc]
mov ecx, dword [eax*4 + 0x101368a8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.10014780
mov esi, esp
push 9
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.10014900
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100083c0
push edx
mov ecx, ebp
push eax
lea edx, [0x100aac4c]
call fcn.1011c380
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011c450
add esp, 0xf4
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret

Function at 0x100aac70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122c0d
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
lea edi, [ebp - 0x34]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1014f440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x101c27d6
call fcn.1011c410
lea ecx, [ebp - 0x30]
call fcn.100075e0
mov dword [ebp - 4], 0
push 0x1015185c
lea ecx, [ebp - 0x30]
call fcn.10014720
mov eax, dword [0x101577f8]
push eax
mov ecx, 0x10157830
call fcn.100af230
push eax
lea ecx, [ebp - 0x30]
call fcn.10014720
mov esi, esp
push 9
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.10014900
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100083c0
push edx
mov ecx, ebp
push eax
lea edx, [0x100aad5c]
call fcn.1011c380
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011c450
add esp, 0xf4
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret

Function at 0x100aad80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
mov edi, ebp
xor ecx, ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101c27d6
call fcn.1011c410
mov esi, esp
push 9
push 0
push 0
mov ecx, 0x1015185c
call fcn.10014900
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp esi, esp
call fcn.1011c3e0
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret
Function at 0x100ab5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122c50
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
push ebx
push esi
push edi
lea edi, [ebp - 0xf4]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1014f440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x101c27d6
call fcn.1011c410
push 0xb8
lea ecx, [ebp - 0xcc]
call fcn.100af0e0
push 1
push 0x40
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xcc]
call fcn.100a5b80
mov dword [ebp - 4], 0
mov dword [ebp - 0xd8], 0
mov esi, esp
lea ecx, [ebp - 0xcc]
call dword [sym.imp.MSVCP140D.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
cmp esi, esp
call fcn.1011c3e0
mov byte [ebp - 0xe1], al
movsx eax, byte [ebp - 0xe1]
cmp eax, 0xffffffff
je 0x100ab678
mov eax, dword [ebp - 0xd8]
add eax, 1
mov dword [ebp - 0xd8], eax
jmp 0x100ab640
lea ecx, [ebp - 0xcc]
call fcn.100af450
mov esi, esp
push 0x10136f90
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ucrtbased.dll_fopen]
add esp, 8
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
je 0x100ab6ec
mov esi, esp
mov eax, dword [ebp - 0xf0]
push eax
push 1
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.1011c3e0
mov esi, esp
mov eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.100a66a0
push edx
mov ecx, ebp
push eax
lea edx, [0x100ab738]
call fcn.1011c380
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011c450
add esp, 0x1b4
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret
Function at 0x100abb70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f0
push ebx
push esi
push edi
lea edi, [ebp - 0x270]
mov ecx, 0x9c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1014f440]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101c27d6
call fcn.1011c410
mov esi, esp
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffff
je 0x100abc7e
push 0x10136f34
lea eax, [ebp - 0x11c]
push eax
call fcn.10025da0
add esp, 8
test eax, eax
jne 0x100abc43
mov dword [ebp - 0x26c], 0
mov esi, esp
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x260]
push ecx
push 0x104
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp esi, esp
call fcn.1011c3e0
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
call sub.ucrtbased.dll_strcpy
add esp, 8
mov esi, esp
lea eax, [ebp - 0x11c]
push eax
call dword [ebp + 0xc]
add esp, 4
cmp esi, esp
call fcn.1011c3e0
mov esi, esp
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.1011c3e0
test eax, eax
jne 0x100abbcf
mov esi, esp
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.1011c3e0
push edx
mov ecx, ebp
push eax
lea edx, [0x100abcb0]
call fcn.1011c380
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011c450
add esp, 0x3f0
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret