joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029a6
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1002ea0
call fcn.01002bc4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1004370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x10027bb
cmp eax, esi
jne 0x10027ae
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x10027be
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002795
xor esi, esi
inc esi
mov eax, dword [0x100436c]
cmp eax, esi
jne 0x10027d1
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100280c
mov eax, dword [0x100436c]
test eax, eax
jne 0x1002806
mov dword [0x100436c], esi
push 0x100119c
push 0x1001190
call fcn.01002712
pop ecx
pop ecx
test eax, eax
je 0x100280c
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x10028d6
mov dword [0x1004034], esi
mov eax, dword [0x100436c]
cmp eax, esi
jne 0x1002830
push 0x100118c
push 0x1001184
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100436c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x100283d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1004374], ebx
je 0x100285e
push 0x1004374
call fcn.01002b39
pop ecx
test eax, eax
je 0x100285e
push ebx
push 2
push ebx
call dword [0x1004374]
push dword [0x100401c]
push dword [0x1004020]
push dword [0x1004018]
call fcn.0100134b
add esp, 0xc
mov dword [0x1004030], eax
cmp dword [0x1004024], ebx
jne 0x10028bc
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1004034], ebx
jne 0x10028ca
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004030]
call fcn.01002c09
ret
call fcn.01002ce7
jmp 0x1002773
Function at 0x10004867
Capabilities:
Read .ini file

Disassembly:
push 0x830
mov eax, 0x1001f9de
call fcn.1001e769
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x838], ebx
sub esp, 0x1c
mov dword [ebp - 4], 3
lea eax, [ebp + 0x48]
mov ecx, esp
mov dword [ebp - 0x830], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.Utility.dll_public:_static_class_util::AutoPtr_wchar_t____cdecl_util::StringHelper::ANSIToUnicode_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___]
add esp, 0x20
mov byte [ebp - 4], 4
push dword [eax]
lea ecx, [ebp - 0x82c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 6
push dword [ebp - 0x834]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
mov dword [ebp - 0x834], ebx
mov dword [ebp - 0x830], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 8
pop eax
cmp dword [esi + 0x1c], eax
jb 0x1000490f
mov esi, dword [esi + 8]
jmp 0x10004912
add esi, 8
mov edx, dword [ebp - 0x828]
cmp dword [ebp - 0x814], eax
jae 0x10004926
lea edx, [ebp - 0x828]
mov ecx, dword [ebp + 0x30]
cmp dword [ebp + 0x44], eax
jae 0x10004931
lea ecx, [ebp + 0x30]
cmp dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x14]
jae 0x1000493c
lea eax, [ebp + 0x14]
push esi
push 0x400
lea esi, [ebp - 0x810]
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, esi
push eax
push edi
call dword [sym.imp.Utility.dll_public:_static_class_util::AutoPtr_char____cdecl_util::StringHelper::UnicodeToANSI_wchar_t_const__]
pop ecx
pop ecx
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x838], 1
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
call fcn.1001e7ec
ret 0x5c
Function at 0x100049a8
Capabilities:
Read .ini file

Disassembly:
push 0x80c
mov eax, 0x10020722
call fcn.1001e769
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x814], ebx
xor eax, eax
mov dword [ebp - 4], 2
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 8
pop eax
cmp dword [edi + 0x1c], eax
jb 0x100049fd
mov edi, dword [edi + 8]
jmp 0x10004a00
add edi, 8
mov edx, dword [ebp + 0x4c]
cmp dword [ebp + 0x60], eax
jae 0x10004a0b
lea edx, [ebp + 0x4c]
mov ecx, dword [ebp + 0x30]
cmp dword [ebp + 0x44], eax
jae 0x10004a16
lea ecx, [ebp + 0x30]
cmp dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x14]
jae 0x10004a21
lea eax, [ebp + 0x14]
push edi
push 0x400
lea edi, [ebp - 0x810]
push edi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100030a1
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x814], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
call fcn.1001e7ec
ret 0x5c
Function at 0x100198b0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x10019905
cmp byte [ebp + 0x2c], 0
jne 0x100198fc
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov ebx, dword [str.Failed_to_open_file]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100198e0
sub eax, edx
lea edi, [ebp + 0x34]
mov esi, eax
call fcn.1001d4b0
or eax, 0xffffffff
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x3c], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x10019921
lea esp, [esp]
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x28]
push 1
call edx
cmp esi, edi
jne 0x10019910
mov esi, dword [sym.imp.MSVCR90.dll_fseek]
push 2
or eax, 0xffffffff
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
push edi
push ebx
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call esi
push ebx
call dword [sym.imp.MSVCR90.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call esi
add esp, 0x1c
test edi, edi
jg 0x1001997c
cmp byte [ebp + 0x2c], 0
jne 0x100198fc
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 0xc
mov ebx, dword [str.Error_document_empty.]
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019970
jmp 0x100198e7
lea eax, [edi + 1]
push eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
push ebx
push 1
mov esi, eax
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x14
cmp eax, 1
je 0x100199d2
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [ebp + 0x2c], 0
jne 0x100198fc
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov ebx, dword [str.Failed_to_open_file]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100199c6
jmp 0x100198e7
mov byte [esi + edi], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x100199fc
nop
mov dl, byte [eax]
cmp dl, 0xd
jne 0x100199f3
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x100199f7
jmp 0x100199f6
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x100199e0
mov eax, dword [esp + 0x18]
push eax
mov byte [ecx], 0
mov edx, dword [ebp]
mov edx, dword [edx + 8]
push 0
push esi
mov ecx, ebp
call edx
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
xor eax, eax
cmp byte [ebp + 0x2c], al
pop esi
pop ebp
sete al
pop ebx
ret 8

Function at 0x1001da62
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002c018]
jne 0x1001da6c
repz ret
jmp fcn.1001e16e
Function at 0x100bacd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push ebx
movzx ebx, word [eax + 2]
push ebp
push esi
movzx esi, word [eax]
shl ebx, 0x10
mov dword [esp + 0xc], esi
or ebx, esi
push edi
mov ecx, 0x1b434c83
mov edx, 0x3281ab71
mov dword [esp + 0x14], 0x21e1cde3
mov dword [esp + 0x18], 0xf4d50d87
mov dword [esp + 0x1c], 0x9cefa3f8
mov dword [esp + 0x20], 0xa4beea47
mov dword [esp + 0x24], 0xb5bfbc70
mov dword [esp + 0x28], 0x6aa127fa
mov dword [esp + 0x2c], 0x8a845dd1
mov dword [esp + 0x30], 0x1d3af235
mov eax, 1
mov esi, 0x4f111
nop
and ecx, 7
mov ecx, dword [esp + ecx*4 + 0x14]
xor ecx, edx
lea edi, [eax + 0x82a3]
lea edx, [edi - 1]
imul edi, eax
lea ebp, [eax - 1]
imul edx, ebp
add ecx, edx
lea edx, [esi - 0x980]
imul edx, ebp
mov ebp, ecx
shr ebx, 1
add edx, ebx
lea edx, [edx + ecx + 0xc9de]
and ebp, 7
mov ebp, dword [esp + ebp*4 + 0x14]
add ebp, ecx
xor edx, ebp
and edx, 7
mov edx, dword [esp + edx*4 + 0x14]
xor edx, ecx
add edx, edi
mov ecx, edx
and ecx, 7
mov ecx, dword [esp + ecx*4 + 0x14]
add ecx, edx
mov edi, esi
imul edi, eax
shr ebx, 1
add edi, ebx
lea edi, [edi + edx + 0xc9de]
xor ecx, edi
and ecx, 7
mov ecx, dword [esp + ecx*4 + 0x14]
xor ecx, edx
lea edi, [eax + 1]
lea edx, [eax + 0x82a4]
imul edx, edi
add ecx, edx
lea edx, [esi + 0x980]
imul edx, edi
mov edi, ecx
and edi, 7
mov edi, dword [esp + edi*4 + 0x14]
add edi, ecx
shr ebx, 1
add edx, ebx
lea edx, [edx + ecx + 0xc9de]
xor edx, edi
and edx, 7
mov edx, dword [esp + edx*4 + 0x14]
xor edx, ecx
lea edi, [eax + 2]
lea ecx, [eax + 0x82a5]
imul ecx, edi
add edx, ecx
lea ecx, [esi + 0x1300]
imul ecx, edi
mov edi, edx
and edi, 7
mov edi, dword [esp + edi*4 + 0x14]
shr ebx, 1
add ecx, ebx
add edi, edx
lea ecx, [ecx + edx + 0xc9de]
add eax, 4
xor ecx, edi
lea edi, [eax - 1]
add esi, 0x2600
cmp edi, 0x20
jb 0x100bad40
mov eax, dword [esp + 0x38]
movzx eax, word [eax + 2]
mov esi, eax
imul esi, eax
mov eax, dword [esp + 0x10]
add esi, ecx
mov dword [esp + 0x14], esi
mov esi, eax
imul esi, eax
add edx, ecx
add esi, ecx
and edx, 0xffff41d3
lea ecx, [esp + 0x10]
or edx, 0x41d3
push ecx
lea ecx, [esp + 0x18]
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], edx
call fcn.100bab80
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x100c5510
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1012e900
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10185630]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10185630]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
mov ebx, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], edi
call fcn.100c65c0
lea esi, [esp + 0x58]
mov ecx, eax
mov dword [esp + 0x34], eax
call fcn.100c63b0
mov esi, ebp
mov dword [esp + 0x80], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x23], 0
call fcn.100c6b60
test al, al
jne 0x100c55b1
call fcn.100c6310
cmp al, 0x2b
jne 0x100c559a
mov byte [ebx], al
jmp 0x100c55a7
call fcn.100c6310
cmp al, 0x2d
jne 0x100c55b1
mov byte [ebx], al
mov esi, ebp
inc ebx
mov dword [esp + 0x1c], ebx
call fcn.100c6360
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax

Function at 0x100ca7d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x68
mov eax, dword [0x10185630]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x13], 0
test esi, esi
je 0x100ca906
test ebp, ebp
je 0x100ca906
push 0x40000
call fcn.1010053c
mov edi, eax
add esp, 4
test edi, edi
je 0x100ca8de
push 0x1016736c
push esi
call fcn.10104566
mov ebx, eax
xor esi, esi
add esp, 8
cmp ebx, esi
je 0x100ca8d3
xor eax, eax
mov dword [ebp], eax
push 0x40000
mov dword [ebp + 4], eax
push esi
mov dword [ebp + 8], eax
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [ebp + 0xc], eax
call fcn.1010bcc0
push ebx
push 0x40000
push 1
push edi
call fcn.10103e8c
add esp, 0x1c
cmp eax, esi
jle 0x100ca8c3
mov esi, dword [0x1015c1b0]
jmp 0x100ca890
push edi
lea ecx, [esp + 0x1c]
call fcn.100cca80
add esp, 4
push 0x14
call esi
push 0x40000
push 0
push edi
call fcn.1010bcc0
push ebx
push 0x40000
push 1
push edi
call fcn.10103e8c
add esp, 0x1c
test eax, eax
jg 0x100ca890
lea esi, [esp + 0x18]
mov ecx, ebp
call fcn.100ccb30
mov byte [esp + 0x13], 1
push edi
call fcn.10102173
add esp, 4
jmp 0x100ca8e2
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x100ca8ef
push ebx
call fcn.10103f20
add esp, 4
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10105d73
add esp, 0x68
ret
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.10105d73
add esp, 0x68
ret
Function at 0x100ca7e4
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x68
mov eax, dword [0x10185630]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x13], 0
test esi, esi
je 0x100ca906
test ebp, ebp
je 0x100ca906
push 0x40000
call fcn.1010053c
mov edi, eax
add esp, 4
test edi, edi
je 0x100ca8de
push 0x1016736c
push esi
call fcn.10104566
mov ebx, eax
xor esi, esi
add esp, 8
cmp ebx, esi
je 0x100ca8d3
xor eax, eax
mov dword [ebp], eax
push 0x40000
mov dword [ebp + 4], eax
push esi
mov dword [ebp + 8], eax
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [ebp + 0xc], eax
call fcn.1010bcc0
push ebx
push 0x40000
push 1
push edi
call fcn.10103e8c
add esp, 0x1c
cmp eax, esi
jle 0x100ca8c3
mov esi, dword [0x1015c1b0]
jmp 0x100ca890
push edi
lea ecx, [esp + 0x1c]
call fcn.100cca80
add esp, 4
push 0x14
call esi
push 0x40000
push 0
push edi
call fcn.1010bcc0
push ebx
push 0x40000
push 1
push edi
call fcn.10103e8c
add esp, 0x1c
test eax, eax
jg 0x100ca890
lea esi, [esp + 0x18]
mov ecx, ebp
call fcn.100ccb30
mov byte [esp + 0x13], 1
push edi
call fcn.10102173
add esp, 4
jmp 0x100ca8e2
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x100ca8ef
push ebx
call fcn.10103f20
add esp, 4
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10105d73
add esp, 0x68
ret
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.10105d73
add esp, 0x68
ret

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

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

Function at 0x100d8d30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x10185630]
xor eax, esp
mov dword [esp + 0x14], eax
push 0
call fcn.10106233
mov ecx, dword [esp + 0x20]
add esp, 4
lea edx, [esp]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov ecx, 0x10
lea edx, [esp + 0x13]
push esi
xor eax, 0x10
mov dword [esp + 0x10], 0x10164550
mov dword [esp + 0x14], fcn.100d9200
sub edx, ecx
push edi
movzx esi, byte [edx + ecx]
mov edi, eax
shl edi, 5
add esi, edi
mov edi, eax
shr edi, 2
add esi, edi
dec ecx
xor eax, esi
cmp ecx, 1
jae 0x100d8d77
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.10105d73
add esp, 0x18
ret
Function at 0x100dd4f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push esi
push edi
mov edi, eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x18]
push eax
mov eax, edi
call fcn.100dd0d0
add esp, 4
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], eax
mov esi, eax
call fcn.100dd140
add esi, eax
mov eax, dword [ebx + 4]
and eax, 0x7fffff00
add esp, 8
cmp eax, 0x7ff7a500
je 0x100dd61a
fld qword [ebx]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0xc]
fild dword [esp + 0xc]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x44
jp 0x100dd61a
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x100dd61a
cmp eax, 0x40000000
jg 0x100dd61a
dec eax
xor ecx, ecx
cmp eax, 0x100
jb 0x100dd602
shr eax, 8
add ecx, 8
cmp eax, 0x100
jae 0x100dd5f5
movzx eax, byte [eax + 0x10164558]
add eax, ecx
inc dword [esp + eax*4 + 0x18]
lea eax, [esp + eax*4 + 0x18]
mov eax, 1
jmp 0x100dd61c
xor eax, eax
add dword [esp + 8], eax
lea ecx, [esp + 8]
push ecx
lea eax, [esp + 0x1c]
call fcn.100dd070
mov edx, dword [esp + 0xa0]
sub esi, eax
mov eax, dword [esp + 0xc]
add esp, 4
inc esi
push esi
push edx
mov ecx, edi
call fcn.100dd340
add esp, 8
pop edi
pop esi
add esp, 0x90
ret

Function at 0x100ddbd0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
shr ecx, 5
mov eax, edx
xor eax, dword [esp + 4]
inc ecx
cmp edx, ecx
jb 0x100ddbff
push ebx
push edi
movzx edi, byte [esi + edx - 1]
mov ebx, eax
shl ebx, 5
add edi, ebx
mov ebx, eax
shr ebx, 2
add edi, ebx
sub edx, ecx
xor eax, edi
cmp edx, ecx
jae 0x100ddbe2
pop edi
pop ebx
ret
Function at 0x100ddda0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [eax + 0xc]
mov ebx, dword [esi + 0x30]
mov eax, edi
shr eax, 5
inc eax
xor ebx, edi
mov dword [esp + 0xc], esi
mov ecx, edi
cmp edi, eax
jb 0x100ddddf
mov edx, dword [esp + 0x18]
movzx edx, byte [edx + ecx - 1]
mov ebp, ebx
shl ebp, 5
add edx, ebp
mov ebp, ebx
shr ebp, 2
add edx, ebp
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x100dddc0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
dec eax
and eax, ebx
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je 0x100dde5b
nop
cmp ebx, dword [ebp + 8]
jne 0x100dde54
cmp edi, dword [ebp + 0xc]
jne 0x100dde54
mov esi, dword [esp + 0x18]
mov ecx, edi
lea edx, [ebp + 0x10]
cmp edi, 4
jb 0x100dde1c
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x100dde50
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x100dde08
test ecx, ecx
je 0x100ddef8
mov al, byte [edx]
cmp al, byte [esi]
jne 0x100dde50
cmp ecx, 1
jbe 0x100ddef8
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x100dde50
cmp ecx, 2
jbe 0x100ddef8
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x100ddef8
mov esi, dword [esp + 0xc]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x100dddf0
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x1c], eax
jb 0x100dde7b
cmp eax, 0x3ffffffe
jg 0x100dde7b
lea edx, [eax + eax]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.100ddc00
add esp, 8
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
dec ecx
and ecx, ebx
lea ebp, [edx + ecx*4]
mov ecx, dword [eax + 0xc]
lea edx, [edi + 0x11]
push edx
push 4
push 0
push eax
mov dword [esp + 0x24], ecx
call fcn.100f0780
add esp, 0x10
mov esi, eax
test ebp, ebp
jne 0x100ddeb0
mov ebp, dword [esp + 0x14]
add ebp, 0x3c
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x34]
mov eax, dword [esp + 0x18]
and cl, 3
mov byte [esi + 5], cl
mov byte [esi + 4], 4
mov edx, dword [ebp]
push edi
push eax
lea ecx, [esi + 0x10]
mov dword [esi], edx
mov dword [ebp], esi
push ecx
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
mov byte [esi + 6], 0
call fcn.1010bd40
mov eax, dword [esp + 0x18]
add esp, 0xc
mov byte [esi + edi + 0x10], 0
inc dword [eax + 0x1c]
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esp + 0xc]
mov al, byte [ebp + 5]
mov cl, byte [edx + 0x34]
xor al, 3
xor cl, 3
test al, cl
jne 0x100ddf0e
mov byte [ebp + 5], al
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x100ea560
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x10185630]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x20]
mov esi, 0x200
mov dword [esp + 0x10], ecx
mov ecx, esi
lea ebx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
call fcn.100d7e80
push edi
push esi
push 1
push eax
call fcn.10103e8c
add dword [esp + 0x28], eax
add esp, 0x10
cmp eax, esi
jb 0x100ea5ea
lea ecx, [ecx]
cmp esi, 0x3fffffff
ja 0x100ea5ca
add esi, esi
mov ecx, esi
lea ebx, [esp + 0x10]
call fcn.100d7e80
push edi
push esi
push 1
push eax
call fcn.10103e8c
add dword [esp + 0x28], eax
add esp, 0x10
cmp eax, esi
jae 0x100ea5c0
lea edi, [esp + 0x10]
call fcn.100d7f00
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10105d73
add esp, 0x21c
ret

Function at 0x100ea610
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x10185630]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], ecx
push edi
mov ecx, esi
lea ebx, [esp + 0x10]
mov edi, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x200
call fcn.100d7e80
push edi
push esi
push 1
push eax
call fcn.10103e8c
mov esi, eax
add dword [esp + 0x28], esi
add esp, 0x10
mov edi, ebx
call fcn.100d7f00
mov ecx, dword [esp + 0x224]
xor edx, edx
cmp edx, esi
pop edi
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
neg eax
call fcn.10105d73
add esp, 0x21c
ret

Function at 0x100ea62c
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x10185630]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], ecx
push edi
mov ecx, esi
lea ebx, [esp + 0x10]
mov edi, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x200
call fcn.100d7e80
push edi
push esi
push 1
push eax
call fcn.10103e8c
mov esi, eax
add dword [esp + 0x28], esi
add esp, 0x10
mov edi, ebx
call fcn.100d7f00
mov ecx, dword [esp + 0x224]
xor edx, edx
cmp edx, esi
pop edi
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
neg eax
call fcn.10105d73
add esp, 0x21c
ret