joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10002ba4
test ecx, ecx
jne 0x10002b5a
push 0x4f
push 0x100a4640
push str.self
call fcn.10072874
add esp, 0xc
xor al, al
pop esi
pop ebp
ret 8
mov ecx, dword [ecx + 4]
cmp ecx, 0xffffffff
je 0x10002b53
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10002b84
push 0x56
push 0x100a4640
push 0x100a46ec
call fcn.10072874
add esp, 0xc
xor al, al
pop esi
pop ebp
ret 8
push 0
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10002b53
cmp dword [ebp + 0xc], esi
jne 0x10002b53
mov al, 1
pop esi
pop ebp
ret 8
Function at 0x10002f20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa90
lea eax, [ebp - 0x88]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call esi
push 0x20
lea eax, [ebp - 0x48]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push 0
push 0xfde9
call esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10002f84
push str.Error_opening_Steam_key_n
jmp 0x10003029
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
lea eax, [ebp - 0x290]
push eax
push 0
push 0
push str.SteamExe
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10003024
mov ecx, dword [ebp - 8]
cmp ecx, 1
jb 0x10003024
shr ecx, 1
mov eax, esi
je 0x10002fe8
lea edx, [esi + 0x5c]
nop dword [eax + eax]
cmp word [ebp + eax*2 - 0x290], 0x2f
jne 0x10002fe3
mov word [ebp + eax*2 - 0x290], dx
inc eax
cmp eax, ecx
jb 0x10002fd0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x290]
push eax
push str.__s__steam:__rungameid__s
lea eax, [ebp - 0xa90]
push 0x800
push eax
call fcn.10002e30
lea eax, [ebp - 0xa90]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10002bb0
add esp, 0x1c
pop esi
mov esp, ebp
pop ebp
ret
push str.Error_reading_SteamExe_key_n
push 2
call fcn.10072a6f
add esp, 4
push eax
call fcn.10003050
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100098d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
cmp eax, 1
jne 0x100099b0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.DbgBreakPoint
push str.ntdll.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.DbgUiRemoteBreakin
push str.ntdll.dll
mov ebx, eax
call edi
push eax
call esi
mov esi, eax
test esi, esi
je 0x100099a7
mov ecx, dword [0x101000fc]
mov eax, 1
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test ecx, ecx
cmove ecx, eax
lea eax, [ebp + 0xc]
push eax
push 0x40
push 6
push esi
mov dword [0x101000fc], ecx
call edi
test eax, eax
je 0x10009968
mov eax, 0x90909090
mov ecx, 0x100098c0
mov dword [esi], eax
mov word [esi + 4], ax
mov eax, dword [ecx]
mov dword [esi], eax
mov ax, word [ecx + 4]
mov word [esi + 4], ax
test ebx, ebx
je 0x100099a7
lea eax, [ebp + 0xc]
push eax
push 0x40
push 1
push ebx
call edi
test eax, eax
je 0x100099a7
mov byte [ebx], 0xc3
call fcn.1000f6d0
call fcn.100116b0
call fcn.10001ca0
call fcn.100014e0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
test eax, eax
jne 0x1000999b
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0x1000a760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1009e670
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1002f834
mov edi, eax
add esp, 4
test edi, edi
je 0x1000a7a8
push 1
mov dword [ebp - 4], 0
call fcn.100145a5
add esp, 4
mov dword [edi + 4], eax
jmp 0x1000a7aa
xor edi, edi
lea eax, [esi + 4]
mov dword [esi + 0x34], edi
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000aa90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e71a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.10013ee3
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x1000ab1d
push eax
push esi
call fcn.100146ac
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.1000ae90
push 0x100bdb34
lea eax, [ebp - 0x1c]
push eax
call fcn.10053613
int3
Function at 0x1000da20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x1000da3b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x1000da57
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1000da46
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x1000da90
cmp eax, edi
jne 0x1000da88
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x1000da98
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1000da98
cmp eax, edi
jne 0x1000da9b
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
lea ecx, [edx + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ecx + 4]
call fcn.1000ce50
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e7d0
Capabilities:
Enumerate processes on remote desktop session host
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 1
push 0
push 0
call sub.WTSAPI32.dll_WTSEnumerateProcessesA
test eax, eax
je 0x1000e9c0
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
nop word [eax + eax]
mov eax, dword [ebp - 4]
mov esi, ebx
add esi, esi
push dword [eax + esi*8 + 8]
lea eax, [ebp - 0x214]
push 0x100
push eax
call fcn.100715cf
mov eax, dword [ebp - 4]
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x10], edi
mov ebx, dword [eax + esi*8 + 4]
push edi
call dword [sym.imp.USER32.dll_GetTopWindow]
mov esi, eax
test esi, esi
je 0x1000e88a
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000e878
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
test edi, edi
je 0x1000e878
cmp edi, 0xff
jg 0x1000e878
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp ebx, dword [ebp - 0x14]
je 0x1000e8ee
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x1000e848
mov edi, dword [ebp - 0x10]
test edi, edi
lea ecx, [ebp - 0x314]
lea eax, [ebp - 0x214]
cmovne eax, ecx
mov ecx, str.W_s
push eax
mov eax, str.B_s
cmovne eax, ecx
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1000e710
push 0x88
call fcn.1002f834
mov ebx, dword [ebp - 8]
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x10], esi
test esi, esi
je 0x1000e9a8
mov dword [esi], 0x27480088
lea edx, [esi + 8]
test ebx, ebx
jne 0x1000e907
mov dword [esi + 4], 0x6e
mov byte [edx], bl
jmp 0x1000e990
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, 1
jmp 0x1000e88a
mov eax, dword [ebp - 0xc]
dec eax
cmp ebx, eax
jne 0x1000e91b
mov dword [esi + 4], 0x14a
mov byte [edx], 0
jmp 0x1000e990
mov eax, 0xdc
lea ecx, [ebp - 0x114]
mov word [esi + 4], ax
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e930
sub ecx, edi
lea eax, [ecx + 1]
mov word [esi + 6], ax
cwde
test eax, eax
je 0x1000e990
test edx, edx
jne 0x1000e956
call fcn.1005dbdd
mov dword [eax], 0x16
jmp 0x1000e98b
cmp eax, 0x80
ja 0x1000e970
push eax
lea eax, [ebp - 0x114]
push eax
push edx
call fcn.100524d0
add esp, 0xc
jmp 0x1000e990
push 0x80
push 0
push edx
call fcn.10051c70
add esp, 0xc
call fcn.1005dbdd
mov dword [eax], 0x22
call fcn.1005dab6
movsx eax, word [esi]
push eax
push esi
call fcn.10001e40
push 0x88
push esi
call fcn.1002f864
add esp, 0x10
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, dword [ebp - 0xc]
jbe 0x1000e810
push dword [ebp - 4]
call sub.WTSAPI32.dll_WTSFreeMemory
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e9d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x1000ea2e
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x1000e9f0
mov eax, dword [edi]
jmp 0x1000eb19
cmp eax, 0x4e0
jb 0x1000eb19
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x1000ea50
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x1000eaa0
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000f6d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push str..Settings.ini
push 0
push str.FullScreen
push str.Screen
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x1000f716
push 1
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.1000f5a0
add esp, 0xc
mov esp, ebp
pop ebp
ret
push 0
push 0x300
push 0x400
call fcn.1000f5a0
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10011250
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
movups xmm0, xmmword [str.0123456789abcdef]
mov al, byte [0x100a71b0]
push esi
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x10], al
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10011368
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10011368
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x8003
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x100112f1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0xc]
push 0
push eax
push 0x400
lea eax, [ebp - 0x430]
push eax
push esi
call edi
test eax, eax
je 0x1001134b
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x1001136f
push 0
push ecx
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 4]
call ebx
push 0
test eax, eax
je 0x1001134d
lea eax, [ebp - 0xc]
push eax
push 0x400
lea eax, [ebp - 0x430]
push eax
push esi
call edi
test eax, eax
jne 0x10011318
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x1001134b
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10
push eax
lea eax, [ebp - 0x30]
push eax
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x100113cc
mov ebx, dword [ebp - 8]
xor edi, edi
test ebx, ebx
je 0x100113c5
mov edx, dword [ebp + 0xc]
nop
movzx ecx, byte [ebp + edi - 0x30]
lea edx, [edx + 2]
mov eax, ecx
inc edi
shr eax, 4
and ecx, 0xf
movzx eax, byte [ebp + eax - 0x20]
mov byte [edx - 2], al
movzx eax, byte [ebp + ecx - 0x20]
mov byte [edx - 1], al
cmp edi, ebx
jb 0x100113a0
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x20], 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100116b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100c7504], 0x10
lea eax, [ebp - 0xc]
push ebx
mov ebx, dword [0x100c7500]
push esi
push edi
mov edi, dword [0x10100174]
mov esi, 0x100c74f0
cmovae esi, dword [0x100c74f0]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
call ebx
push str..Settings.ini
push 0
push 0x100a7264
push str.Screen
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10011850
cmp eax, 0xc8
jle 0x10011738
mov eax, 0xc8
jmp 0x10011741
cmp eax, 0x3c
jle 0x100117de
movsd xmm1, qword [0x100a4c68]
cwde
mov word [ebp - 8], 0x518d
mov word [ebp - 0xc], 0xc183
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
mulsd xmm1, qword [0x100a7278]
cvttsd2si eax, xmm1
mov byte [ebp - 6], al
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x10]
push eax
push 0x40
push 3
push 0x5c33c8
call ebx
push 0
push 3
lea eax, [ebp - 8]
push eax
push 0x5c33c8
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 3
push 0x5c33c8
call ebx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 3
push 0x5c33d1
call ebx
push 0
push 3
lea eax, [ebp - 0xc]
push eax
push 0x5c33d1
call esi
push eax
call edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 3
push 0x5c33d1
call ebx
jmp 0x100117e4
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push str..Settings.ini
push 0
push str.HPBar
push str.Player
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test ax, ax
jle 0x10011819
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x638df0
call ebx
mov dword [0x638df0], 0x1e8480
lea eax, [ebp - 0x10]
mov word [ebp - 4], 0x17eb
push eax
push 0x40
push 2
push 0x63df63
call ebx
push 0
push 2
lea eax, [ebp - 4]
push eax
push 0x63df63
call esi
push eax
call edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 2
push 0x63df63
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011920
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [0x10100170], 0
jne 0x10011a4a
push ebx
push esi
push edi
push 0x100a7250
push str..Co9.dat
call fcn.100735c5
mov ecx, dword [ebp + 8]
mov ebx, eax
push 0x100a7260
mov dword [ebp - 8], ebx
push dword [ecx]
call fcn.100735c5
push ebx
mov esi, eax
lea eax, [ebp - 0x20c]
push 0x200
push 1
push eax
mov dword [ebp - 0xc], esi
call fcn.10073853
mov edi, eax
add esp, 0x20
test edi, edi
je 0x10011a01
xor ecx, ecx
test edi, edi
jle 0x100119d4
mov ebx, 1
lea eax, [ebp - 0x20c]
sub ebx, eax
lea esi, [ebp - 0x20c]
add esi, ecx
lea eax, [ebx + esi]
and eax, 0x8000001f
jns 0x100119ac
dec eax
or eax, 0xffffffe0
inc eax
mov edx, ecx
and edx, 0x8000001f
jns 0x100119bb
dec edx
or edx, 0xffffffe0
inc edx
mov al, byte [eax + 0x100c74c4]
inc ecx
xor al, byte [edx + 0x100c74c4]
xor byte [esi], al
cmp ecx, edi
jl 0x10011995
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
push esi
push edi
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.10073c21
push ebx
push 0x200
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.10073853
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x10011982
push esi
mov dword [0x10100170], 1
call fcn.100732a2
push ebx
call fcn.100732a2
lea eax, [ebp - 0x20c]
push eax
call fcn.10030651
add esp, 0xc
mov word [ebp - 4], 0xeb
lea eax, [ebp - 4]
push 0
push 2
push eax
push dword [0x10100178]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10011c50
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ecx]
push ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push dword [ebp - 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.10011b00
mov esi, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [ebp - 0x10]
xor edi, edi
sub ecx, esi
mov ebx, esi
add ecx, 3
shr ecx, 2
cmp esi, dword [ebp - 0x10]
cmova ecx, edx
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x10011ce4
nop dword [eax]
mov esi, dword [ebx]
test esi, esi
je 0x10011cd9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
inc edi
add ebx, 4
cmp edi, ecx
jne 0x10011cc0
mov esi, dword [ebp - 0x14]
push 0x28
push dword [ebp - 8]
call fcn.1002f864
add esp, 8
test esi, esi
je 0x10011d21
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10011d17
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011d28
push ecx
push esi
call fcn.1002f864
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1005dac6
int3
Function at 0x10011e00
Capabilities:
Enumerate threads
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ece8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x1c]
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x20]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.10011a50
mov esi, dword [ebp - 0x24]
xor edx, edx
mov ecx, dword [ebp - 0x20]
sub ecx, esi
mov dword [ebp - 4], 0
add ecx, 3
mov dword [ebp - 0x14], 0
shr ecx, 2
cmp esi, dword [ebp - 0x20]
cmova ecx, edx
mov edx, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
test ecx, ecx
je 0x10011f09
push edi
nop dword [eax]
mov edi, dword [edx]
test edi, edi
je 0x10011ee1
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x10011ee1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x1c
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x4c], xmm0
movq qword [ebp - 0x3c], xmm0
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10011eda
cmp dword [ebp - 0x48], edi
je 0x10011f31
lea eax, [ebp - 0x50]
push eax
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10011ec7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x100a43c0
push 0x10
call fcn.100113f0
add esp, 8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
inc ecx
add edx, 4
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
cmp ecx, dword [ebp - 0x18]
jne 0x10011e90
mov esi, dword [ebp - 0x24]
pop edi
test esi, esi
je 0x10011f6c
mov ecx, dword [ebp - 0x1c]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10011f62
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011f7b
jmp 0x10011f62
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10011ef0
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x10011f59
test eax, eax
jne 0x10011eda
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10011ef0
push ecx
push esi
call fcn.1002f864
add esp, 8
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.1005dac6
int3

Function at 0x10011f90
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov edi, ecx
lea eax, [edi + 0x14]
push eax
push 0
push 0
push 0x10002700
push 0
push 0
call esi
mov dword [edi], eax
lea eax, [edi + 0x18]
push eax
push 0
push 0
push 0x10002790
push 0
push 0
call esi
mov dword [edi + 4], eax
lea eax, [edi + 0x1c]
push eax
push 0
push 0
push 0x10001500
push 0
push 0
call esi
mov dword [edi + 8], eax
lea eax, [edi + 0x20]
push eax
push 0
push 0
push 0x1000bec0
push 0
push 0
call esi
mov dword [edi + 0xc], eax
pop edi
pop esi
ret