joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406486
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00402c42
mov dword [ebp - 0x14], eax
cmp dword [0x413e08], esi
jne 0x406579
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x406506
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x406659
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x406659
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x406659
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x413e08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x413e0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x413e10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x413e18], eax
test eax, eax
je 0x406576
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x413e14], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40659e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x406591
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4065b3
push 4
pop eax
jmp 0x40665b
cmp dword [ebp - 0x14], esi
je 0x4065b3
push dword [0x413e08]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x406598
mov eax, dword [0x413e14]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x406611
cmp dword [0x413e18], edi
je 0x406611
push eax
call ebx
push dword [0x413e18]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x406611
test eax, eax
je 0x406611
call ecx
test eax, eax
je 0x406606
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x406606
test byte [ebp - 8], 1
jne 0x406611
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x406641
mov eax, dword [0x413e0c]
cmp eax, edi
je 0x40663e
push eax
call ebx
test eax, eax
je 0x40663e
call eax
mov esi, eax
test esi, esi
je 0x40663e
mov eax, dword [0x413e10]
cmp eax, edi
je 0x40663e
push eax
call ebx
test eax, eax
je 0x40663e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x413e08]
call ebx
test eax, eax
je 0x406659
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40665b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401203
mov esp, ebp
pop ebp
ret
Function at 0x40a05e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
wait
pop ecx
mov byte [ebp - 0x64], 0x58
mov byte [ebp - 0x63], 0x4c
mov byte [ebp - 0x62], 0x41
mov byte [ebp - 0x61], 0x7d
mov byte [ebp - 0x60], 0x5f
mov byte [ebp - 0x5f], 0x42
mov byte [ebp - 0x5e], 0x59
mov byte [ebp - 0x5d], 0x48
mov byte [ebp - 0x5c], 0x4e
mov byte [ebp - 0x5b], 0x59
mov byte [ebp - 0x5a], 0x2d
call fcn.00409cb4
push eax
push edi
push dword [ebp + 8]
call fcn.00409c69
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0x44], bl
lea eax, [ebp - 0x44]
mov byte [ebp - 0x43], bl
push eax
mov byte [ebp - 0x42], 0xfd
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x40], 0x4e
mov byte [ebp - 0x3f], 0x6d
mov byte [ebp - 0x3e], 0x63
mov byte [ebp - 0x3d], 0x66
mov byte [ebp - 0x3c], 0x4e
mov byte [ebp - 0x3b], 0x6b
mov byte [ebp - 0x3a], 0x60
mov byte [ebp - 0x39], 0x70
mov byte [ebp - 0x38], 0x63
mov byte [ebp - 0x37], 0x70
mov byte [ebp - 0x36], 0x7b
mov byte [ebp - 0x35], 0x43
mov byte [ebp - 0x34], 2
call fcn.00409cb4
push eax
push edi
push dword [ebp + 8]
call fcn.00409c69
add esp, 0x20
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0x7b
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0xc3
mov byte [ebp - 0x7f], 0xe1
mov byte [ebp - 0x7e], 0xf0
mov byte [ebp - 0x7d], 0xc9
mov byte [ebp - 0x7c], 0xeb
mov byte [ebp - 0x7b], pe_nt_image_headers32
mov byte [ebp - 0x7a], 0xf1
mov byte [ebp - 0x79], 0xe8
mov byte [ebp - 0x78], 0xe1
mov byte [ebp - 0x77], 0xcc
mov byte [ebp - 0x76], 0xe5
mov byte [ebp - 0x75], 0xea
mov byte [ebp - 0x74], pe_nt_image_headers32
mov byte [ebp - 0x73], 0xe8
mov byte [ebp - 0x72], 0xe1
mov byte [ebp - 0x71], 0xc5
mov byte [ebp - 0x70], 0x84
call fcn.00409ca4
push esp
sahf
dec edi
fimul dword [ebp - 0x837b]
call dword [eax - 0x18]
inc esp
sti
invalid
Function at 0x40a58a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx - 0x6737b]
inc edi
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
Function at 0x40a5b1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x5c
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0xe4
mov byte [ebp - 0x3bf], 0xc6
mov byte [ebp - 0x3be], 0xd7
mov byte [ebp - 0x3bd], 0xee
mov byte [ebp - 0x3bc], 0xcc
mov byte [ebp - 0x3bb], 0xc7
mov byte [ebp - 0x3ba], 0xd6
mov byte [ebp - 0x3b9], 0xcf
mov byte [ebp - 0x3b8], 0xc6
mov byte [ebp - 0x3b7], 0xe5
mov byte [ebp - 0x3b6], 0xca
mov byte [ebp - 0x3b5], 0xcf
mov byte [ebp - 0x3b4], 0xc6
mov byte [ebp - 0x3b3], 0xed
mov byte [ebp - 0x3b2], 0xc2
mov byte [ebp - 0x3b1], 0xce
mov byte [ebp - 0x3b0], 0xc6
mov byte [ebp - 0x3af], 0xe2
mov byte [ebp - 0x3ae], 0xa3
lea eax, [ebp - 0x3c4]
push eax
call fcn.00409cb4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00409c69
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x94
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0x2c
mov byte [ebp - 0x3e7], 0xe
mov byte [ebp - 0x3e6], 0x1f
mov byte [ebp - 0x3e5], 0x26
mov byte [ebp - 0x3e4], 4
mov byte [ebp - 0x3e3], 0xf
mov byte [ebp - 0x3e2], 0x1e
mov byte [ebp - 0x3e1], 7
mov byte [ebp - 0x3e0], 0xe
mov byte [ebp - 0x3df], 0x23
mov byte [ebp - 0x3de], 0xa
mov byte [ebp - 0x3dd], 5
mov byte [ebp - 0x3dc], 0xf
mov byte [ebp - 0x3db], 7
mov byte [ebp - 0x3da], 0xe
mov byte [ebp - 0x3d9], 0x2a
mov byte [ebp - 0x3d8], 0x6b
call fcn.00409ca4
sub byte [ebp - 0x46], al
xchg esp, eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.00409cb4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00409c69
add esp, 0xc
mov dword [ebp - 0x340], eax
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x29
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0x95
mov byte [ebp - 0x52f], 0xba
mov byte [ebp - 0x52e], 0xb9
mov byte [ebp - 0x52d], 0xa5
mov byte [ebp - 0x52c], 0xb3
mov byte [ebp - 0x52b], 0x9e
mov byte [ebp - 0x52a], 0xb7
mov byte [ebp - 0x529], 0xb8
mov byte [ebp - 0x528], 0xb2
mov byte [ebp - 0x527], 0xba
mov byte [ebp - 0x526], 0xb3
mov byte [ebp - 0x525], 0xd6
lea eax, [ebp - 0x534]
push eax
call fcn.00409cb4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00409c69
add esp, 0xc
mov dword [ebp - 0x680], eax
and byte [ebp - 0x664], 0
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 0xfc
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0x4b
mov byte [ebp - 0x65f], 0x66
mov byte [ebp - 0x65e], 0x62
mov byte [ebp - 0x65d], 0x73
mov byte [ebp - 0x65c], 0x42
mov byte [ebp - 0x65b], 0x6f
mov byte [ebp - 0x65a], 0x6f
mov byte [ebp - 0x659], 0x6c
mov byte [ebp - 0x658], 0x60
mov byte [ebp - 0x657], 3
lea eax, [ebp - 0x664]
push eax
call fcn.00409cb4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00409c69
add esp, 0xc
mov dword [ebp - 0x67c], eax
call fcn.00409ca4
cmp dword [edx + 0x69], esp
mov eax, dword [0xfadca580]
invalid
Function at 0x40b2d0
Capabilities:
Write file on windows

Disassembly:
clc
dec esi
push esp
adc ecx, 0x5d
mov dword [esi + 0x50], edx
mov dword [eax + 0x54], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
pop ebx
pop edi
mov dword [ecx], edx
pop esi
pop ebp
ret
push ebp
mov ecx, dword [ebx + 0x228bec1c]
or byte [edx - 0x3f5cd0ba], cl
setno byte [esi + 0x65000000]
dec esi
dec eax
aas
push ebp
push ebx
and dword [edi + 0x45895701], 0xfffffffc
mov dword [ebp + 8], eax
jne 0x9540b395
cmp dword [esi + 0x3c], edi
cmp edi, eax
je 0xb640b386
mov ebp, dword [edx + 0x38]
cmp edi, 0xffffff82
jbe 0x40b2b1
or eax, 0xffffffff
jb 0x40b313
mov ebp, dword [ebp - 0x72fba975]
cmp al, 0xfc
mov edx, dword [esi + 4]
lea edi, [esp + edi*8]
push 0
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40b358
mov eax, dword [ebp - 4]
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
add edx, eax
adc ecx, 0
sub edi, eax
add ebx, eax
mov dword [esi], esi
push eax
test edi, edi
mov word [esi + 0x54], cs
cwde
ret 0x458b
mov ebp, dword [esi + 0x75]
dec ebp
inc eax
add bh, bh
xlatb
test eax, eax
jne 0x40b378
mov dword [ebp + 8], eax
outsd dx, dword [esi]
or bh, bh
xlatb
add eax, 0xe2b1fc80
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
mov edi, ebx
push eax
mov ecx, dword [esi + 0x5c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x50], edx
adc ecx, 0
popfd
ror byte [ecx - 0x698aabb2], 0x3d
inc esi
cmp al, 0xf5
add byte [eax], al
add byte [ebx + 0x5b5f0845], cl
pop esi
mov edi, dword [ecx]
pop ebp
ret 4
Function at 0x48c7d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x734ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x8bb040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14c], 0
mov ecx, 0x8d4378
cmp dword [0x8d438c], 0xf
mov edx, dword [0x8d4388]
cmova ecx, dword [0x8d4378]
push 0
push 0x775914
call fcn.00483510
add esp, 8
test al, al
je 0x48c94a
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push 0x8028
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x48c8b6
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48c880
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.004815d0
mov ebx, 1
mov dword [ebp - 4], 0
lea eax, [ebp - 0x130]
mov dword [ebp - 0x14c], ebx
jmp 0x48c8df
push 0x8bc28c
lea ecx, [ebp - 0x148]
call fcn.00485000
mov dword [ebp - 4], 1
mov ebx, 2
mov dword [ebp - 0x14c], ebx
cmp eax, 0x8d4378
je 0x48c8f6
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x48c8ea
mov eax, dword [eax]
push ecx
push eax
mov ecx, 0x8d4378
call fcn.004833e0
test bl, 2
je 0x48c909
lea ecx, [ebp - 0x148]
and ebx, 0xfffffffd
call fcn.00481520
test bl, 1
je 0x48c94a
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0xf
jbe 0x48c94a
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48c940
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48c940
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00732c0f
add esp, 8
mov eax, 0x8d4378
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0073297b
mov esp, ebp
pop ebp
ret
Function at 0x48ea30
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x8bb040]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x48eaf2
cmp byte [esi + 0x3d], 0
je 0x48eaf2
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x48eadf
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
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 0x48eaa3
sub eax, 1
je 0x48eaa7
sub eax, 2
jne 0x48eadf
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0073297b
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x48eac7
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 0x48eadf
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0073297b
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0073297b
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.0073297b
add esp, 0x28
ret
Function at 0x498be0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7361fc
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x8bb040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x498c94
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.00495680
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.00499850
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x498cd8
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, 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 0x30

Function at 0x4a2ab0
Capabilities:
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
ret 4
Function at 0x4b5860
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x8bb040]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0x809b4c
lea eax, [esp + 0x1c]
push str.CONOUT_
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
add esp, 0x10
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x4b5935
xor eax, eax
mov word [esp + 0xc], ax
mov ax, word [esp + 0x32]
mov word [esp + 0xe], ax
push dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
call ebx
mov edi, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea eax, [esp + 0x18]
push 0
push 0xa0
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, dword [edi]
add esp, 0xc
push dword [eax + 0xc]
mov edx, dword [edx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add edx, edi
push edx
call eax
add esp, 0xc
mov edx, 0x775914
mov ecx, edi
call fcn.004853b0
push dword [esp + 0xc]
push dword [esp + 0x14]
call ebx
pop edi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0073297b
mov esp, ebp
pop ebp
ret
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x80a394
call fcn.004853b0
mov ecx, dword [esp + 0x44]
pop edi
pop ebx
xor ecx, esp
call fcn.0073297b
mov esp, ebp
pop ebp
ret
Function at 0x4bbf60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7345e0
mov eax, dword fs:[0]
push eax
mov eax, dword [0x8bb040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], 1
mov dword [ecx + 0x2c], 0xf
mov word [ecx + 0x18], 0x30
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], 0xf
mov byte [ecx + 0x30], al
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4c39e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73b8ed
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x8bb040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.0049b080
mov esi, dword [eax + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
cmp byte [esi + 0xd], 0
mov dword [ebp + 0xc], ecx
jne 0x4c3a77
cmp dword [esi + 0x24], 0xf
lea eax, [esi + 0x10]
mov edx, dword [eax + 0x10]
jbe 0x4c3a3c
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0xf
mov ecx, ebx
jbe 0x4c3a46
mov ecx, dword [ebx]
push edx
mov edx, dword [ebx + 0x10]
push eax
call fcn.0048f890
shr eax, 0x1f
add esp, 8
test al, al
jne 0x4c3a77
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 4], 0x3ffffff
je 0x4c3b77
mov eax, dword [ebp - 0x10]
mov edi, dword [edi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x40
mov dword [ebp - 0x18], 0
call fcn.0073298e
mov esi, eax
mov edx, dword [ebp + 0x10]
xor eax, eax
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, dword [ebx]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x24], eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov al, byte [edx]
mov byte [esi + 0x28], al
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [esi + 0x34], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x30], eax
mov byte [edx], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov eax, dword [edx + 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x3c], eax
push esi
push dword [ebp + 0xc]
mov dword [edx + 0x10], 0
push dword [ebp - 0x14]
mov dword [edx + 0x14], 0
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov word [esi + 0xc], 0
call fcn.004857f0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
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
call fcn.004838b0
int3
Function at 0x4c98b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73befa
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x8bb040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 0x10]
xor eax, eax
push dword [ebp + 0xc]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
call fcn.004815d0
mov dword [ebp - 4], 0
lea eax, [edi + 0x48]
mov dword [edi + 0x18], 1
xor ecx, ecx
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0x64
mov dword [edi + 0x3c], 9
mov dword [edi + 0x40], 1
mov dword [edi + 0x44], 0x3e8
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
push 2
push eax
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
mov byte [ebp - 4], 1
lea esi, [edi + 0x78]
push 0x98
mov dword [ebp - 0x14], esi
call fcn.0073298e
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004cb020
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc