joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4135d0
Capabilities:
Manipulate console buffer

Disassembly:
push 0xffffffffffffffff
push 0x4715e2
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
push 0
push 0x64
push eax
push ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], edi
call fcn.0046bd70
push edi
push esi
push edx
push eax
call fcn.0046bf30
mov dword [ebp + 0x38], eax
test esi, esi
jne 0x413636
test edi, edi
je 0x413644
test ebx, ebx
jne 0x413644
cmp dword [esp + 0x44], ebx
je 0x413754
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
lea ecx, [esp + 0x14]
push ecx
push eax
call ebx
movsx esi, word [esp + 0x14]
push 0x47d6d8
lea ecx, [esp + 0x40]
call dword [0x4763f4]
mov dword [esp + 0x34], 0
mov edx, dword [ebp + 0x38]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
push 0x47e12c
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x1c
push 0xfffffffffffffff5
call edi
lea edx, [esp + 0x14]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x3c]
sub esi, dword [ecx - 0xc]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
dec esi
mov word [esp + 0x40], si
mov edx, dword [esp + 0x40]
push edx
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], 0
call dword [0x4763f4]
mov byte [esp + 0x34], 1
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx - 0xc]
push 0
lea edx, [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov byte [esp + 0x34], 0
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [0x491c54]
cmp dword [eax + 0x68], 0
je 0x413742
mov eax, dword [eax + 0x6c]
push eax
push 1
push 0x47e15c
call fcn.00403c30
add esp, 0xc
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x14
Function at 0x413990
Capabilities:
Manipulate console buffer

Disassembly:
push 0xffffffffffffffff
push 0x471582
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
lea ecx, [esp + 0x1c]
push ecx
push eax
call ebp
movsx esi, word [esp + 0x1c]
push str.Skiped..
lea ecx, [esp + 0x18]
call dword [0x4763f4]
mov dword [esp + 0x3c], 0
push 0xfffffffffffffff5
call edi
lea edx, [esp + 0x1c]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x14]
sub esi, dword [ecx - 0xc]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
dec esi
mov word [esp + 0x10], si
mov edx, dword [esp + 0x10]
push edx
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], 0
call dword [0x4763f4]
mov byte [esp + 0x3c], 1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
push 0
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov byte [esp + 0x3c], 0
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x30
ret

Function at 0x413c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47154b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x20]
call dword [0x476410]
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x24]
call dword [0x476410]
mov byte [esp + 0x14], 3
or eax, 0xffffffff
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], 1
mov dword [esp + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x413cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4714fb
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov byte [esp + 0x1c], 1
lea ebx, [esi + 0x20]
mov ecx, ebx
call dword [0x476410]
mov byte [esp + 0x1c], 2
lea ebp, [esi + 0x24]
mov ecx, ebp
call dword [0x476410]
mov byte [esp + 0x1c], 3
push 0x47d6d8
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x47d6d8
mov ecx, ebp
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x413e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470835
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov ecx, esi
call dword [0x476410]
mov dword [esp + 0x1c], 0
lea edi, [esi + 4]
mov ecx, edi
call dword [0x476410]
mov byte [esp + 0x1c], 1
lea ebp, [esi + 8]
mov ecx, ebp
call dword [0x476410]
mov byte [esp + 0x1c], 2
lea ebx, [esi + 0xc]
mov ecx, ebx
call dword [0x476410]
mov byte [esp + 0x1c], 3
lea ecx, [esi + 0x10]
call dword [0x476410]
mov byte [esp + 0x1c], 4
lea ecx, [esi + 0x14]
call dword [0x476410]
mov byte [esp + 0x1c], 5
push 0x47d6d8
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x47d6d8
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x47d6d8
mov ecx, ebp
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x47d6d8
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x47d6d8
lea ecx, [esi + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x47d6d8
lea ecx, [esi + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 1
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x414000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473704
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0041cdf0
xor edi, edi
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x50]
mov dword [esi], vtable.Console::Manager.0
mov dword [esi + 0x2c], eax
call dword [0x476410]
mov byte [esp + 0x14], 1
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [0x491c30], esi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
Function at 0x41cad0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4712cc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov esi, ecx
mov edi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
cmp ebp, eax
jne 0x41cb12
xor esi, esi
jmp 0x41cb1c
cmp esi, 0xffffffff
jne 0x41cb1c
mov esi, 1
lea ecx, [esp + 0x14]
call dword [0x476410]
mov dword [esp + 0x20], 1
mov ecx, edi
call dword [0x476410]
mov eax, esi
sub eax, 0
mov dword [esp + 0x10], 1
je 0x41cb7b
sub eax, 1
jne 0x41cb9e
push ebp
lea ecx, [esp + 0x30]
call dword [0x4763f4]
mov byte [esp + 0x20], 2
lea esi, [esp + 0x2c]
call fcn.00401a10
push eax
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x20], 1
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x41cb9e
push 0x104
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x41cbc4
dec eax
push eax
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
je 0x41cbc4
push 0x47d53c
mov ecx, edi
call dword [0x476390]
push 0x104
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
mov ecx, dword [edi]
push eax
push 0
push 0x47e4a0
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
mov ecx, edi
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
test esi, esi
je 0x41cc1e
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41cc1e
and eax, 0x10
mov eax, 0
sete al
test eax, eax
je 0x41cc1e
mov esi, dword [edi]
push 0x614
call fcn.00406970
add esp, 4
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8
Function at 0x41f380
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x473367
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
lea ecx, [edi + 8]
mov dword [edi], vtable.MakeSfx.0
call dword [0x476410]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
lea ebp, [edi + 0xc]
mov ecx, ebp
call dword [0x476410]
mov byte [esp + 0x1c], 1
lea ecx, [edi + 0x10]
call dword [0x476410]
mov byte [esp + 0x1c], 2
lea ecx, [edi + 0x14]
call dword [0x476410]
mov byte [esp + 0x1c], 3
lea ecx, [edi + 0x18]
call dword [0x476410]
mov byte [esp + 0x1c], 4
lea ecx, [edi + 0x1c]
call dword [0x476410]
mov byte [esp + 0x1c], 5
lea ecx, [edi + 0x28]
call dword [0x476410]
mov byte [esp + 0x1c], 6
lea ecx, [edi + 0x2c]
call dword [0x476410]
mov byte [esp + 0x1c], 7
lea esi, [edi + 0x38]
call fcn.0042ba80
mov byte [esp + 0x1c], 8
lea esi, [edi + 0xc8]
call fcn.0042ba80
mov byte [esp + 0x1c], 9
lea esi, [edi + 0x158]
call fcn.0042ba80
mov byte [esp + 0x1c], 0xa
push 0x47d6d8
lea ecx, [edi + 0x14]
mov dword [edi + 0x1e8], ebx
mov dword [edi + 0x1ec], ebx
mov dword [edi + 0x1f8], ebx
mov dword [edi + 0x1fc], ebx
mov dword [edi + 0x1f0], ebx
mov dword [edi + 0x1f4], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x47d6d8
mov ecx, ebp
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x47d6d8
lea ecx, [edi + 0x2c]
mov dword [edi + 0x200], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov dword [edi + 0x30], ebx
mov dword [edi + 0x204], ebx
mov dword [esp + 0x1c], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x425480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4745c0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
add ecx, 0xc
push eax
call fcn.00440a50
mov edi, vtable.Common::Helper::FormatInfo.0
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x10]
add ecx, 0xc
push edx
mov dword [esp + 0x30], 0
call fcn.00440a50
mov dword [esp + 0x10], edi
push 2
xor edx, edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.00423940
sub eax, 0
je 0x425500
sub eax, 1
je 0x4254f9
xor esi, esi
jmp 0x425505
mov esi, 1
jmp 0x425505
mov esi, 2
push 2
xor edx, edx
lea ecx, [esp + 0x14]
call fcn.00423940
sub eax, 0
je 0x425527
sub eax, 1
je 0x425520
xor eax, eax
jmp 0x42552c
mov eax, 1
jmp 0x42552c
mov eax, 2
lea ecx, [esp + 0x18]
cmp esi, eax
jne 0x425551
call fcn.00424ab0
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00424ab0
and eax, 0xffffff
and esi, 0xffffff
jmp 0x42559b
push 2
xor edx, edx
call fcn.00423940
sub eax, 0
je 0x42556f
sub eax, 1
je 0x425568
xor esi, esi
jmp 0x425574
mov esi, 1
jmp 0x425574
mov esi, 2
push 2
xor edx, edx
lea ecx, [esp + 0x14]
call fcn.00423940
sub eax, 0
je 0x425596
sub eax, 1
je 0x42558f
xor eax, eax
jmp 0x42559b
mov eax, 1
jmp 0x42559b
mov eax, 2
cmp esi, eax
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x10]
setl bl
mov dword [esp + 0x10], edi
call fcn.004409d0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
call fcn.004409d0
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
Function at 0x4267c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x474ca3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x30]
lea edi, [ebp + ebp + 2]
cmp edi, ebx
mov dword [esp + 0x2c], ebp
jge 0x426871
nop
mov ecx, dword [esp + 0x28]
lea eax, [edi + edi*4]
lea ecx, [ecx + eax*4]
lea eax, [ecx - 0x14]
push eax
call fcn.00425480
test al, al
je 0x426818
dec edi
mov eax, dword [esp + 0x28]
lea edx, [edi + edi*4]
lea ebx, [eax + edx*4]
lea ecx, [ebp + ebp*4]
lea esi, [eax + ecx*4]
push ebx
call fcn.00444320
mov ebx, dword [ebx + 0x10]
add esi, 0xc
test ebx, ebx
je 0x42685d
cmp dword [esi + 4], 0
je 0x426851
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
mov dword [esi + 4], ebx
call eax
mov ebp, edi
lea edi, [edi + edi + 2]
cmp edi, dword [esp + 0x30]
jl 0x426800
mov ebx, dword [esp + 0x30]
xor eax, eax
cmp edi, ebx
jne 0x4268be
mov esi, dword [esp + 0x28]
lea ecx, [ebx + ebx*4]
lea edi, [esi + ecx*4 - 0x14]
lea edx, [ebp + ebp*4]
lea esi, [esi + edx*4]
push edi
call fcn.00444320
mov edi, dword [edi + 0x10]
add esi, 0xc
test edi, edi
je 0x4268b9
cmp dword [esi + 4], 0
je 0x4268ad
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
mov dword [esi + 4], edi
call edx
lea ebp, [ebx - 1]
xor eax, eax
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x28], esi
mov dword [esi], vtable.Common::ModuleObject.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov byte [esp + 0x34], 1
mov dword [esi], vtable.Common::Format::Object.0
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], vtable.Common::Helper::FormatInfo.0
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x38], 2
call fcn.00444320
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x34], 3
mov edx, dword [esp + 0x3c]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x3c], 0
call fcn.00426a20
add esp, 0x1c
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], 0xffffffff
call fcn.00444540
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x428cb4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x490018]
jne 0x428cbe
repz ret
jmp fcn.0042914b

Function at 0x42a990
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
test edx, edx
jbe 0x42a9c2
movzx eax, word [edi]
push ebx
push ebp
jmp 0x42a9a0
movzx ebx, byte [ecx + esi]
movzx ebp, al
shr ax, 8
xor ebx, ebp
xor ax, word [ebx*2 + 0x476a10]
inc ecx
movzx eax, ax
cmp ecx, edx
jb 0x42a9a0
pop ebp
mov word [edi], ax
pop ebx
ret
Function at 0x42a9d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [edx]
not eax
xor ecx, ecx
mov dword [edx], eax
test esi, esi
jbe 0x42aa03
push ebx
push ebp
mov edi, edi
mov eax, dword [edx]
movzx ebx, byte [ecx + edi]
mov ebp, eax
and ebp, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x476610]
inc ecx
mov dword [edx], eax
cmp ecx, esi
jb 0x42a9e0
pop ebp
pop ebx
mov ecx, dword [edx]
not ecx
mov dword [edx], ecx
ret

Function at 0x42b030
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ecx + 0x80]
push esi
test eax, eax
jne 0x42b049
xor edx, edx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
mov ecx, eax
xor eax, eax
xor esi, esi
or eax, ecx
or edx, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42b491
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x42b4a3
pop esi
pop ecx
ret 8
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42b4e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0042b2a0
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8
mov edx, dword [esp + 4]
add dword [esi + 0x88], edx
mov dword [esi + 0x4c], 1
mov eax, edx
adc dword [esi + 0x8c], 0
pop esi
pop ecx
ret 8

Function at 0x42b501
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x42b513
pop esi
pop ecx
ret 8
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42b550
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0042b2a0
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8
mov eax, dword [esp + 4]
test eax, eax
jne 0x42b564
mov dword [esi + 0x4c], 0x1000c00
pop esi
pop ecx
ret 8
add dword [esi + 0x88], eax
mov dword [esi + 0x4c], 1
adc dword [esi + 0x8c], 0
pop esi
pop ecx
ret 8