joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7009b390
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [0x7024e154]
mov esi, dword [esp + 0x40]
test ebp, ebp
jne 0x7009b3b8
mov eax, dword [esi + 8]
test eax, eax
je 0x7009b410
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esi + 8]
test edi, edi
je 0x7009b420
mov ebx, dword [0x7034ba3c]
call sym._GetLastError_0
mov dword [esp], ebx
mov ebp, eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
mov dword [esp], ebp
call sym._SetLastError_4
sub esp, 4
test ebx, ebx
je 0x7009b4b0
mov ebp, dword [ebx]
cmp ebp, edi
jb 0x7009b500
lea ebx, [ebx + edi*4]
mov eax, dword [ebx]
test eax, eax
jne 0x7009b3ac
mov eax, esi
call sym._emutls_alloc
mov dword [ebx], eax
jmp 0x7009b3ac
mov eax, esi
call sym._emutls_alloc
mov dword [esi + 8], eax
jmp 0x7009b3ac
mov edi, dword [0x7024e154]
test edi, edi
je 0x7009b588
mov ebx, dword [0x7024e1f8]
test ebx, ebx
je 0x7009b558
mov dword [esp], 0x7034ba40
call sym._InterlockedIncrement_4
sub esp, 4
test eax, eax
jne 0x7009b5cb
mov edi, dword [esi + 8]
test edi, edi
je 0x7009b593
mov eax, dword [0x7024e154]
test eax, eax
je 0x7009b3bf
mov dword [esp], 0x7034ba40
call sym._InterlockedDecrement_4
sub esp, 4
test eax, eax
js 0x7009b3bf
mov eax, dword [0x7034ba44]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._ReleaseSemaphore_12
sub esp, 0xc
jmp 0x7009b3bf
lea eax, [edi + 0x21]
mov dword [esp + 4], 4
lea ebp, [edi + 0x20]
mov dword [esp], eax
call sym._calloc
mov ebx, eax
test eax, eax
je sym.___emutls_get_address.cold
mov dword [eax], ebp
mov eax, dword [0x7034ba3c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
test eax, eax
jne 0x7009b3f6
call sym._GetLastError_0
jmp 0x7009b3f6
lea edx, [ebp + ebp]
cmp edi, edx
jbe 0x7009b50b
lea edx, [edi + 0x20]
lea eax, [edx*4 + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 0x1c], edx
call sym.___mingw_realloc
mov ebx, eax
test eax, eax
je sym.___emutls_get_address.cold
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
sub edx, ebp
lea eax, [eax + ebp*4 + 4]
shl edx, 2
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._memset
jmp 0x7009b4d2
mov dword [esp], 0x7024e1fc
call sym._InterlockedIncrement_4
sub esp, 4
test eax, eax
jne 0x7009b5bf
call sym._emutls_init
mov dword [0x7024e1f8], 1
mov edx, dword [0x7024e154]
test edx, edx
jne 0x7009b43c
mov edi, dword [esi + 8]
test edi, edi
jne 0x7009b3bf
mov eax, dword [0x7034ba38]
lea edi, [eax + 1]
mov dword [0x7034ba38], edi
mov dword [esi + 8], edi
jmp 0x7009b45e
mov dword [esp], 0
call sym._Sleep_4
sub esp, 4
mov ecx, dword [0x7024e1f8]
test ecx, ecx
je 0x7009b5b0
jmp 0x7009b57a
mov eax, dword [0x7034ba44]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
test eax, eax
je 0x7009b453
mov dword [esp], 0x7034ba40
call sym._InterlockedDecrement_4
sub esp, 4
jmp 0x7009b453
Function at 0x700a3204
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
add ecx, 0x34
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x30]
sub esp, 0x5c
mov dword [ebp - 0x3c], 0
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 4], str.Softwarelibopenmpt_
mov dword [esp], ebx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea eax, [ebp - 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sym._RegOpenKeyExA_20
sub esp, 0x14
mov esi, eax
mov ecx, ebx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
test esi, esi
jne 0x700a32d7
mov eax, dword [edi]
mov dword [esp + 0x14], ebx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0
mov dword [ebp - 0x34], 4
mov eax, dword [eax]
mov dword [ebp - 0x30], 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sym._RegQueryValueExA_24
sub esp, 0x18
test eax, eax
jne 0x700a32b8
mov eax, dword [ebp - 0x38]
mov dword [edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sym._RegCloseKey_4
push eax
jmp 0x700a32d7
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x700a32e4
Capabilities:
Set registry value

Disassembly:
push ebp
add ecx, 0x34
mov ebp, esp
push esi
push ebx
sub esp, 0x50
lea ebx, [ebp - 0x20]
mov dword [ebp - 0x24], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], str.Softwarelibopenmpt_
mov dword [esp], ebx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea eax, [ebp - 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sym._RegCreateKeyExA_36
sub esp, 0x24
mov esi, eax
mov ecx, ebx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
test esi, esi
jne 0x700a33bf
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._RegSetValueExA_24
mov eax, dword [ebp - 0x24]
sub esp, 0x18
mov dword [esp], eax
call sym._RegCloseKey_4
push eax
jmp 0x700a33bf
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x700a3ae4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
lea ecx, [ebp - 0x48]
sub esp, 0x5c
mov ebx, eax
mov dword [esp], 0x104
call sym.std::vector_char__std::allocator_char___::vector_unsigned_int__std::allocator_char__const___clone_.isra.0_
mov edi, dword [ebp - 0x48]
push ecx
mov eax, dword [esi]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x4c], eax
call sym._GetTempPathA_8
push edx
test eax, eax
push edx
je 0x700a3b68
lea esi, [eax + 1]
lea ecx, [ebp - 0x3c]
mov dword [esp], esi
call sym.std::vector_char__std::allocator_char___::vector_unsigned_int__std::allocator_char__const___clone_.isra.0_
push eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._GetTempPathA_8
push ecx
test eax, eax
push ecx
je 0x700a3b60
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
mov dword [esp], eax
call fcn.701fce30
lea ecx, [ebp - 0x3c]
push edx
call method.std::_Vector_base_char__std::allocator_char___._Vector_base____clone_.isra.0_
jmp 0x700a3b79
lea ecx, [ebp - 0x3c]
call method.std::_Vector_base_char__std::allocator_char___._Vector_base____clone_.isra.0_
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], 0
mov dword [esp], eax
call sym._GetTempFileNameA_16
sub esp, 0x10
mov esi, eax
lea ecx, [ebp - 0x30]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
test esi, esi
jne 0x700a3bc6
lea eax, [ebx + 8]
mov dword [ebx + 4], 0
mov dword [ebx], eax
mov byte [ebx + 8], 0
jmp 0x700a3bf4
mov eax, dword [ebp - 0x48]
mov ecx, ebx
mov dword [esp], eax
call fcn.701fce30
push eax
jmp 0x700a3bf4
lea ecx, [ebp - 0x48]
call method.std::_Vector_base_char__std::allocator_char___._Vector_base____clone_.isra.0_
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x700b7e64
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
mov dword [ebp - 0x24], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call sym.___mingw_fseek
mov dword [esp], esi
call sym.___mingw_ftelli64
mov dword [esp + 0xc], 0
mov edi, edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [ebp - 0x1c], eax
call sym.___mingw_fseek
test edi, edi
js 0x700b7ef3
mov eax, 3
jne 0x700b7ef8
mov edi, dword [ebp - 0x1c]
mov eax, edi
inc eax
mov dword [esp], eax
mov dword [ebp - 0x20], eax
call dword [0x7024f664]
mov edx, eax
test eax, eax
jne 0x700b7f03
mov dword [ebx + 8], 0
mov dword [ebx], 3
jmp 0x700b7f3f
mov eax, 2
mov dword [ebx + 8], 0
mov dword [ebx], eax
jmp 0x700b7f3f
mov eax, dword [ebp - 0x1c]
mov dword [esp], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [ebp - 0x28], edx
call sym._fread
mov edx, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x1c]
je 0x700b7f48
mov dword [esp], edx
call dword [0x7024f660]
mov dword [ebx + 8], 0
mov dword [ebx], 2
mov dword [ebx + 4], 0
jmp 0x700b7f99
mov ecx, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
call method.pugi::impl._anonymous_namespace_::get_buffer_encoding_pugi::xml_encoding__void_const__unsigned_int_
mov edx, dword [ebp - 0x1c]
cmp eax, 1
jne 0x700b7f64
mov byte [edx + edi], 0
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 1
mov dword [esp + 4], edi
mov edx, ecx
mov eax, ebx
call method.pugi::impl._anonymous_namespace_::load_buffer_impl_pugi::impl::_anonymous_namespace_::xml_document_struct__pugi::xml_node_struct__void__unsigned_int__unsigned_int__pugi::xml_encoding__bool__bool__char_
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x7013c18c
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
push esi
push ebx
mov ebx, 3
sub esp, 8
fld qword [ecx + 0x10b8]
mov eax, dword [ecx + 0x10c8]
fstp qword [ecx + 0x10b0]
shl edx, 0xf
mov esi, eax
imul eax, eax, 0x343fd
shr esi, 0x10
add eax, 0x269ec3
and esi, 0x7fff
xor edx, esi
dec ebx
jne 0x7013c1ad
mov dword [ebp - 0xc], edx
mov dword [ecx + 0x10c8], eax
fld dword [0x702b8300]
fimul dword [ebp - 0xc]
fstp qword [ecx + 0x10b8]
pop eax
pop edx
pop ebx
pop esi
pop ebp
ret
Function at 0x7013f14c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
lea ebx, [ebp - 0x2c]
sub esp, 0x5c
mov ecx, ebx
mov edi, dword [ebp + 8]
mov dword [esp + 4], 0x6c706d73
mov dword [esp], edi
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileReader9ChunkListIN7OpenMPT9RIFFChunkENS4_6detail10FileReaderINS1_24FileCursorTraitsFileDataE
lea ecx, [esi + 0x28]
push eax
push eax
mov dword [esp], ebx
call fcn.700aa4bc
mov ecx, ebx
push eax
call fcn.700aa468
mov ecx, ebx
mov dword [esp + 4], 0x74736e69
mov dword [esp], edi
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileReader9ChunkListIN7OpenMPT9RIFFChunkENS4_6detail10FileReaderINS1_24FileCursorTraitsFileDataE
lea ecx, [esi + 0x3c]
push eax
push eax
mov dword [esp], ebx
call fcn.700aa4bc
mov ecx, ebx
push edx
call fcn.700aa468
mov ecx, ebx
mov dword [esp + 4], 0x20657563
mov dword [esp], edi
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileReader9ChunkListIN7OpenMPT9RIFFChunkENS4_6detail10FileReaderINS1_24FileCursorTraitsFileDataE
push ecx
push ecx
lea ecx, [esi + 0x78]
mov dword [esp], ebx
call fcn.700aa4bc
mov ecx, ebx
push eax
call fcn.700aa468
lea ecx, [ebp - 0x40]
mov dword [esp + 4], 0x5453494c
mov dword [esp], edi
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileReader9ChunkListIN7OpenMPT9RIFFChunkENS4_6detail10FileReaderINS1_24FileCursorTraitsFileDataE
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 4], 4
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
push eax
cmp edx, 4
push eax
jne 0x7013f268
mov dword [esp + 8], 4
mov dword [esp + 4], str.INFO
mov dword [esp], ebx
call sym._memcmp
test eax, eax
jne 0x7013f268
mov dword [esp], 4
lea ecx, [ebp - 0x40]
call fcn.700a905c
push eax
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4c]
mov dword [esp + 8], 2
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader10ReadChunksIN7OpenMPT9RIFFChunkENS4_6detail10FileReaderINS1_24FileCursorTraitsFileData
lea eax, [ebp - 0x4c]
lea ecx, [esi + 0x8c]
mov dword [esp], eax
call sym.__ZNSt6vectorIN3mpt14mpt_libopenmpt2IO10FileReader5ChunkIN7OpenMPT9RIFFChunkENS5_6detail10FileReaderINS2_24FileCursorTraitsFil
push ecx
lea ecx, [ebp - 0x4c]
call fcn.701edae0
mov dword [esp + 4], 0x61727478
mov dword [esp], edi
mov ecx, ebx
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileReader9ChunkListIN7OpenMPT9RIFFChunkENS4_6detail10FileReaderINS1_24FileCursorTraitsFileDataE
push eax
lea ecx, [esi + 0x50]
push eax
mov dword [esp], ebx
call fcn.700aa4bc
mov ecx, ebx
push edx
call fcn.700aa468
lea ecx, [ebp - 0x40]
call fcn.700aa468
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x70158230
Capabilities:
Read file on windows

Disassembly:
push esi
push ebx
mov ebx, ecx
sub esp, 0x14
mov eax, dword [ecx + 0x20]
mov esi, dword [esp + 0x20]
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._fread
mov edx, 0xffffffff
test eax, eax
jle 0x70158268
movzx edx, byte [esi + eax - 1]
mov dword [ebx + 0x24], edx
add esp, 0x14
pop ebx
pop esi
ret 8

Function at 0x70158280
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [ecx + 0x20]
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._fwrite
add esp, 0x1c
ret 8

Function at 0x70158e20
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp byte [0x702a9f40], 0
jne method.__gnu_cxx.__verbose_terminate_handler____clone_.cold_
mov byte [0x702a9f40], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x7023d8d2
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym.___cxa_demangle
mov edi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov dword [esp + 4], 1
mov esi, eax
lea ebp, [edi + 0x40]
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
mov dword [esp + 0xc], ebp
call sym._fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], ebp
test edx, edx
jne 0x70158ef8
mov dword [esp], esi
call sym._fputs
lea eax, [edi + 0x40]
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x702bcd69
call sym._fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x7023d8cd
mov dword [esp], esi
call sym.___mingw_aligned_free
jmp 0x7023d8cd
mov dword [esp], ebx
call sym._fputs
jmp 0x70158ebc
Function at 0x70167508
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x70167532
cmp eax, 2
mov byte [ebp - 0x1e], 2
sete al
neg eax
mov byte [ebp - 0x1d], al
jmp 0x7016753a
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
lea esi, [eax + edi*8]
mov al, byte [ebx + 0xc]
mov dl, al
and edx, 0xfffffffe
test byte [esi + 0x164], 1
je 0x70167559
or eax, 1
mov dl, al
mov byte [ebx + 0xc], dl
mov al, dl
and eax, 0xfffffffb
test byte [esi + 0x164], 2
je 0x7016756f
mov al, dl
or eax, 4
mov byte [ebx + 0xc], al
mov dl, al
and edx, 0xfffffffd
test byte [esi + 0x164], 4
je 0x70167585
or eax, 2
mov dl, al
mov byte [ebx + 0xc], dl
movzx eax, byte [esi + 0x160]
cmp al, 0x10
jbe 0x7016759a
mov eax, 0x10
jmp 0x701675a3
cmp al, 2
jae 0x701675a3
mov eax, 2
mov ecx, dword [ebx + 4]
mov edi, dword [ebx]
mov edx, ecx
sub edx, edi
sar edx, 2
cmp eax, edx
jbe 0x701675c2
sub eax, edx
mov ecx, ebx
mov dword [esp], eax
call method.std::vector_OpenMPT::EnvelopeNode__std::allocator_OpenMPT::EnvelopeNode___._M_default_append_unsigned_int_
push eax
jmp 0x701675ce
jae 0x701675ce
lea eax, [edi + eax*4]
cmp ecx, eax
je 0x701675ce
mov dword [ebx + 4], eax
mov al, byte [esi + 0x162]
mov edi, dword [ebx]
mov byte [ebx + 0xd], al
mov al, byte [esi + 0x163]
mov byte [ebx + 0xe], al
mov al, byte [esi + 0x161]
xor esi, esi
mov byte [ebx + 0x10], al
mov byte [ebx + 0xf], al
mov eax, dword [ebx + 4]
sub eax, edi
sar eax, 2
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
shl eax, 6
mov word [ebp - 0x1c], 0
add eax, dword [ebp - 0x24]
add eax, 4
cmp esi, dword [ebp - 0x28]
je 0x7016764f
mov dx, word [eax + 0x9c]
cmp dx, word [ebp - 0x1c]
jae 0x70167622
mov edx, dword [ebp - 0x1c]
lea ecx, [edx + 1]
mov word [edi + esi*4], dx
mov dl, byte [ebp - 0x1d]
mov word [ebp - 0x1c], cx
xor dl, byte [eax + 0x9e]
mov cl, byte [ebp - 0x1e]
movzx edx, dl
sar edx, cl
cmp edx, 0x40
jle 0x70167648
mov edx, 0x40
mov byte [edi + esi*4 + 2], dl
inc esi
jmp 0x7016760a
mov dword [ebp + 0xc], 0x20
mov dword [ebp + 8], 4
lea esp, [ebp - 0xc]
mov ecx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.70124d38
Function at 0x70179ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x54
lea ebx, [esp + 0x40]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], ebx
lea ebx, [esp + 0x3c]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
movzx ebx, byte [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [ecx + 8]
mov byte [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x3c], 0
call sym.__ZNSt13__facet_shims11__money_getIcEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb1EEPKNSt6locale5
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x70179b60
fld xword [esp + 0x40]
mov ecx, dword [esp + 0x7c]
fstp xword [ecx]
add esp, 0x54
pop ebx
pop esi
ret 0x20
mov ebx, dword [esp + 0x78]
mov dword [ebx], ecx
add esp, 0x54
pop ebx
pop esi
ret 0x20

Function at 0x70179b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x54
lea ebx, [esp + 0x40]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], ebx
lea ebx, [esp + 0x3c]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
movzx ebx, byte [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [ecx + 8]
mov byte [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x3c], 0
call sym.__ZNSt13__facet_shims11__money_getIcEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb0EEPKNSt6locale5
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x70179bf0
fld xword [esp + 0x40]
mov ecx, dword [esp + 0x7c]
fstp xword [ecx]
add esp, 0x54
pop ebx
pop esi
ret 0x20
mov ebx, dword [esp + 0x78]
mov dword [ebx], ecx
add esp, 0x54
pop ebx
pop esi
ret 0x20
Function at 0x70179f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebx
sub esp, 0x60
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x28], 0
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
xor bx, bx
mov dword [esp + 0x1c], edx
movzx edx, byte [esp + 0x80]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov dword [esp + 8], eax
mov eax, dword [ecx + 8]
mov byte [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x4c], 0
call sym.__ZNSt13__facet_shims11__money_getIwEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb1EEPKNSt6locale5
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], edx
movzx edx, word [esp + 0x3c]
mov dword [esp + 0x38], eax
or edx, ebx
test ecx, ecx
jne 0x70179fb0
fld xword [esp + 0x50]
mov ecx, dword [esp + 0x8c]
fstp xword [ecx]
add esp, 0x60
pop ebx
pop esi
pop edi
ret 0x20
mov ebx, dword [esp + 0x88]
mov dword [ebx], ecx
add esp, 0x60
pop ebx
pop esi
pop edi
ret 0x20

Function at 0x70179fd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebx
sub esp, 0x60
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x28], 0
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
xor bx, bx
mov dword [esp + 0x1c], edx
movzx edx, byte [esp + 0x80]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov dword [esp + 8], eax
mov eax, dword [ecx + 8]
mov byte [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x4c], 0
call sym.__ZNSt13__facet_shims11__money_getIwEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb0EEPKNSt6locale5
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], edx
movzx edx, word [esp + 0x3c]
mov dword [esp + 0x38], eax
or edx, ebx
test ecx, ecx
jne 0x7017a070
fld xword [esp + 0x50]
mov ecx, dword [esp + 0x8c]
fstp xword [ecx]
add esp, 0x60
pop ebx
pop esi
pop edi
ret 0x20
mov ebx, dword [esp + 0x88]
mov dword [ebx], ecx
add esp, 0x60
pop ebx
pop esi
pop edi
ret 0x20
Function at 0x70182920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov eax, ecx
push edi
push esi
push ebx
sub esp, 0x5c
lea ebx, [esp + 0x4c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], 4
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp], ecx
mov ecx, eax
mov dword [esp + 0x18], 0x270f
mov dword [esp + 0x20], ebx
lea ebx, [esp + 0x48]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 4], edx
mov dword [esp + 0x4c], 0
call sym.__ZNKSt7__cxx118time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE14_M_extract_numES4_S4_RiiijRSt8ios_baseRSt12_Ios_Iosta
sub esp, 0x28
mov ecx, eax
mov ebp, eax
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x701829f8
mov eax, dword [esp + 0x48]
lea ebx, [eax - 0x76c]
test eax, eax
js 0x701829f0
mov eax, dword [esp + 0x88]
mov dword [eax + 0x14], ebx
cmp edx, 0xffffffff
sete bl
test ecx, ecx
setne al
and al, bl
mov byte [esp + 0x34], al
jne 0x70182a08
cmp edi, 0xffffffff
sete al
test esi, esi
je 0x701829d2
test al, al
jne 0x70182a50
cmp bl, al
jne 0x701829e0
mov eax, dword [esp + 0x84]
or dword [eax], 2
add esp, 0x5c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
lea ebx, [eax + 0x64]
jmp 0x701829a7
mov eax, dword [esp + 0x84]
or dword [eax], 4
jmp 0x701829b1
mov eax, dword [ecx + 0xc]
xor ebx, ebx
cmp dword [ecx + 8], eax
jb 0x701829c4
mov eax, dword [ecx]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ecx
call dword [eax + 0x24]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp eax, 0xffffffff
setne bl
sub ebx, 1
and bl, byte [esp + 0x34]
cmp eax, 0xffffffff
sete al
movzx eax, al
sub eax, 1
and ecx, eax
mov ebp, ecx
jmp 0x701829c4
mov edi, dword [esi + 0xc]
xor eax, eax
cmp dword [esi + 8], edi
jb 0x701829d2
mov eax, dword [esi]
mov dword [esp + 0x34], edx
mov ecx, esi
call dword [eax + 0x24]
mov edx, dword [esp + 0x34]
cmp eax, 0xffffffff
sete al
jmp 0x701829d2