joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010fb0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10053064]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push dword [0x100588a8]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x100110e8
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_nMain_Window_found__n_nClick_Ok_to_search_Main_Window_Class.
push 0
call edi
push 0
push dword [0x100588a0]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x100110d7
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_Class_Window_found__n_nClick_Ok_to_search_Main_PID.
push 0
call edi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10011095
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
mov eax, dword [0x10058878]
lea ecx, [esp + 0x34]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10011080
test dl, dl
je 0x1001107c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10011080
add ecx, 2
add eax, 2
test dl, dl
jne 0x10011060
xor eax, eax
jmp 0x10011085
sbb eax, eax
or eax, 1
test eax, eax
je 0x100110bc
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x10011053
cmp esi, 0xffffffff
je 0x100110cf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_PID_NOT_FOUND__n_nCheck__START.cpp_____carrega.Nome_do_Main__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_nMain_PID_found__n_nEVERYTHING_OK__n_nTurn_OFF__START.cpp___carrega.Test_Main_Win_Class_PID_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_Class_Window_NOT_FOUND__n_nCheck__START.cpp___carrega.MainClassName__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_Window_NOT_FOUND__n_nCheck__START.cpp___carrega.MainWindowName__configuration_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10011100
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10053064]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push dword [0x100588c0]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x10011238
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_nLauncher_Window_found__n_nClick_Ok_to_search_Launcher_Window_Class.
push 0
call edi
push 0
push dword [0x100588a4]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x10011227
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_Class_Window_found__n_nClick_Ok_to_search_Launcher_PID.
push 0
call edi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100111e5
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
mov eax, dword [0x1005889c]
lea ecx, [esp + 0x34]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100111d0
test dl, dl
je 0x100111cc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100111d0
add ecx, 2
add eax, 2
test dl, dl
jne 0x100111b0
xor eax, eax
jmp 0x100111d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001120c
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x100111a3
cmp esi, 0xffffffff
je 0x1001121f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_PID_NOT_FOUND__n_nCheck__START.cpp_____carrega.Nome_do_Launcher__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_nLauncher_PID_found__n_nEVERYTHING_OK__n_nTurn_OFF__START.cpp___carrega.Test_Launcher_Win_Class_PID_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_Class_Window_NOT_FOUND__n_nCheck__START.cpp___carrega.LauncherClassName__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_Window_NOT_FOUND__n_nCheck__START.cpp___carrega.LauncherWindowName__configuration_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10012230
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004051d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10053064]
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
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
lea ecx, [ebp - 0x28]
push 0
push esi
call fcn.1000d460
mov dword [ebp - 4], 0
lea eax, [esi + 1]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push eax
cmovae ecx, dword [ebp - 0x28]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [0x100588a8]
mov edi, edx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100122a0
mov ebx, dword [ebp - 0x28]
sub edi, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae ecx, ebx
cmp esi, edi
jne 0x10012363
sub esi, 4
jb 0x100122d7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100122dc
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100122c6
cmp esi, 0xfffffffc
je 0x10012310
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10012309
cmp esi, 0xfffffffd
je 0x10012310
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10012309
cmp esi, 0xfffffffe
je 0x10012310
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10012309
cmp esi, 0xffffffff
je 0x10012310
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10012310
sbb eax, eax
or eax, 1
jmp 0x10012312
xor eax, eax
test eax, eax
jne 0x10012363
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10012345
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x1001233b
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012368
push ecx
push ebx
call fcn.10018612
add esp, 8
xor eax, eax
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.100185cf
mov esp, ebp
pop ebp
ret
call fcn.10011f30
call fcn.1001f358
int3
Function at 0x10012650
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x10058a50
call fcn.1001a350
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x1001267b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10012686
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10012691
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1001269c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x100126a7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x100126b2
bts eax, 2
shr ecx, 1
test cl, 1
je 0x100126bd
bts eax, 1
test cl, 2
je 0x100126c6
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
xor edx, edx
lea ecx, [edx + 1]
nop dword [eax]
test bl, 1
je 0x1001275f
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10012750
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x10058a50], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10012670
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10012790
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10053064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x1004b7e4
push eax
or ebx, 0xffffffff
call fcn.10024a2d
add esp, 8
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x100127d6
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100185cf
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax + eax]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1001eb04
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x1001282d
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10058a50]
sub edx, 1
jne 0x10012805
mov eax, dword [ebp - 0x408]
cmp edi, 0x400
je 0x100127e0
push dword [ebp - 0x408]
call fcn.1001dbd0
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.100185cf
mov esp, ebp
pop ebp
ret 4
Function at 0x10014130
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x10053064]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100141e6
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x100141e6
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x100141e6
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100141e6
push 0
push 0
push 0
push 0x100140e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100185cf
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor ecx, esp
call fcn.100185cf
mov esp, ebp
pop ebp
ret
Function at 0x10016860
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20a00
call fcn.100194a0
mov eax, dword [0x10053064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
xor eax, eax
push esi
push esi
mov dword [ebp - 0x20a00], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x1001695b
push ebx
lea ebx, [ebp - 0x209f4]
nop dword [eax]
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x1001693a
lea eax, [ebp - 0x209fc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x209fc]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x1001693a
mov eax, dword [ebp - 0x209fc]
mov dword [ebx], eax
lea eax, [ebx + 4]
push 0xff
push eax
push edi
mov dword [ebx - 4], edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xff
lea eax, [ebx + 0x103]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
inc dword [ebp - 0x20a00]
add ebx, 0x208
mov ecx, dword [ebp - 0x209fc]
xor eax, eax
test esi, esi
jle 0x1001692e
nop word [eax + eax]
cmp ecx, dword [ebp + eax*4 - 0x400]
je 0x1001692e
inc eax
cmp eax, esi
jl 0x10016920
cmp eax, esi
jne 0x1001693a
mov dword [ebp + esi*4 - 0x400], ecx
inc esi
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x100168a0
pop ebx
cmp dword [ebp - 0x20a00], eax
je 0x1001695b
cmp esi, 1
jg 0x10016973
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100185cf
mov esp, ebp
pop ebp
ret
call fcn.10016560
int3

Function at 0x10016a20
Capabilities:
Create thread
Terminate process

Disassembly:
mov eax, dword [0x10058958]
cmp eax, 1
je 0x10016a6c
cmp eax, 4
je 0x10016a6c
push 0
cmp eax, 2
jne 0x10016a5c
push 0
push 0
push 0x100169c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 3
jne 0x10016a56
push 0
push 0
push 0x10001ed0
jmp 0x10016a3f
push 0
push 0
push 0
push 0x100169f0
jmp 0x10016a3f
Function at 0x10017020
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040150
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10053064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10058954], 1
jne 0x1001713c
sub esp, 8
lea ecx, [ebp - 0xbc]
push 8
push str.GameGuard_Log.txt
call fcn.100032c0
mov edx, str._nAKS_Scan:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.100042d0
mov edx, str.Thread_attack_
lea ecx, [ebp - 0xbc]
call fcn.100042d0
lea ecx, [ebp - 0xb8]
call fcn.10003b10
test eax, eax
jne 0x100170c9
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d30
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc0], eax
lea ecx, [ebp - 0xb8]
call fcn.10002f10
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc0], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x54], vtable.std::ios_base.0
call fcn.10017e5a
add esp, 4
mov eax, dword [0x10058958]
cmp eax, 1
je 0x10017188
cmp eax, 4
je 0x10017188
push 0
cmp eax, 2
jne 0x10017178
push 0
push 0
push 0x10016f70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 3
jne 0x10017172
push 0
push 0
push 0x10001ed0
jmp 0x1001715b
push 0
push 0
push 0
push 0x10016fd0
jmp 0x1001715b

Function at 0x10017440
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push fcn.1000a2a0
push 0
push 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov eax, dword [0x100589d8]
cdq
sub eax, edx
mov dword [0x10059670], 1
sar eax, 1
push eax
mov dword [0x10059650], 1
call ebx
mov eax, 0x10624dd3
inc esi
imul dword [0x100589c4]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jne 0x10017462
push 0
push 0
push 0
push fcn.1000a2a0
push 0
push 0
call edi
jmp 0x10017460
Function at 0x10017590
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040150
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10053064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10058954], 1
jne 0x100176ac
sub esp, 8
lea ecx, [ebp - 0xbc]
push 8
push str.GameGuard_Log.txt
call fcn.100032c0
mov edx, str._nVM_Scan:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.100042d0
mov edx, str.Virtual_memory_Value_changed_
lea ecx, [ebp - 0xbc]
call fcn.100042d0
lea ecx, [ebp - 0xb8]
call fcn.10003b10
test eax, eax
jne 0x10017639
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d30
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc0], eax
lea ecx, [ebp - 0xb8]
call fcn.10002f10
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc0], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x54], vtable.std::ios_base.0
call fcn.10017e5a
add esp, 4
mov eax, dword [0x10058958]
push 0
cmp eax, 1
jne 0x100176de
push 0
push 0
push 0x10017560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x100176ee
push 0
push 0
push 0x10017530
jmp 0x100176c1
cmp eax, 3
jne 0x100176fe
push 0
push 0
push 0x10001ed0
jmp 0x100176c1
cmp eax, 4
jne 0x100176d8
push 0
push 0
push 0x10016f50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.VM_Scan
push str.Virtual_memory_Value_changed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100176d6

Function at 0x1002a8ad
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002a8ec
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002a8ec
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002a8ec
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1002a8ec
cmp dword [ecx + 0x74], 0xe
jbe 0x1002a8ec
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002fb7b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100457bc
push 0x100457b4
push str.FlsAlloc
push 0x1f
call fcn.1002f926
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002fbaf
push dword [ebp + 8]
mov ecx, esi
call dword [0x100412b4]
call esi
jmp 0x1002fbb5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002fbf9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100457cc
push 0x100457c4
push str.FlsGetValue
push 0x21
call fcn.1002f926
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002fc30
push dword [ebp + 8]
mov ecx, esi
call dword [0x100412b4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002fc38
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100457d4
push 0x100457cc
push str.FlsSetValue
push 0x22
call fcn.1002f926
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002fc72
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100412b4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1003066a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100194a0
mov eax, dword [0x10053064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1002c7d5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100306ac
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10030808
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1003ef30
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10058408]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10032061
mov ecx, dword [esi*4 + 0x10058408]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10030801
cmp eax, dword [ecx + edi + 0x24]
jne 0x10030801
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10030801
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10032061
add esp, 0x14
test edx, edx
jl 0x10030801
jg 0x10030777
test eax, eax
jb 0x10030801
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10030801
jl 0x10030791
cmp dword [ebp - 0x1008], eax
ja 0x10030801
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100307af
test ebx, ebx
je 0x100307e8
cmp ecx, edi
jae 0x100307e8
mov al, byte [ecx]
cmp al, 0xd
jne 0x100307c9
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100307d5
cmp byte [ecx + 1], 0xa
jne 0x100307d5
inc ecx
jmp 0x100307d5
movzx eax, al
movsx eax, byte [eax + 0x10053478]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100307af
cmp edx, ebx
jne 0x100307af
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10030806
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100185cf
leave
ret