joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f420
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x438040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x43acf0]
push esi
push edi
test ebx, ebx
je 0x42f445
mov esi, dword [ebx + 0xc4]
jmp 0x42f447
xor esi, esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], esi
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x30], xmm0
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
movd xmm1, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [esi + 8]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [eax + 0xc]
call fcn.00430890
mov eax, dword [ebp - 0x34]
cvtsd2ss xmm0, xmm0
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
movss dword [ebp - 8], xmm0
call fcn.00430890
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0x34]
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [eax + 0xc], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [eax + 8], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xfc], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xfd], al
call esi
mov esi, dword [0x43acf0]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xff], 0
mov byte [ebx + 0xfe], al
test esi, esi
je 0x42f529
mov edi, dword [esi + 0xc4]
jmp 0x42f52b
xor edi, edi
cmp byte [esi + 0x357], 0
je 0x42f566
cvttss2si eax, dword [esi + 0xe4]
mov dword [ebp - 0xc], eax
cvttss2si eax, dword [esi + 0xe8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x42f566
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe4], 0xff7fffff
mov dword [esi + 0xe8], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x42f5d4
mov ecx, dword [edi]
cmp eax, ecx
je 0x42f596
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x42f5d4
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x42f5d4
lea eax, [ebp - 0x20]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x42f5d4
movd xmm0, dword [ebp - 0x20]
movd xmm1, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
cmp byte [ebx + 0xb0], 0
je 0x42f5e2
or ecx, 0xffffffff
jmp 0x42f5ed
mov eax, dword [0x43acf0]
mov ecx, dword [eax + 0x1e40]
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x18], ecx
je 0x42f5fd
mov dword [eax + 0x18], ecx
call fcn.0042f060
call fcn.0042f190
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f9d8
mov esp, ebp
pop ebp
ret
Function at 0x4304b5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4304f4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4304f4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4304f4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4304f4
cmp dword [ecx + 0x74], 0xe
jbe 0x4304f4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xe3f200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa1a000]
push edi
jmp 0xe3f21a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe3f221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe3f210
mov eax, 1
add ebx, ebx
jne 0xe3f233
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe3f228
jne 0xe3f244
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe3f228
xor ecx, ecx
sub eax, 3
jb 0xe3f258
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe3f2ca
mov ebp, eax
add ebx, ebx
jne 0xe3f263
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xe3f270
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xe3f294
inc ecx
add ebx, ebx
jne 0xe3f280
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe3f275
jne 0xe3f291
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe3f275
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe3f2b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe3f2a5
jmp 0xe3f216
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe3f2b4
add edi, ecx
jmp 0xe3f216
pop esi
mov edi, esi
mov ecx, 0xbee
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xe3f2d2
cmp byte [edi], 6
jne 0xe3f2d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xe3f2d7
lea edi, [esi + 0xa3d000]
mov eax, dword [edi]
or eax, eax
je 0xe3f346
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa431f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa43294]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe3f304
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa4329c]
or eax, eax
je 0xe3f340
mov dword [ebx], eax
add ebx, 4
jmp 0xe3f321
call dword [esi + 0xa43298]
mov ebp, dword [esi + 0xa432a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xe3f37a
sub esp, 0xffffff80
jmp 0x419acc
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x79d6c8
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x79d6ce
pop ebp
sub ebp, 6
sub ebp, 0x39d6c8
jmp 0x79d72c
jmp 0x79d735
mov eax, 0x39d6c8
add eax, ebp
add eax, 0x93
mov ecx, 0x631
mov edx, 0xf83f4394
xor byte [eax], dl
inc eax
dec ecx
jne 0x79d74c
jmp 0x79d75f
invalid
Function at 0x405e0f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a2c], 0
push esi
jne 0x405e46
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405e20
mov dword [ecx*4 + 0x422a28], eax
inc ecx
cmp ecx, 0x100
jl 0x405e1b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e77
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a28]
xor eax, esi
inc ecx
dec edx
jne 0x405e59
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401c90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4be080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x40], ecx
mov ecx, 0xb
mov esi, str._pipediscord_ipc_0
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x44], 0x15
mov eax, 2
imul ecx, eax, 0x15
mov edx, 0x30
mov word [ebp + ecx - 0x34], dx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0xffffffff
je 0x401d07
mov ecx, dword [ebp - 0x38]
mov byte [ecx], 1
mov al, 1
jmp 0x401d78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jne 0x401d4a
mov edx, 2
imul eax, edx, 0x15
movzx ecx, word [ebp + eax - 0x34]
cmp ecx, 0x39
jge 0x401d48
mov edx, 2
imul eax, edx, 0x15
mov cx, word [ebp + eax - 0x34]
add cx, 1
mov edx, 2
imul eax, edx, 0x15
mov word [ebp + eax - 0x34], cx
jmp 0x401cd5
jmp 0x401d6f
cmp dword [ebp - 0x3c], 0xe7
jne 0x401d6f
push 0x2710
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x401d6a
xor al, al
jmp 0x401d78
jmp 0x401cd5
xor al, al
jmp 0x401d78
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492b5e
mov esp, ebp
pop ebp
ret

Function at 0x401d90
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x401da6
xor al, al
jmp 0x401e39
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401db9
xor al, al
jmp 0x401e39
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
jne 0x401dc6
xor al, al
jmp 0x401e39
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x401e2f
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jb 0x401e2d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x401e25
mov al, 1
jmp 0x401e39
mov ecx, dword [ebp - 8]
call fcn.00401c30
jmp 0x401e37
mov ecx, dword [ebp - 8]
call fcn.00401c30
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x401e40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
jne 0x401e53
mov al, 1
jmp 0x401ec2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401e63
xor al, al
jmp 0x401ec2
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
jne 0x401e70
xor al, al
jmp 0x401ec2
cmp dword [ebp + 8], 0
jne 0x401e7a
xor al, al
jmp 0x401ec2
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x401eb8
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jne 0x401eb8
mov dword [ebp - 0x10], 1
jmp 0x401ebf
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x402300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x402361
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx]
test ecx, ecx
je 0x402361
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40235b
mov eax, dword [ebp - 8]
jmp 0x40239b
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x402398
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
je 0x402398
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x402450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaa0
mov eax, dword [0x4be080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20
lea eax, [ebp - 0x84]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20
lea edx, [ebp - 0x44]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0xa9c]
push ecx
push 0x20019
push 0
push str.SoftwareValveSteam
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xa94], eax
cmp dword [ebp - 0xa94], 0
je 0x4024e3
push str.Error_opening_Steam_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.004026c0
add esp, 8
jmp 0x4025ed
mov dword [ebp - 0xa98], 0x208
lea edx, [ebp - 0xa98]
push edx
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
mov ecx, dword [ebp - 0xa9c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xa94], eax
mov edx, dword [ebp - 0xa9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa94], 0
jne 0x402536
cmp dword [ebp - 0xa98], 1
jae 0x402554
push str.Error_reading_SteamExe_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.004026c0
add esp, 8
jmp 0x4025ed
mov eax, dword [ebp - 0xa98]
shr eax, 1
mov dword [ebp - 0xaa0], eax
mov dword [ebp - 0xa90], 0
jmp 0x40257d
mov ecx, dword [ebp - 0xa90]
add ecx, 1
mov dword [ebp - 0xa90], ecx
mov edx, dword [ebp - 0xa90]
cmp edx, dword [ebp - 0xaa0]
jae 0x4025b3
mov eax, dword [ebp - 0xa90]
movzx ecx, word [ebp + eax*2 - 0x28c]
cmp ecx, 0x2f
jne 0x4025b1
mov edx, 0x5c
mov eax, dword [ebp - 0xa90]
mov word [ebp + eax*2 - 0x28c], dx
jmp 0x40256e
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x28c]
push edx
push str.__s__steam:__rungameid__s
push 0x800
lea eax, [ebp - 0xa8c]
push eax
call fcn.004021b0
add esp, 0x14
lea ecx, [ebp - 0xa8c]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.00401ed0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492b5e
mov esp, ebp
pop ebp
ret
Function at 0x403180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4948cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4be080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00403650
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x4030d0
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.004046b0
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x403200
lea ecx, [ebp - 0x14]
call fcn.004065e0
jmp 0x403211
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x413a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4948cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4be080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004140f0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x4135d0
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.004046b0
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x413b10
lea ecx, [ebp - 0x14]
call fcn.004065e0
jmp 0x413b21
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x415a30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494aa0
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4be080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [0x4fd1fc], 0x30
mov dword [0x4fd200], 0x40
mov dword [0x4fd204], 0x4185b0
mov dword [0x4fd208], 0
mov dword [0x4fd20c], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4fd210], eax
mov dword [0x4fd214], 0
mov dword [0x4fd218], 0
mov dword [0x4fd21c], 0
mov dword [0x4fd220], 0
mov dword [0x4fd224], 0x499488
mov dword [0x4fd228], 0
push 0x4fd1fc
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
mov eax, dword [0x4fd210]
push eax
push 0
push 0
push 0x1a4
push 0x1f4
push 0x64
push 0x64
push 0x80000000
mov ecx, dword [ebp + 8]
push ecx
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4fd1f8], eax
push 0xa
mov edx, dword [0x4fd1f8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4fd1f8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x415e30
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49513d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4be080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
push eax
push 0x499518
lea ecx, [ebp + 8]
push ecx
push 0x499524
lea edx, [ebp - 0x58]
push edx
call fcn.00412670
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00412640
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00412610
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00414f30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00414f30
lea ecx, [ebp - 0x28]
call fcn.00419880
mov dword [ebp - 0x6c], eax
push 0x499534
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00414f30
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00414f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00414f30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00492b5e
mov esp, ebp
pop ebp
ret
Function at 0x418360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
push 0x499504
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret

Function at 0x419be0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x4be080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x154], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x419d51
lea edx, [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x168]
push eax
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
jne 0x419d51
mov dword [ebp - 0x160], 0x4994dc
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x15c]
mov al, byte [edx]
mov byte [ebp - 0x155], al
mov ecx, dword [ebp - 0x160]
cmp al, byte [ecx]
jne 0x419cc2
cmp byte [ebp - 0x155], 0
je 0x419cb6
mov edx, dword [ebp - 0x15c]
mov al, byte [edx + 1]
mov byte [ebp - 0x156], al
mov ecx, dword [ebp - 0x160]
cmp al, byte [ecx + 1]
jne 0x419cc2
add dword [ebp - 0x15c], 2
add dword [ebp - 0x160], 2
cmp byte [ebp - 0x156], 0
jne 0x419c64
mov dword [ebp - 0x16c], 0
jmp 0x419ccd
sbb edx, edx
or edx, 1
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
jne 0x419d4c
mov ecx, dword [ebp - 0x14c]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jne 0x419d0a
jmp 0x419c32
push 0x28
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x164]
push eax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x419d3f
cmp dword [ebp - 0x20], 0x11e1a300
jbe 0x419d3f
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x170], ecx
mov eax, dword [ebp - 0x170]
jmp 0x419d5e
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x419c32
mov eax, dword [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492b5e
mov esp, ebp
pop ebp
ret