joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ac730
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x120000]
push edi
or ebp, 0xffffffff
jmp 0x5ac752
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5ac759
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ac748
mov eax, 1
add ebx, ebx
jne 0x5ac76b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5ac77c
jne 0x5ac79b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ac79b
dec eax
add ebx, ebx
jne 0x5ac788
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5ac760
add ebx, ebx
jne 0x5ac797
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5ac7ed
xor ecx, ecx
sub eax, 3
jb 0x5ac7b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5ac822
sar eax, 1
mov ebp, eax
jmp 0x5ac7be
add ebx, ebx
jne 0x5ac7be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ac78c
inc ecx
add ebx, ebx
jne 0x5ac7cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ac78c
add ebx, ebx
jne 0x5ac7d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5ac7ce
jne 0x5ac7ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5ac7ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5ac80c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5ac7fe
jmp 0x5ac74e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5ac80c
add edi, ecx
jmp 0x5ac74e
pop esi
mov edi, esi
mov ecx, 0x4b60
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5ac82a
cmp byte [edi], 0x1e
jne 0x5ac82a
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 0x5ac82f
lea edi, [esi + 0x1a9000]
mov eax, dword [edi]
or eax, eax
je 0x5ac8a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c7d50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c7e90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5ac85c
mov ecx, edi
jns 0x5ac88b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c7e94]
or eax, eax
je 0x5ac8a1
mov dword [ebx], eax
add ebx, 4
jmp 0x5ac879
call dword [esi + 0x1c7ea4]
mov ebp, dword [esi + 0x1c7e98]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x5ac8db
sub esp, 0xffffff80
jmp 0x4a87cc
Function at 0x40872c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
push 0x401060
mov dword [ebp - 8], ebx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, eax
mov dword [ebp - 0x18], ebx
call fcn.0040993b
mov dword [ebp - 0x14], eax
test esi, esi
js 0x4087b1
mov ecx, dword [ebp - 8]
mov byte [ebp - 0xc], bl
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x408774
push dword [ebp - 0xc]
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 8]
lea ecx, [ebp - 0x30]
call fcn.0040a2c9
add esp, 0xc
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x10]
push eax
call fcn.004085af
pop ecx
mov ecx, dword [eax]
xor eax, eax
inc eax
cmp ecx, 3
jne 0x4087b4
jmp 0x4087b6
mov eax, dword [ebp - 0xc]
mov bl, 1
test al, 1
je 0x4087c2
lea ecx, [ebp - 0x30]
call fcn.004095f1
mov ecx, edi
test bl, bl
je 0x4087cf
push 0x406d80
jmp 0x4087d2
push dword [ebp - 8]
call fcn.00409496
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ab91
leave
ret

Function at 0x408aa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0xa0], edi
call fcn.0040993b
mov dword [ebp - 0x9c], eax
cmp dword [ebx + 0x10], edi
je 0x408b5f
lea edx, [ebp - 0xa0]
mov ecx, ebx
call fcn.0040857b
test al, al
je 0x408b5f
push 0x44
pop esi
push esi
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.0040d490
xor eax, eax
mov dword [ebp - 0x88], esi
lea edi, [ebp - 0x98]
add esp, 0xc
cmp dword [ebx + 0x14], 8
mov esi, 0x406d84
stosd dword es:[edi], eax
push 0xf
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
jb 0x408b20
mov ebx, dword [ebx]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x408b5f
push dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x98]
call esi
mov al, 1
jmp 0x408b61
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ab91
leave
ret
Function at 0x40901f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
lea ecx, [ebp - 0x6c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ecx
push 0x20019
push ebx
movzx eax, al
push 0x406dc0
sub eax, 0x7fffffff
mov dword [ebp - 0x6c], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x409081
push 0x406d80
mov ecx, esi
call fcn.00409496
cmp dword [ebp - 0x6c], ebx
je 0x40912b
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40912b
push edi
push 0x64
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], ebx
push ebx
push eax
call fcn.0040d490
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x406d6c
push dword [ebp - 0x6c]
call ebx
test eax, eax
jne 0x40910f
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x40910f
cmp dword [ebp - 0x70], 1
jne 0x40910f
shr edi, 1
cmp edi, 0x32
jae 0x40910f
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0x406d6c
push dword [ebp - 0x6c]
call ebx
mov edx, eax
lea ecx, [edi + edi]
xor eax, eax
cmp word [ebp + ecx - 0x6a], ax
je 0x409100
lea eax, [edi + 1]
cmp eax, 0x32
jae 0x409100
cmp ecx, 0x64
jae 0x40913d
xor eax, eax
mov word [ebp + ecx - 0x68], ax
lea eax, [ebp - 0x68]
test edx, edx
je 0x40910c
mov eax, 0x406d80
push eax
jmp 0x409114
push 0x406d80
mov ecx, esi
call fcn.00409496
cmp dword [ebp - 0x6c], 0
je 0x40912a
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ab91
leave
ret 8
call fcn.0040acc3
int3
Function at 0x40a397
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x419004]
xor eax, esp
mov dword [esp + 0x50], eax
push esi
mov esi, dword [ebp + 8]
push 0x406f00
push 0x406f1c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a3d1
push 0x800
call eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0xc]
call fcn.00409496
push esi
lea ecx, [esp + 0x24]
call fcn.00408b70
lea ecx, [esp + 0x20]
call fcn.00408e9c
mov esi, eax
test esi, esi
jns 0x40a44f
lea ecx, [esp + 8]
call fcn.0040a30c
test al, al
je 0x40a499
cmp esi, 0x80040b00
jne 0x40a499
and dword [esp + 0x4c], 0
lea ecx, [esp + 0x20]
xor eax, eax
mov dword [esp + 0x50], 7
mov word [esp + 0x3c], ax
lea eax, [esp + 0x3c]
push eax
call fcn.00408f41
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.004095f1
test esi, esi
js 0x40a499
mov esi, 0x80040b02
jmp 0x40a499
cmp dword [esp + 0x1c], 8
lea esi, [esp + 8]
jb 0x40a45e
mov esi, dword [esp + 8]
push 0x406d74
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40a491
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x40a48a
jle 0x40a499
movzx esi, si
or esi, 0x80070000
jmp 0x40a499
mov esi, 0x80004005
jmp 0x40a499
push dword [ebp + 0x14]
push esi
call eax
mov esi, eax
cmp dword [esp + 0x20], 0
je 0x40a4aa
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x24]
call fcn.004095f1
lea ecx, [esp + 8]
call fcn.004095f1
mov ecx, dword [esp + 0x54]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040ab91
mov esp, ebp
pop ebp
ret 0x10

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40915c
nop
mov ecx, 0x53b904f4
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x453b07e0
nop
nop
nop
nop
test eax, eax
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40e180
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0040e134
test al, al
jne 0x40e1a1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x40e1ed
xor eax, eax
push ebp
push 0x40e1dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404d24
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e1e4
lea eax, [ebp - 0xc]
call fcn.0040e170
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40e42c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x40e434
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x40e521
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0040b9fc
mov edx, dword [ebp - 8]
mov ecx, 0x40e53c
xor eax, eax
call fcn.0040e310
push 0
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x40e4ef
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x40e44e
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x36
call fcn.0040df38
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00407ee8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0040bf84
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x68
call fcn.0040df08
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x406d5c]
call fcn.00409824
call fcn.00403f88
jmp 0x40e44e
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404c98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e528
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404c90
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c90
ret

Function at 0x40e5f4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x40e64e
inc esi
xor edi, edi
cmp edi, 1
jne 0x40e61a
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep_1
jmp 0x40e628
cmp edi, 1
jle 0x40e628
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0040e180
test eax, eax
jne 0x40e64e
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x40e64e
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x40e64e
inc edi
dec esi
jne 0x40e60a
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x40e658
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40e67c
mov eax, dword [ebp - 4]
jmp 0x40e67f
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x40e684
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x40e6d1
xor ebx, ebx
jmp 0x40e6c6
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00407bdc
test eax, eax
jne 0x40e6c5
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x40e77b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e6a7
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x40e6dd
je 0x40e6e6
jmp 0x40e6ef
call fcn.0040bcb4
mov esi, eax
jmp 0x40e6f1
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x40e6f1
xor esi, esi
test si, si
je 0x40e77b
xor ebx, ebx
jmp 0x40e717
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x40e716
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40e77b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e6fe
xor ebx, ebx
jmp 0x40e770
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov edx, esi
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x40e76f
mov eax, esi
and ax, 0x3ff
cmp ax, 4
jne 0x40e764
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.0040e658
push eax
mov eax, esi
call fcn.0040e658
pop edx
cmp edx, eax
jne 0x40e76f
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40e77b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e726
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x40eb68
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ec3d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40ec58
push ebx
push 0x40ec68
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40ebe8
mov al, 0x6a
call fcn.0040e788
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040eb3c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40ebf1
call fcn.0040eb3c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ec44
lea eax, [ebp - 4]
call fcn.00404c88
ret
Function at 0x40ed58
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee23
jmp 0x40ee17
cmp dword [esi + 0x10], 0x1000
jne 0x40ee03
test byte [esi + 0x15], 1
jne 0x40ee03
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40edb4
cmp ebp, 2
je 0x40edb4
cmp ebp, 0x10
je 0x40edb4
cmp ebp, 0x20
jne 0x40edd0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40edd0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ede1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ed50
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40edd4
cmp byte [esp + 4], 0
je 0x40ee03
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee23
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ed89
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40cd50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415bf5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x41f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0xc]
mov dword [ebp - 0x1c], ebx
push eax
mov dword [ebx], vtable.std::_Associated_state_bool_.0
mov dword [ebx + 4], 1
call dword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void__]
lea eax, [ebx + 0x14]
push 2
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea eax, [ebx + 0x44]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
mov byte [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov word [ebx + 0x74], 0
mov byte [ebx + 0x76], 0
mov dword [ebx + 0x78], 0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.std::_Packaged_state_bool____cdecl___void__.0
sub ebx, 0xffffff80
mov dword [ebp - 0x18], ebx
mov dword [ebx + 0x24], 0
push 0x38
mov byte [ebp - 4], 1
call fcn.004138dc
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x20], edi
push dword [ebp - 0x10]
lea esi, [edi + 4]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [edi], vtable.std::_Func_impl_no_alloc_class_std::_Fake_no_copy_callable_adapter_class__void___cdecl_functional::memory::scan_for_cheats_class_sachecker::menu___class_process__::_6::_lambda_1____bool___.0
mov dword [ebp - 0x24], esi
call fcn.00409e40
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov byte [ebp - 4], 3
push ecx
lea ecx, [esi + 0x18]
call fcn.00409e40
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x30], ecx
mov dword [ebx + 0x24], edi
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 0x40d9d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x41f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x220
xor edi, edi
lea eax, [ebp - 0x224]
push edi
push eax
mov esi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x228], 0x224
push dword [esi]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x228]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x40da89
mov esi, dword [ebp + 8]
nop word [eax + eax]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40da3a
mov eax, dword [esi]
lea ecx, [ebp - 0x208]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40da60
test dl, dl
je 0x40da5c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40da60
add ecx, 2
add eax, 2
test dl, dl
jne 0x40da40
xor eax, eax
jmp 0x40da65
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40da73
test edi, edi
jne 0x40da87
mov edi, dword [ebp - 0x214]
lea eax, [ebp - 0x228]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x40da30
jmp 0x40da89
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413819
mov esp, ebp
pop ebp
ret 4
Function at 0x40e3f0
Capabilities:
Execute command
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415f50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x41f00c]
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 edi, ecx
mov dword [ebp - 0x14], edi
mov ebx, dword [ebp + 8]
sub esp, 0xc
mov dword [ebp - 0x1c], edi
mov ecx, esp
mov dword [edi], ebx
call fcn.0040e290
push ebx
lea ecx, [edi + 4]
call fcn.0040dd90
push 0x4e3
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push str.SAChecker__kichiro
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.00412e00
call fcn.0040f610
push ecx
lea ecx, [ebp - 0x18]
call fcn.004027f0
call fcn.00401340
push ecx
call fcn.0040e510
lea ecx, [ebp - 0x18]
push ecx
push ecx
push eax
push ebx
call fcn.0040e5e0
test al, al
jne 0x40e505
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop dword [eax]
push 0x4186cc
call esi
add esp, 4
call fcn.0040f610
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4186d0
call fcn.0040ace0
push 0x40af00
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_36m
call fcn.0040ace0
mov edx, 0x4186f4
mov ecx, eax
call fcn.0040ace0
mov edx, str.e_0m
mov ecx, eax
call fcn.0040ace0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.0040eba0
push ecx
call fcn.0040e510
lea ecx, [ebp - 0x18]
push ecx
push ecx
push eax
push ebx
call fcn.0040e5e0
test al, al
je 0x40e490
mov ecx, edi
call fcn.0040e720
int3