joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ea328
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x28]
mov esi, ecx
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x14]
lea ebp, [esi + 4]
push 0xffffffffffffffff
mov ecx, ebp
mov dword [esp + 0x18], ebp
call edx
mov dword [esp + 0x20], 0
mov dword [ebx + 4], esi
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x30]
lea edi, [esi + 0x24]
sar eax, 2
mov dword [ebx + 0x38], eax
lea ebx, [esp + 0x28]
call fcn.100ae340
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 0xc]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, ebp
sar esi, 2
call edx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x1001f4b0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push edi
xor ebx, ebx
lea eax, [esi + 0x140]
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
push eax
call ebp
lea ecx, [esi + 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
mov dword [esi + 0x100], 2
call eax
mov edi, eax
cmp edi, ebx
je 0x1001f50e
mov dword [esi + 0x100], ebx
mov dword [esi + 0x100], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop ebp
pop ebx
ret
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
lea ecx, [esi + 0x148]
push ecx
mov edi, eax
call ebp
lea edx, [esi + 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, edi
pop edi
mov dword [esi + 0x100], ebx
pop ebp
mov dword [esi + 0x100], ebx
pop ebx
ret
Function at 0x100209f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100eac88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x14]
lea edi, [esi + 4]
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x14], edi
call edx
mov eax, dword [esi + 0x140]
or eax, dword [esi + 0x144]
jne 0x10020a64
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, eax
or edx, ecx
jne 0x10020a85
lea eax, [esp + 0x14]
push eax
call edi
jmp 0x10020a8d
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [esi + 0x124]
test edx, edx
je 0x10020aff
lea eax, [esp + 0x24]
push eax
call edi
mov edi, dword [esi + 0x158]
sub edi, dword [esi + 0x150]
mov eax, dword [esi + 0x15c]
sbb eax, dword [esi + 0x154]
sub edi, dword [esi + 0x140]
mov ecx, dword [esp + 0x20]
sbb eax, dword [esi + 0x144]
sub edi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sbb eax, dword [esp + 0x28]
add edi, dword [esp + 0x14]
push 0
adc eax, dword [esp + 0x1c]
push 0x3e8
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.100e90d0
push edx
push eax
mov eax, dword [esp + 0x14]
jmp 0x10020b3f
mov edi, dword [esp + 0x14]
sub edi, dword [esi + 0x150]
mov eax, dword [esp + 0x18]
sbb eax, dword [esi + 0x154]
sub edi, dword [esi + 0x140]
mov ecx, dword [esp + 0x20]
sbb eax, dword [esi + 0x144]
mov edx, dword [esp + 0x1c]
push 0
push 0x3e8
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.100e90d0
push edx
push eax
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.100e90d0
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x10]
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10022810
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x100f1ed2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
xor edi, edi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0xfde9
lea ecx, [esp + 0x30]
lea esi, [esp + 0x1c]
mov dword [esp + 0x28], edi
call fcn.10021fb0
push edi
push 6
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 1
mov eax, dword [eax]
push ecx
push eax
call fcn.100a33c0
add esp, 0x14
test eax, eax
mov ecx, esi
sete bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test bl, bl
je 0x100228cd
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x14]
push eax
push 0x100228f0
push str.SELECT__FROM_Info_WHERE_nameversion_
push esi
mov dword [esp + 0x40], edi
call fcn.100825d0
push edi
mov eax, esi
call fcn.100a1960
add esp, 0x18
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
Function at 0x10022a00
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x100f26d2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
xor ebx, ebx
call edi
test eax, eax
je 0x10022a44
push esi
call fcn.10022810
cmp eax, 1
jge 0x10022af8
push esi
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_class]
push str..new
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push esi
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push str..old
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [esp + 0x10]
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10022a99
mov ecx, dword [esp + 0x10]
push ecx
call ebp
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.10022cb0
test eax, eax
je 0x10022ae4
mov edx, dword [esp + 0x14]
push edx
call edi
test eax, eax
je 0x10022aba
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push ecx
push esi
call edi
test eax, eax
je 0x10022ae4
mov edx, dword [esp + 0x10]
push esi
push edx
call edi
test eax, eax
je 0x10022ae4
mov eax, dword [esp + 0x10]
push eax
mov ebx, 1
call ebp
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]
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 eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x100230a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100f25f2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
push esi
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 esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100230e8
push esi
call fcn.100225e0
test eax, eax
jne 0x100230ee
push esi
call fcn.100226d0
push esi
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_class]
push 0xfde9
lea ecx, [esp + 0x14]
lea esi, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.10021fb0
push 0
push 6
mov byte [esp + 0x2c], 1
mov eax, dword [eax]
add edi, 8
push edi
push eax
call fcn.100a33c0
add esp, 0x14
test eax, eax
mov ecx, esi
sete bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
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]
xor eax, eax
test bl, bl
setne al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x10023200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f1e71
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call dword [0x100f379c]
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
push str.select__from_hash_where_hash_s
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Format]
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
call dword [0x100f3754]
lea ecx, [esp + 0x10]
call dword [0x100f379c]
xor eax, eax
mov byte [esp + 0x30], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
test esi, esi
jne 0x10023285
lea esi, [esp + 0xc]
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_char_1_::Empty]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [ecx + 8]
push esi
push 0x100233b0
push eax
push edx
call fcn.100825d0
mov eax, dword [esi]
mov esi, dword [eax - 0xc]
add esp, 0x14
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
xor eax, eax
test esi, esi
setne al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8
Function at 0x100241e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f1e38
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [0x100f3984]
lea ecx, [esp + 0x1c]
call dword [0x100f3984]
lea ecx, [esp + 0x20]
call dword [0x100f3984]
lea ecx, [esp + 0x24]
call dword [0x100f3984]
push 0x30
lea eax, [esp + 0x30]
push esi
push eax
mov dword [esp + 0x74], esi
call sub.MSVCR90.dll_memset
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add esp, 0xc
lea eax, [esp + 8]
push eax
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x60], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push 0x10024330
push str.select__from_Quarantine_order_by_add_time_desc
push eax
call fcn.100825d0
add esp, 0x14
lea ecx, [esp + 0x24]
test eax, eax
jne 0x100242c7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [esi + 1]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10026940
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x1011f07c]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov dword [esp + 0xc], eax
push edi
add eax, 4
lea ecx, [esp + 0x15]
mov esi, 4
lea ebx, [ebx]
movzx edx, byte [eax - 4]
mov byte [ecx - 1], dl
movzx edx, byte [eax]
mov byte [ecx], dl
movzx edx, byte [eax + 4]
mov byte [ecx + 1], dl
movzx edx, byte [eax + 8]
mov byte [ecx + 2], dl
inc eax
add ecx, 4
sub esi, 1
jne 0x10026970
lea ecx, [esp + 0x18]
lea esi, [esp + 0x14]
mov edi, ecx
sub esi, ebp
lea eax, [ebp + 8]
sub edi, ebp
mov edx, 4
lea esp, [esp]
movzx ebx, byte [eax - 4]
xor byte [ecx - 4], bl
movzx ebx, byte [eax]
xor byte [ecx], bl
movzx ebx, byte [eax + 4]
xor byte [esi + eax], bl
movzx ebx, byte [eax + 8]
xor byte [edi + eax], bl
inc eax
inc ecx
sub edx, 1
jne 0x100269b0
lea ebx, [edx + 1]
lea esi, [ebp + 0x18]
lea eax, [esp + 0x14]
call fcn.10026dd0
lea edi, [esp + 0x14]
call fcn.10026e20
cmp ebx, 0xa
je 0x100269f6
mov eax, edi
push eax
call fcn.10026ec0
xor eax, eax
jmp 0x10026a00
movzx ecx, byte [esi + eax - 4]
movzx edx, byte [esi + eax]
xor byte [esp + eax + 0x14], cl
xor byte [esp + eax + 0x18], dl
movzx ecx, byte [esi + eax + 4]
movzx edx, byte [esi + eax + 8]
xor byte [esp + eax + 0x1c], cl
xor byte [esp + eax + 0x20], dl
inc eax
cmp eax, 4
jl 0x10026a00
inc ebx
add esi, 0x10
cmp ebx, 0xa
jle 0x100269d7
mov edi, dword [esp + 0x10]
lea eax, [edi + 4]
lea ecx, [esp + 0x15]
mov esi, 4
movzx edx, byte [ecx - 1]
mov byte [eax - 4], dl
movzx edx, byte [ecx]
mov byte [eax], dl
movzx edx, byte [ecx + 1]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 2]
mov byte [eax + 8], dl
inc eax
add ecx, 4
sub esi, 1
jne 0x10026a42
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e78b2
add esp, 0x18
ret 8
Function at 0x10026a80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x1011f07c]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov dword [esp + 0xc], ebp
push edi
add ebp, 4
mov edi, ecx
mov eax, ebp
lea ecx, [esp + 0x15]
mov esi, 4
lea ebx, [ebx]
movzx edx, byte [eax - 4]
mov byte [ecx - 1], dl
movzx edx, byte [eax]
mov byte [ecx], dl
movzx edx, byte [eax + 4]
mov byte [ecx + 1], dl
movzx edx, byte [eax + 8]
mov byte [ecx + 2], dl
inc eax
add ecx, 4
sub esi, 1
jne 0x10026ab0
lea eax, [esp + 0x18]
lea ecx, [edi + 0xa8]
mov esi, 4
movzx edx, byte [ecx - 4]
xor byte [eax - 4], dl
movzx edx, byte [ecx]
xor byte [eax], dl
movzx edx, byte [ecx + 4]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 8]
xor byte [eax + 8], dl
inc ecx
inc eax
sub esi, 1
jne 0x10026ae2
lea ebx, [esi + 9]
lea esi, [edi + 0x98]
lea esp, [esp]
lea edi, [esp + 0x14]
call fcn.10027050
mov eax, edi
call fcn.10027000
xor eax, eax
movzx ecx, byte [esi + eax - 4]
movzx edx, byte [esi + eax]
xor byte [esp + eax + 0x14], cl
xor byte [esp + eax + 0x18], dl
movzx ecx, byte [esi + eax + 4]
movzx edx, byte [esi + eax + 8]
xor byte [esp + eax + 0x1c], cl
xor byte [esp + eax + 0x20], dl
inc eax
cmp eax, 4
jl 0x10026b22
test ebx, ebx
je 0x10026b59
lea eax, [esp + 0x14]
push eax
call fcn.100270e0
dec ebx
sub esi, 0x10
test ebx, ebx
jge 0x10026b10
mov eax, ebp
lea ecx, [esp + 0x15]
mov esi, 4
lea esp, [esp]
movzx edx, byte [ecx - 1]
mov byte [eax - 4], dl
movzx edx, byte [ecx]
mov byte [eax], dl
movzx edx, byte [ecx + 1]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 2]
mov byte [eax + 8], dl
inc eax
add ecx, 4
sub esi, 1
jne 0x10026b70
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e78b2
add esp, 0x18
ret 4
Function at 0x10026c34
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x18
mov eax, dword [0x1011f07c]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esp + 0x18], 1
mov byte [esp + 0x19], 2
mov byte [esp + 0x1a], 4
mov byte [esp + 0x1b], 8
mov byte [esp + 0x1c], 0x10
mov byte [esp + 0x1d], 0x20
mov byte [esp + 0x1e], 0x40
mov byte [esp + 0x1f], 0x80
mov byte [esp + 0x20], 0x1b
mov byte [esp + 0x21], 0x36
add eax, 4
lea ecx, [esi + 2]
mov edi, 4
movzx edx, byte [eax - 4]
mov byte [ecx - 2], dl
movzx edx, byte [eax]
mov byte [ecx - 1], dl
movzx edx, byte [eax + 4]
mov byte [ecx], dl
movzx edx, byte [eax + 8]
mov byte [ecx + 1], dl
inc eax
add ecx, 4
sub edi, 1
jne 0x10026c75
lea ebp, [esp + 0x18]
add esi, 4
mov edi, 1
dec ebp
xor eax, eax
test eax, eax
je 0x10026cb1
mov cl, byte [esi + eax + 0xb]
jmp 0x10026cb4
mov cl, byte [esi - 1]
test eax, eax
je 0x10026cbe
mov dl, byte [esi + eax + 0xf]
jmp 0x10026cc1
mov dl, byte [esi + 3]
mov byte [esp + 0x15], dl
test eax, eax
je 0x10026ccf
mov dl, byte [esi + eax + 0x13]
jmp 0x10026cd2
mov dl, byte [esi + 7]
mov bl, dl
mov byte [esp + 0x16], bl
test eax, eax
je 0x10026ce2
mov dl, byte [esi + eax + 0x17]
jmp 0x10026ce5
mov dl, byte [esi + 0xb]
test eax, eax
jne 0x10026d21
movzx edx, dl
movzx edx, byte [edx + str.cw]
mov byte [esp + 0x13], cl
movzx ecx, byte [esp + 0x15]
mov cl, byte [ecx + str.cw]
xor cl, byte [edi + ebp]
movzx ebx, bl
mov bl, byte [ebx + str.cw]
mov byte [esp + 0x16], dl
movzx edx, byte [esp + 0x13]
mov dl, byte [edx + str.cw]
mov byte [esp + 0x15], bl
mov bl, byte [esi + eax - 4]
xor bl, cl
movzx ecx, byte [esi + eax]
xor cl, byte [esp + 0x15]
mov byte [esi + eax + 0xc], bl
mov byte [esi + eax + 0x10], cl
movzx ecx, byte [esi + eax + 4]
xor cl, byte [esp + 0x16]
inc eax
mov byte [esi + eax + 0x13], cl
movzx ecx, byte [esi + eax + 7]
xor cl, dl
cmp eax, 4
mov byte [esi + eax + 0x17], cl
jl 0x10026ca7
inc edi
add esi, 0x10
cmp edi, 0xa
jle 0x10026ca5
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e78b2
add esp, 0x18
ret 4

Function at 0x10026dd0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
add eax, 2
mov ecx, 4
jmp 0x10026de0
movzx edx, byte [eax - 2]
movzx edx, byte [edx + str.cw]
mov byte [eax - 2], dl
movzx edx, byte [eax - 1]
movzx edx, byte [edx + str.cw]
mov byte [eax - 1], dl
movzx edx, byte [eax]
movzx edx, byte [edx + str.cw]
mov byte [eax], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + str.cw]
mov byte [eax + 1], dl
add eax, 4
sub ecx, 1
jne 0x10026de0
ret

Function at 0x10027000
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
add eax, 2
mov ecx, 4
jmp 0x10027010
movzx edx, byte [eax - 2]
movzx edx, byte [edx + 0x10120ce8]
mov byte [eax - 2], dl
movzx edx, byte [eax - 1]
movzx edx, byte [edx + 0x10120ce8]
mov byte [eax - 1], dl
movzx edx, byte [eax]
movzx edx, byte [edx + 0x10120ce8]
mov byte [eax], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + 0x10120ce8]
mov byte [eax + 1], dl
add eax, 4
sub ecx, 1
jne 0x10027010
ret
Function at 0x10028760
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x10028771
mov ebx, dword [edi + 0x1c]
push 0
push 0x18
push 0
push 0
lea esi, [edi + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov eax, dword [esi]
add edi, 0x10
push edi
push 0
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebx
ret 4

Function at 0x10028a30
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0xc], 0x67452301
mov dword [ecx + 0x10], 0xefcdab89
mov dword [ecx + 0x14], 0x98badcfe
mov dword [ecx + 0x18], 0x10325476
mov eax, 1
ret 4

Function at 0x1002a780
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
cmp byte [edi + 4], 0
push esi
mov esi, ecx
jne 0x1002a7aa
push 0x10120bcc
lea ecx, [esp + 8]
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x101115cc
lea eax, [esp + 8]
push eax
call sub.MSVCR90.dll__CxxThrowException
xor ecx, ecx
cmp dword [edi + 0x3cc], ecx
jle 0x1002a7c3
mov dl, byte [esi]
xor byte [eax], dl
inc ecx
inc esi
inc eax
cmp ecx, dword [edi + 0x3cc]
jl 0x1002a7b4
pop esi
add esp, 0xc
ret
Function at 0x1002e7e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x1002e7e7
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x1002e8c4
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100fdcb0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x100fdcb0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x100fdcb0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100fdcb0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100fdcb0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100fdcb0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100fdcb0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100fdcb0]
inc ecx
sub edx, 8
sub esi, 1
jne 0x1002e800
pop edi
test edx, edx
je 0x1002e8eb
jmp 0x1002e8d0
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x100fdcb0]
inc ecx
sub edx, 1
jne 0x1002e8d0
not eax
pop esi
ret

Function at 0x1002f180
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ebx
imul esi, dword [esp + 8]
cmp byte [edi], 0
je 0x1002f1b2
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1002f1a8
mov byte [edi + 8], 1
mov eax, dword [esp + 8]
xor edx, edx
div ebx
pop esi
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x1002f1c5
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
push esi
add eax, ecx
push eax
push edx
call sub.MSVCR90.dll_memcpy
add dword [edi + 0x18], esi
mov eax, esi
add esp, 0xc
xor edx, edx
div ebx
pop esi
ret