joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40652d
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x454129
push eax
mov dword fs:[0], esp
sub esp, 0x7c
lea eax, [esp]
push ebx
push esi
mov esi, ecx
push eax
lea ecx, [esi + 0x244]
call fcn.0040a1c0
mov eax, dword [eax + 0x34]
xor ebx, ebx
cmp eax, ebx
jne 0x40654a
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esi + 0x20]
push 5
push ebx
push ebx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x4065ae
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4065a5
cmp al, 0xff
je 0x4065a5
dec al
mov byte [ecx], al
jmp 0x4065ae
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], ebx
cmp eax, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
je 0x4065df
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4065d6
cmp al, 0xff
je 0x4065d6
dec al
mov byte [ecx], al
jmp 0x4065df
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
je 0x406610
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x406607
cmp al, 0xff
je 0x406607
dec al
mov byte [ecx], al
jmp 0x406610
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x406641
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x406638
cmp al, 0xff
je 0x406638
dec al
mov byte [ecx], al
jmp 0x406641
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], ebx
cmp eax, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x406684
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40667b
cmp al, 0xff
je 0x40667b
dec al
pop esi
mov byte [ecx], al
pop ebx
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
add esp, 0x88
ret
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x84]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret
Function at 0x409710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4547bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
xor ebx, ebx
lea esi, [edi + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
push 1
lea ecx, [esi + 0x6c]
mov byte [esp + 0x20], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esi + 0x5c]
mov byte [esp + 0x20], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esi + 0x40]
mov byte [esp + 0x20], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esi + 0x20]
mov byte [esp + 0x20], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x4097b2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4097a9
cmp al, 0xff
je 0x4097a9
dec al
mov byte [ecx], al
jmp 0x4097b2
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4097df
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4097d6
cmp al, 0xff
je 0x4097d6
dec al
mov byte [ecx], al
jmp 0x4097df
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [edi + 4]
push eax
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [eax]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, edi
call fcn.0040d490
mov ecx, dword [edi + 4]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xc]
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x46722c]
dec eax
mov dword [0x46722c], eax
jne 0x409841
mov edx, dword [0x467228]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [0x467228], ebx
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40a380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4548f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call dword [sym.imp.MSVCP60.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_void_]
mov ebx, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
lea ecx, [esp + 0x10]
mov dword [esi + 0x34], eax
call ebx
mov eax, dword [sym.imp.MSVCP60.dll_class_std::locale::_Locimp__std::locale::_Locimp::_Global]
lea ecx, [esp + 0xc]
mov edi, dword [eax]
call ebx
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x40a3cf
inc eax
mov dword [edi + 4], eax
mov edi, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [esp + 0xc]
call edi
lea ecx, [esp + 0x10]
call edi
lea ecx, [esi + 4]
lea edx, [esi + 0x14]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ecx
lea eax, [esi + 8]
lea edx, [esi + 0x24]
lea ecx, [esi + 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
mov dword [eax], 0
mov edx, dword [esi + 0x20]
mov dword [edx], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov ecx, dword [esi + 0xc]
mov dword [ecx], 0
mov edx, dword [esi + 0x1c]
mov dword [edx], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esi], 0x457ab8
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::strstreambuf::_Init_int__char___char___int_]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x411110
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x455219
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x467248]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
jne 0x411167
push 0x34
call sub.MFC42.DLL_operatornew
mov dword [eax + 4], ebx
mov dword [eax + 0x30], 1
mov dword [0x467248], eax
mov dword [eax], ebx
mov eax, dword [0x467248]
add esp, 4
mov dword [eax + 8], ebx
mov edi, dword [0x46724c]
push 0x34
inc edi
mov dword [0x46724c], edi
mov edi, dword [0x467248]
call sub.MFC42.DLL_operatornew
mov dword [eax + 4], edi
mov dword [eax + 0x30], ebx
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esi + 8], esi
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4148d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
push esi
mov esi, dword [esp + 8]
not eax
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
mov edx, eax
dec eax
test edx, edx
je 0x41490f
push ebx
push edi
lea edi, [eax + 1]
mov eax, dword [ecx]
xor ebx, ebx
mov bl, byte [esi]
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x462fac]
xor edx, eax
inc esi
dec edi
mov dword [ecx], edx
jne 0x4148eb
pop edi
pop ebx
mov eax, dword [ecx]
pop esi
not eax
mov dword [ecx], eax
ret 8
Function at 0x414e60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4554e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov al, byte [esp + 0x44]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 8], esi
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov cl, byte [esp + 0x4c]
mov dword [esp + 0x44], ebx
mov byte [esi + 0x10], cl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dl, byte [esp + 0x4c]
mov dword [esi + 0x24], ebx
mov byte [esi + 0x20], dl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x4c], 2
call fcn.00415830
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x414f01
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x414ef8
cmp al, 0xff
je 0x414ef8
dec al
mov byte [ecx], al
jmp 0x414f01
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
cmp eax, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x414f32
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x414f29
cmp al, 0xff
je 0x414f29
dec al
mov byte [ecx], al
jmp 0x414f32
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x415420
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
xor esi, esi
push eax
push 0x104
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x41544e
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ecx
jmp 0x415456
mov dword [esp + 0x10], 0x4633ac
mov ebp, dword [esp + 0x120]
mov dl, byte [esp + 0x17]
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp], dl
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x415488
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x4154b9
mov al, byte [ecx - 1]
test al, al
je 0x4154b9
cmp al, 0xff
je 0x4154b9
cmp ebx, esi
jne 0x4154ea
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
cmp ebx, esi
jne 0x4154d4
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x4154e0
cmp eax, ebx
jae 0x4154f3
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov esi, dword [esp + 0x10]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
pop edi
mov dword [ebp + 8], ebx
pop esi
mov byte [ecx + ebx], 0
pop ebp
pop ebx
add esp, 0x10c
ret

Function at 0x415c20
Capabilities:
Create directory

Disassembly:
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x415c31
mov eax, edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
test edi, edi
je 0x415c64
mov al, byte [edi - 1]
test al, al
je 0x415c5a
cmp al, 0xff
je 0x415c5a
dec al
mov byte [edi - 1], al
mov eax, esi
pop edi
pop esi
ret
dec edi
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
ret
Function at 0x415c70
Capabilities:
Delete file

Disassembly:
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x415c81
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
test edi, edi
je 0x415cb2
mov al, byte [edi - 1]
test al, al
je 0x415ca8
cmp al, 0xff
je 0x415ca8
dec al
mov byte [edi - 1], al
mov eax, esi
pop edi
pop esi
ret
dec edi
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
ret

Function at 0x415cc0
Capabilities:
Move file

Disassembly:
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ebx
mov ebx, dword [esp + 0x1c]
push esi
test ebx, ebx
mov ecx, eax
je 0x415cd3
mov ecx, ebx
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x415cde
mov eax, edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
test edi, edi
je 0x415d0d
mov al, byte [edi - 1]
test al, al
je 0x415d03
cmp al, 0xff
je 0x415d03
dec al
mov byte [edi - 1], al
jmp 0x415d0d
dec edi
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
test ebx, ebx
pop edi
je 0x415d31
mov al, byte [ebx - 1]
test al, al
je 0x415d27
cmp al, 0xff
je 0x415d27
dec al
mov byte [ebx - 1], al
mov eax, esi
pop esi
pop ebx
ret
dec ebx
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop esi
pop ebx
ret
Function at 0x416e00
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4555a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, eax
mov eax, dword [0x46341c]
xor ebx, ebx
mov dword [esp + 0x14], eax
xor esi, esi
mov edx, edi
mov ecx, esi
sar edx, cl
test dl, 1
je 0x416e4e
lea eax, [esp + 0x14]
push eax
call ebp
cmp eax, 5
je 0x416e71
mov dl, byte [esp + 0x14]
inc dl
inc esi
cmp esi, 0x1a
mov byte [esp + 0x14], dl
jl 0x416e37
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov cl, byte [esp + 0x13]
lea edi, [esp + 0x14]
mov byte [esp + 0x18], cl
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ebx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x416ec9
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebx
push ecx
call fcn.00416ce0
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, ebx
je 0x416f10
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x416f07
cmp al, 0xff
je 0x416f07
pop edi
dec al
pop esi
pop ebp
mov byte [ecx], al
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x418240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455799
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
sub esp, 0x30
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00414e60
lea ecx, [esp + 0x44]
push ecx
call fcn.00417b70
add esp, 0x34
lea ebp, [esi + 0xc]
xor ebx, ebx
push eax
mov ecx, ebp
mov dword [esp + 0x30], ebx
call fcn.0041ad20
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x2c], 0xffffffff
je 0x4182be
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4182b5
cmp al, 0xff
je 0x4182b5
dec al
mov byte [ecx], al
jmp 0x4182be
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp edi, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x4182d9
mov ecx, esi
call fcn.00419ce0
mov eax, edi
jmp 0x41833e
mov ecx, ebp
mov dword [esi + 0x1c], ebx
call fcn.0041ad80
mov cl, byte [esi + 0x2c]
mov dword [esi + 0x30], eax
cmp cl, bl
mov dword [esi + 0x28], ebx
mov byte [esi + 0x20], 1
je 0x418324
push eax
call sub.MFC42.DLL_operatornew
mov edx, dword [esi + 0x30]
add esp, 4
mov ecx, esi
mov dword [esi + 8], eax
push edx
push eax
call fcn.00419c10
mov edi, eax
cmp edi, ebx
je 0x41831d
mov ecx, esi
call fcn.00419ce0
mov eax, edi
jmp 0x41833e
mov ecx, ebp
call fcn.0041aec0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, eax
cmp edi, ebx
je 0x41833c
mov ecx, esi
call fcn.00419ce0
mov eax, edi
jmp 0x41833e
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x41adc0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x41ae11
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
lea edx, [esp + 8]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ae11
cmp dword [esp + 8], edi
jne 0x41ae11
mov eax, dword [esi + 0xc]
add eax, edi
pop edi
mov dword [esi + 0xc], eax
xor eax, eax
pop esi
pop ecx
ret 8
pop edi
mov eax, 1
pop esi
pop ecx
ret 8

Function at 0x41ae20
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x41ae71
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
lea edx, [esp + 8]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41ae71
cmp dword [esp + 8], edi
jne 0x41ae71
mov eax, dword [esi + 0xc]
add eax, edi
pop edi
mov dword [esi + 0xc], eax
xor eax, eax
pop esi
pop ecx
ret 8
pop edi
mov eax, 1
pop esi
pop ecx
ret 8
Function at 0x424160
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x12
mov esi, 0x458014
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x48]
mov ecx, 0x400
mov esi, 0x45805c
mov dword [esp + 0x18], ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x10], 0x12
xor ecx, ecx
lea eax, [edx + 1]
mov cl, byte [edx + edi]
add ebx, 4
cdq
idiv esi
xor eax, eax
shl ecx, 8
mov ebp, edx
mov al, byte [edi + ebp]
mov dword [esp + 0x24], eax
lea eax, [ebp + 1]
cdq
idiv esi
mov ebp, edx
xor edx, edx
mov dl, byte [edi + ebp]
lea eax, [ebp + 1]
mov dword [esp + 0x20], edx
cdq
idiv esi
xor eax, eax
mov ebp, edx
mov al, byte [edi + ebp]
mov dword [esp + 0x14], eax
lea eax, [ebp + 1]
cdq
idiv esi
mov eax, dword [esp + 0x24]
mov ebp, dword [ebx - 4]
or ecx, eax
mov eax, dword [esp + 0x20]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x10]
xor ebp, ecx
dec eax
mov dword [ebx - 4], ebp
mov dword [esp + 0x10], eax
jne 0x42419c
mov ebx, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov esi, ebx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebx
call fcn.004242a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esi], eax
add esi, 4
inc edi
mov dword [esi], ecx
inc edi
add esi, 4
cmp edi, 0x12
jl 0x42421b
lea eax, [ebx + 0x48]
mov dword [esp + 0x10], 4
mov ebp, eax
xor edi, edi
mov esi, ebp
lea edx, [esp + 0x20]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebx
call fcn.004242a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esi], ecx
add esi, 4
inc edi
mov dword [esi], edx
inc edi
add esi, 4
cmp edi, 0x100
jl 0x424256
mov eax, dword [esp + 0x10]
add ebp, 0x400
dec eax
mov dword [esp + 0x10], eax
jne 0x424252
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x426c1e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x456499
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
mov cl, byte [eax]
xor ebx, ebx
mov byte [esi], cl
mov al, byte [edx]
push edi
lea ecx, [esp + 0x20]
mov byte [esi + 1], al
mov byte [esi + 8], bl
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x467d20]
mov dword [esp + 0x14], ebx
cmp eax, ebx
jne 0x426c6b
push 0x34
call sub.MFC42.DLL_operatornew
mov dword [eax + 4], ebx
mov dword [eax + 0x30], 1
mov dword [0x467d20], eax
mov dword [eax], ebx
mov ecx, dword [0x467d20]
add esp, 4
mov dword [ecx + 8], ebx
mov edi, dword [0x467d24]
push 0x34
inc edi
mov dword [0x467d24], edi
mov edi, dword [0x467d20]
call sub.MFC42.DLL_operatornew
mov dword [eax + 4], edi
mov dword [eax + 0x30], ebx
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [eax], eax
mov eax, dword [esi + 4]
add esp, 4
lea ecx, [esp + 0x20]
mov dword [eax + 8], eax
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8