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

Disassembly:
push 0xffffffffffffffff
push 0x4772ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x3c]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0
call dword [0x47e138]
lea ecx, [esp + 0xc]
push ecx
push 0x487940
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Tokenize]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0x47f7ba
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x4385da
push 0x48793c
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Trim]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
push eax
call dword [0x47e5e4]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 4]
mov ecx, dword [ecx - 0xc]
mov eax, dword [edx - 0xc]
sub eax, ecx
dec eax
push eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
push 0x48793c
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Trim]
push 0x48793c
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Trim]
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
call dword [0x47e5e4]
mov edx, dword [esp + 8]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0x48]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x40], 4
call fcn.00438360
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x38], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc

Function at 0x439300
Capabilities:
Hash data using sha256

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
ret
Function at 0x43c8c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x204
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x47f7a4
push ebx
mov esi, ecx
call dword [sym.imp.MSVCR71.dll_fopen]
add esp, 8
test eax, eax
mov dword [esi + 0x5ac], eax
je 0x43ca30
mov edi, dword [sym.imp.MSVCR71.dll_fseek]
push 2
push 0
push eax
call edi
mov eax, dword [esi + 0x5ac]
push eax
call dword [sym.imp.MSVCR71.dll_ftell]
mov ecx, dword [esi + 0x5ac]
push 0
push 0
push ecx
mov dword [esi + 0x5a0], eax
call edi
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x18], edx
lea eax, [esi + 0x20]
mov edx, ebx
add esp, 0x1c
mov edi, 0x104
sub edx, eax
mov cl, byte [edx + eax]
test cl, cl
je 0x43c942
mov byte [eax], cl
inc eax
dec edi
jne 0x43c933
jmp 0x43c946
test edi, edi
jne 0x43c947
dec eax
mov byte [eax], 0
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x110], 0
mov ecx, 0x3f
lea edi, [esp + 0x111]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push ebx
call dword [sym.imp.MSVCR71.dll__splitpath]
lea edx, [esp + 0x24]
push str.param
push edx
call dword [sym.imp.MSVCR71.dll__stricmp]
mov eax, dword [esi + 0x18]
add esp, 0x1c
test eax, eax
je 0x43ca0e
mov eax, dword [esi + 0x5ac]
push eax
push 1
lea ecx, [esp + 0x14]
push 4
push ecx
call dword [sym.imp.MSVCR71.dll_fread]
mov eax, dword [esp + 0x1c]
add esp, 0x10
test eax, eax
jle 0x43ca1c
cmp eax, 4
jg 0x43ca1c
mov edx, eax
imul edx, edx, 0x1c
lea ecx, [edx + 0xe38154]
mov dword [esi + 0x1c], eax
cmp dword [ecx + 0x18], 0x10
jb 0x43c9eb
mov ecx, dword [ecx + 4]
jmp 0x43c9ee
add ecx, 4
mov eax, dword [eax*4 + 0x48745c]
push 0
push 0
push 0x10
push eax
push 0x487440
push eax
push ecx
lea ecx, [esi + 0x124]
call fcn.00431790
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x5ac]
push 0
push 0
push eax
call dword [sym.imp.MSVCR71.dll_fseek]
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43d6a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477569
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x30]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
mov edi, eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov ecx, dword [sym.imp.MSVCR71.dll_tolower]
mov edx, dword [esi]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004300a0
add esp, 0x14
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x1678b44
call fcn.00413e50
cmp eax, dword [0x1678b48]
mov dword [esp + 0xc], eax
je 0x43d74a
add eax, 0xc
push eax
lea edx, [esp + 0x30]
push edx
call dword [0x47e608]
add esp, 8
test al, al
jne 0x43d74a
lea eax, [esp + 0xc]
jmp 0x43d757
mov eax, dword [0x1678b48]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov eax, dword [eax]
cmp eax, dword [0x1678b48]
jne 0x43d789
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c
mov ecx, dword [ebx + 4]
add eax, 0x28
push eax
push ecx
call fcn.00463e00
test eax, eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
jne 0x43d76d
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c
Function at 0x43e700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x477f9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], 3
call fcn.0043e610
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
lea edi, [esi + 0x2c]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.004381e0
mov eax, dword [edi + 4]
push eax
call sub.MFC71.DLL_operator_delete_1
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x20]
add esp, 4
cmp eax, ebx
je 0x43e77b
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov ecx, esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x441d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478934
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
or eax, 0xffffffff
push edi
xor edi, edi
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esp + 8], esi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], edi
mov dword [esi], 0x4898d8
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x10], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x441d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
or eax, 0xffffffff
xor ebp, ebp
mov dword [esi + 8], eax
mov dword [esi + 4], eax
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0xc], ebp
lea edi, [esi + 0x14]
mov ecx, edi
mov dword [esp + 0x1c], ebp
mov dword [esi], 0x4898d8
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ebx, [esi + 0x30]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [esp + 0x24]
push eax
mov ecx, edi
mov byte [esp + 0x20], 2
call dword [0x47e5e4]
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, ebx
call dword [0x47e5e4]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x4c], ebp
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x442580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4789f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 8]
lea esi, [edi + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp dword [esi + 0x18], 0x10
jb 0x4425ce
mov esi, dword [esi + 4]
jmp 0x4425d1
add esi, 4
push 0x47f7a4
push esi
call dword [sym.imp.MSVCR71.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
mov ecx, edi
je 0x442628
mov edx, dword [esp + 0x38]
push ebx
push edx
push esi
call fcn.004410e0
push esi
mov bl, al
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push 0
push 0
push 0
push 2
call fcn.00443640
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
pop edi
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x447fb0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
xor esi, esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44801d
call dword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.00447f40
mov edi, eax
test edi, edi
jne 0x447fdf
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
xor eax, eax
pop esi
ret
mov ecx, dword [0x4c9d78]
push edi
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, eax
test esi, esi
jne 0x448017
push 0x48a8d8
call fcn.00447e60
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp edi, 0xffffffff
je 0x448012
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
xor eax, eax
pop esi
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, esi
pop esi
ret

Function at 0x45d0dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x45d123
cmp edx, 0x10
jl 0x45d10f
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x45d0fc
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x45d123
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x45d11b
and edx, 3
cmp edx, 3
jne 0x45d137
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x45d13c
cmp edx, 2
jne 0x45d148
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x45d14d
cmp edx, 1
jne 0x45d153
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x462cd2
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4a2e38
call fcn.004631e0
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x462d12
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x462d12
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x462d2a
cmp eax, 0x20b
je 0x462d17
mov dword [ebp - 0x1c], ebx
jmp 0x462d3e
cmp dword [ecx + 0x84], 0xe
jbe 0x462d12
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x462d38
cmp dword [ecx + 0x74], 0xe
jbe 0x462d12
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x203e25c], 0xffffffff
or dword [0x203e260], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x203c9c0]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x203c9bc]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x203e258], eax
call fcn.004632e4
call fcn.00463384
cmp dword [0x4ca040], ebx
jne 0x462d9e
push fcn.00463384
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00463372
push 0x4ab4f0
push 0x4ab4ec
call sub.MSVCR71.dll__initterm
push 0x463328
call fcn.004629e6
mov eax, dword [0x203c9b8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x203c9b4]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x462df2
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x4ab4e8
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x462e70
cmp al, bl
je 0x462e1c
cmp dword [ebp - 0x20], ebx
jne 0x462e70
mov al, byte [esi]
cmp al, bl
je 0x462e2c
cmp al, 0x20
ja 0x462e2c
inc esi
mov dword [ebp - 0x24], esi
jmp 0x462e1c
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x462e48
movzx eax, word [ebp - 0x54]
jmp 0x462e4b
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00474e60
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x462e68
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x462ec5
cmp al, 0x22
jne 0x462e7f
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x462e92
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x462e0a
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0046321b
ret
Function at 0x464110
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [edx]
push edi
mov edi, dword [esp + 0x14]
mov ecx, esi
xor ecx, eax
and ecx, 0xff
shr esi, 8
mov ecx, dword [edi + ecx*4]
xor ecx, esi
mov esi, dword [edx + 4]
mov dword [edx], ecx
and ecx, 0xff
add ecx, esi
mov esi, dword [edx + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov ebx, esi
mov dword [edx + 4], ecx
and ebx, 0xff
shr ecx, 0x18
xor ecx, ebx
shr esi, 8
mov ecx, dword [edi + ecx*4]
pop edi
xor ecx, esi
pop esi
mov dword [edx + 8], ecx
pop ebx
ret
Function at 0x4659f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x4659ff
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x4ca0cc]
test eax, eax
je 0x465a0d
call fcn.00465990
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x465b0f
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x203c9c4]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x203c9c4]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x203c9c4]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x203c9c4]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x203c9c4]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x203c9c4]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x203c9c4]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x203c9c4]
xor eax, ecx
inc esi
dec edi
jne 0x465a27
pop edi
test edx, edx
je 0x465b31
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x203c9c4]
xor eax, ecx
inc esi
dec edx
jne 0x465b13
pop ebx
pop esi
not eax
ret 0xc
Function at 0xa0b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xa0b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa0b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa0b06a
add dl, dl
jne 0xa0b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa0b0dc
xor eax, eax
add dl, dl
jne 0xa0b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa0b17d
add dl, dl
jne 0xa0b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa0b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa0b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa0b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa0b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa0b075
mov eax, 1
add dl, dl
jne 0xa0b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa0b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa0b0e1
sub eax, ebx
mov ebx, 1
jne 0xa0b128
mov ecx, 1
add dl, dl
jne 0xa0b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa0b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa0b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa0b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa0b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa0b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa0b136
cmp eax, 0x7d00
jae 0xa0b16d
cmp eax, 0x500
jb 0xa0b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa0b075
cmp eax, 0x7f
ja 0xa0b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa0b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa0b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa0b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10