joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10082220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0153
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x101063e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 0
mov dword [ebx], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0x201
push dword [0x10106448]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
push 0x80000002
call fcn.10082170
mov edi, dword [ebp - 0x8c]
test eax, eax
jne 0x10082401
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.1009c500
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x100e4d40
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10082401
mov eax, dword [ebp - 0x7c]
cmp eax, 1
je 0x100822f5
cmp eax, 2
jne 0x10082401
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x10082316
test cl, 1
jne 0x10082401
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x1008231c
jmp 0x10082401
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x10082401
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1008242c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.10080660
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x20]
push 0x100e4d48
push eax
call fcn.10082820
mov esi, dword [ebp - 0x78]
push 0x2a
push esi
call fcn.10080a60
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x7c], eax
jne 0x100823e5
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10082386
sub edx, ecx
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
sar edx, 1
push edx
push eax
call fcn.10082440
push dword [0x10106450]
lea eax, [ebp - 0x74]
push dword [0x1010644c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x100823c2
mov dword [ebx], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100823de
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x10082403
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10082401
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
test edi, edi
je 0x1008240e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.10075b61
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003f10
int3
Function at 0x10082520
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0188
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x101063e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x202
push dword [0x10106448]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push 0x80000002
call fcn.10082170
test eax, eax
je 0x10082648
mov esi, dword [ebp - 0x18]
mov edi, dword [0x10106448]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x100825f3
cmp dword [esi], 0
je 0x100825e6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x100825b3
mov eax, 1
jmp 0x10082614
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100825ec
push 0
push dword [esi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x20206
push 0
push 0
push 0
push edi
push 0x80000002
call eax
jmp 0x10082614
cmp dword [esi + 4], 0
jne 0x100825f3
mov eax, 1
jmp 0x10082614
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1008263e
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10082626
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x200
test eax, eax
je 0x1008264b
xor ebx, ebx
jmp 0x100826ef
mov esi, dword [ebp - 0x20]
xor ebx, ebx
jmp 0x100826ef
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x100826a8
mov ecx, dword [ebx]
test ecx, ecx
je 0x1008270e
push ecx
push eax
call fcn.100a4c19
add esp, 8
test eax, eax
je 0x100826a8
mov edx, dword [edi]
test edx, edx
je 0x100826a8
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10082680
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.m2_old
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebx]
test edx, edx
jne 0x100826b3
lea eax, [edx + 0xd]
jmp 0x100826e8
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100826c0
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x100e4d40
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
test eax, eax
sete bl
test esi, esi
je 0x100826fa
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003f10
int3
Function at 0x10083d10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10083d81
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x10083d4f
cmp eax, 2
jne 0x10083d6b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x10083d7b
test ecx, ecx
je 0x10083d76
test cl, 1
jne 0x10083d6b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x10083d7b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10085993
Capabilities:
Create thread

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

Function at 0x1009af90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d10ab
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x101063e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x14]
push 0x20000
push 0
push esi
mov dword [ebp - 0x14], edi
call fcn.1009c500
add esp, 0xc
lea eax, [ebx + 0x20014]
push 0
push eax
push 0x20000
push esi
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1009b0eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
call fcn.10057ca0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1009b0cd
push 0x61
mov dword [ebp - 0x34], ecx
mov byte [ebp - 0x44], cl
lea ecx, [ebp - 0x44]
push str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_src_rpc_instance_rpc_client_instance.cpp
mov dword [ebp - 0x30], 0xf
call fcn.100056d0
push 3
push 0x100d61c4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.100056d0
mov byte [ebp - 4], 1
call fcn.10057ca0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x58
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10008240
mov esi, eax
push str.RecvData_failed__error_code_:
push esi
mov byte [ebp - 4], 2
call fcn.10009920
add esp, 8
mov ecx, esi
push dword [ebp - 0x10]
call fcn.100095c0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10009a50
lea ecx, [ebp - 0x2c]
call fcn.10003d60
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.10003d60
mov edi, dword [ebp - 0x14]
lea esi, [ebx + 0x14]
cmp dword [ebp - 0x10], 0xe8
mov dword [ebx + 0xc], 6
jne 0x1009b0eb
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
push dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov dword [edi + 0x10], 0
mov eax, dword [ebx + 0x20014]
add eax, esi
push eax
push esi
push dword [ecx + 4]
call fcn.100654d0
mov dword [edi + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1009b130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d10eb
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x101063e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x10], 0
mov edi, dword [ebp + 8]
jne 0x1009b175
mov dword [ebx + 0xc], 8
jmp 0x1009b2e2
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
inc eax
push eax
mov dword [ebp - 0x18], eax
call fcn.10075b77
mov esi, eax
mov dword [ebp - 0x1c], eax
add esp, 4
test esi, esi
je 0x1009b1a4
push dword [ebp - 0x18]
push 0
push esi
call fcn.1009c500
add esp, 0xc
mov byte [esi], 0
jmp 0x1009b1a9
xor esi, esi
mov dword [ebp - 0x1c], esi
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [ebp - 0x14], 0
push eax
push ecx
push esi
call fcn.1009bf80
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x14]
sub eax, dword [edi + 4]
add esp, 0xc
inc eax
push 0
push ecx
push eax
push esi
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1009b2d0
mov dword [ebx + 0xc], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
call fcn.10057ca0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1009b2b7
push 0x61
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x4c], cl
lea ecx, [ebp - 0x4c]
push str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_src_rpc_instance_rpc_client_instance.cpp
mov dword [ebp - 0x38], 0xf
call fcn.100056d0
push 3
push 0x100d61c4
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.100056d0
mov byte [ebp - 4], 1
call fcn.10057ca0
mov edi, eax
lea ecx, [ebp - 0xe4]
push 0x48
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10008240
mov esi, eax
push str.send_failed__error_code_:
push esi
mov byte [ebp - 4], 2
call fcn.10009920
add esp, 8
mov ecx, esi
push dword [ebp - 0x18]
call fcn.100095c0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.10009a50
lea ecx, [ebp - 0x34]
call fcn.10003d60
lea ecx, [ebp - 0x4c]
call fcn.10003d60
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0xe8
jne 0x1009b2d7
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0
jmp 0x1009b2d7
mov dword [ebx + 0xc], 0
push 1
push esi
call fcn.100757e2
add esp, 8
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.10075b61
mov esp, ebp
pop ebp
ret 4

Function at 0x100b7700
Capabilities:
Read file on windows

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

Function at 0x100bde81
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100bdb41
Function at 0x401cb0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [esp + 0x34]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], 0x45e0a4
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x401d10
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x5c
mov dword [esp + 0x4c], ebx
push eax
pop ebx
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x50], esi
push edx
pop esi
mov dword [esp + 0x54], edi
mov edi, ecx
mov dword [esp + 0x58], ebp
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x401e06
mov eax, dword [esp + 0x38]
cmp eax, 4
jne 0x401d80
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
add esp, 0x5c
ret
cmp eax, 0x40
je 0x401d55
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov eax, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
cmp eax, 0x40
setne byte [esp + 0x1e]
cmp eax, 4
setne byte [esp + 0x1f]
call sub.msvcrt.dll_memcpy
cmp byte [esp + 0x1f], 0
je 0x401d65
cmp byte [esp + 0x1e], 0
je 0x401d65
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x401d65
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], 0x45e0bc
call fcn.00401cb0
nop

Function at 0x4020a0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x460034
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x46004c]
sub esp, 4
test ebx, ebx
je 0x4020eb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x4020e4
or esi, esi
je 0x4020e4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
or ebx, ebx
jne 0x4020c0
mov dword [esp], 0x460034
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x4010e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x6c
lea eax, [esp]
mov dword [esp], 0x4c454853
push eax
mov dword [esp + 8], 0x32334c
call dword [0x406004]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x6c656853
push ecx
push eax
mov dword [esp + 0x2c], 0x6578456c
mov dword [esp + 0x30], 0x65747563
mov dword [esp + 0x34], 0x577845
call dword [section..rdata]
mov edx, eax
test edx, edx
jne 0x401134
add esp, 0x6c
ret
mov eax, dword [esp + 0x78]
push esi
test eax, eax
push edi
mov dword [esp + 0x10], 0x750072
mov dword [esp + 0x14], 0x61006e
mov dword [esp + 0x18], 0x73
mov dword [esp + 0x1c], 0x70006f
mov dword [esp + 0x20], 0x6e0065
mov dword [esp + 0x24], 0
lea esi, [esp + 0x10]
jne 0x401176
lea esi, [esp + 0x1c]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 0x3c
mov dword [esp + 0x40], 0x440
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], 1
call edx
pop edi
pop esi
add esp, 0x6c
ret
Function at 0x403f2c
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
xor eax, eax
mov edx, dword [eax*4 + 0x873e88]
movsx ecx, byte [edx + 0x2a8]
test ecx, ecx
jne 0x40412e
inc eax
cmp eax, 4
jl 0x403f31
je 0x404101
cmp dword [0x874468], 0
jl 0x4040fd
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
mov esi, eax
mov edi, dword [esi*4 + 0x873e88]
cmp dword [edi + 0x2a4], 0
jne 0x403fb2
xor ebp, ebp
mov dword [edi + 0x2ac], ebp
mov dword [edi + 0x2b0], ebp
mov edx, 1
mov byte [edi + 0x2b4], dl
mov byte [edi + 0x2b5], dl
jmp 0x4040e4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
lea ebx, [esp + 0x10]
push ebx
push dword [edi + 0x2a4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, dword [esi*4 + 0x873e88]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x2ac], ecx
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x2b0], edx
test esi, esi
jne 0x404046
mov edx, dword [0x87395c]
sub ecx, edx
mov dword [ebx + 0x2ac], ecx
mov ecx, dword [0x873960]
sub dword [ebx + 0x2b0], ecx
mov ecx, dword [0x873ab0]
test ecx, ecx
je 0x404029
mov eax, dword [ebx + 0x2ac]
imul eax, dword [ebx + 0xc]
cdq
idiv ecx
mov dword [ebx + 0x2ac], eax
mov ecx, dword [0x873ab4]
test ecx, ecx
je 0x404046
mov eax, dword [ebx + 0x2b0]
imul eax, dword [ebx + 0x10]
cdq
idiv ecx
mov dword [ebx + 0x2b0], eax
xor edx, edx
mov byte [ebx + 0x2b4], dl
mov byte [ebx + 0x2b5], dl
mov edx, dword [ebx + 0x2ac]
test edx, edx
jl 0x404072
mov ecx, dword [ebx + 0x2b0]
test ecx, ecx
jl 0x404072
cmp edx, dword [ebx + 0xc]
jge 0x404072
cmp ecx, dword [ebx + 0x10]
jl 0x4040e4
mov byte [ebx + 0x2b4], 1
mov ecx, dword [0x87395c]
mov ebp, dword [0x873960]
mov edi, dword [0x873ab0]
test edi, edi
je 0x40409c
mov edx, dword [ebx + 0xc]
imul ecx, edx
mov eax, ecx
cdq
idiv edi
mov ecx, eax
mov edi, dword [0x873ab4]
test edi, edi
je 0x4040b3
mov edx, dword [ebx + 0x10]
imul ebp, edx
mov eax, ebp
cdq
idiv edi
mov ebp, eax
mov edx, dword [ebx + 0x2ac]
mov edi, ecx
neg edi
cmp edx, edi
jl 0x4040dd
mov eax, dword [ebx + 0x2b0]
mov edi, ebp
neg edi
cmp eax, edi
jl 0x4040dd
add ecx, dword [ebx + 0xc]
cmp edx, ecx
jge 0x4040dd
add ebp, dword [ebx + 0x10]
cmp eax, ebp
jl 0x4040e4
mov byte [ebx + 0x2b5], 1
inc esi
cmp esi, 4
jl 0x403f7e
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
mov ebp, dword [esp]
add esp, 0x20
ret
mov dword [0x874468], 0xffffffff
push 0x400
push 0x664960
call dword [0x5b9aa0]
add esp, 8
push 0x664860
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x403f53
mov dword [0x874468], eax
push 0x664960
call dword [sym.imp.USER32.dll_GetKeyboardState]
movsx eax, byte [0x873be0]
test eax, eax
jle 0x403f53
cmp eax, 1
jne 0x404159
mov byte [0x664961], 0x80
dec eax
mov byte [0x873be0], al
jmp 0x403f53
Function at 0x40cdc0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], edx
mov eax, dword [eax]
inc dword [0x873e40]
mov edi, ecx
xor esi, esi
xor esi, ecx
cmp ecx, 4
jl 0x40ce01
imul ebp, dword [edx], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul ebx, ebp, 0x5bd1e995
imul esi, esi, 0x5bd1e995
xor esi, ebx
add edx, 4
add edi, 0xfffffffc
cmp edi, 4
jge 0x40cddb
cmp edi, 3
je 0x40ce12
cmp edi, 2
je 0x40ce1b
cmp edi, 1
je 0x40ce24
jmp 0x40ce2f
movzx edi, byte [edx + 2]
shl edi, 0x10
xor esi, edi
movzx edi, byte [edx + 1]
shl edi, 8
xor esi, edi
movzx edx, byte [edx]
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edx, esi
shr edx, 0xd
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edi, esi
shr edi, 0xf
xor esi, edi
and esi, 0x7fffffff
add esi, 0x80000000
test eax, eax
je 0x40ce92
mov edi, dword [0x873e3c]
mov ebx, eax
mov ebp, ecx
inc edi
mov dword [0x873e3c], edi
cmp esi, dword [ebx + 0x1c]
jne 0x40ce89
cmp ebp, dword [ebx + 0x18]
jne 0x40ce83
push ebp
mov edx, dword [esp + 4]
push edx
push dword [ebx + 0x14]
call fcn.00470840
add esp, 0xc
test eax, eax
je 0x40ce98
inc dword [0x873e38]
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x40ce5d
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x410e08
Capabilities:
Get common file path

Disassembly:
push edi
push esi
push ebx
sub esp, 0x108
push 0x105
push 0x661f20
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x661f20
call fcn.004652ac
lea edx, [esp + 4]
xor eax, eax
push eax
push eax
push edx
push 0x662280
push 0x661f20
call fcn.00470fe7
add esp, 0x14
mov edi, 0x662280
lea edx, [esp + 4]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x410e5b
mov eax, 0x662280
call fcn.004652ac
mov edx, 0x662280
movsx eax, byte [edx]
test eax, eax
je 0x410ea2
movzx esi, al
movzx ecx, byte [esi + 0x59c0c0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x410fde
cmp eax, 0x2f
jne 0x410e9a
mov byte [edx], 0x5c
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x410e7b
mov edi, 0x662280
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x410eb9
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x410eb1
mov ecx, eax
test ecx, ecx
jle 0x410eed
xor edx, edx
lea eax, [ecx - 1]
movzx esi, byte [edx + 0x662280]
movzx ebx, byte [esi + 0x59c0c0]
inc ebx
movsx edi, bl
add edx, edi
cmp edx, eax
jne 0x410ee9
cmp byte [edx + 0x662280], 0x5c
je 0x410fc7
cmp edx, ecx
jl 0x410ec4
xor eax, eax
test eax, eax
jne 0x410f11
mov edi, 0x662280
mov edx, 0x879338
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x410f07
mov esi, 0x662040
mov edi, 0x661f20
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x410f1b
mov edx, 0x662040
movsx eax, byte [edx]
test eax, eax
je 0x410f58
movzx esi, al
movzx ecx, byte [esi + 0x59c0c0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x410fd6
cmp eax, 0x5c
jne 0x410f50
mov byte [edx], 0x3a
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x410f31
mov esi, 0x662160
mov edi, 0x662280
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x410f62
mov edx, 0x662160
movsx eax, byte [edx]
test eax, eax
je 0x410f9b
movzx esi, al
movzx ecx, byte [esi + 0x59c0c0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x410fd1
cmp eax, 0x5c
jne 0x410f93
mov byte [edx], 0x3a
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x410f78
xor eax, eax
push eax
push 0x1a
push 0x6624c0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
push eax
push 5
push 0x6625e0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0x108
pop ebx
pop esi
pop edi
ret
mov eax, 1
jmp 0x410eef
add edx, 2
jmp 0x410f94
add edx, 2
jmp 0x410f51
add edx, 2
jmp 0x410e9b