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

Disassembly:
cmp ecx, dword [0x457580]
jne 0x407306
repz ret
jmp fcn.00409d38

Function at 0x408bd5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406a26
and dword [ebp - 4], 0
cmp dword [0x45d2d8], 0
mov ebx, eax
jne 0x408c86
push 0x401a7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408d37
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401a70
push edi
call esi
test eax, eax
je 0x408d37
push eax
call fcn.004069b4
mov dword [esp], 0x401a60
push edi
mov dword [0x45d2d8], eax
call esi
push eax
call fcn.004069b4
mov dword [esp], 0x401a4c
push edi
mov dword [0x45d2dc], eax
call esi
push eax
call fcn.004069b4
mov dword [esp], 0x401a30
push edi
mov dword [0x45d2e0], eax
call esi
push eax
call fcn.004069b4
pop ecx
mov dword [0x45d2e8], eax
test eax, eax
je 0x408c86
push 0x401a18
push edi
call esi
push eax
call fcn.004069b4
pop ecx
mov dword [0x45d2e4], eax
mov eax, dword [0x45d2e4]
cmp eax, ebx
je 0x408cde
cmp dword [0x45d2e8], ebx
je 0x408cde
push eax
call fcn.00406a2f
push dword [0x45d2e8]
mov esi, eax
call fcn.00406a2f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408cde
test edi, edi
je 0x408cde
call esi
test eax, eax
je 0x408cd5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408cd5
test byte [ebp - 0xc], 1
jne 0x408cde
or dword [ebp + 0x10], 0x200000
jmp 0x408d17
mov eax, dword [0x45d2dc]
cmp eax, ebx
je 0x408d17
push eax
call fcn.00406a2f
pop ecx
test eax, eax
je 0x408d17
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408d17
mov eax, dword [0x45d2e0]
cmp eax, ebx
je 0x408d17
push eax
call fcn.00406a2f
pop ecx
test eax, eax
je 0x408d17
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45d2d8]
call fcn.00406a2f
pop ecx
test eax, eax
je 0x408d37
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408d39
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1b3a0c79
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x43021b0c
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x406799
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40e170
cmp edx, dword [eax]
je 0x4067bb
add eax, 8
inc ecx
cmp eax, 0x40e200
jl 0x4067ac
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40e170]
jne 0x4068e9
mov eax, dword [0x40e6e8]
cmp eax, 1
je 0x4068c3
test eax, eax
jne 0x4067ec
cmp dword [0x40e0c4], 1
je 0x4068c3
cmp edx, 0xfc
je 0x4068e9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x406823
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405a20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406dc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x406866
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406dc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40d458
push edi
call fcn.00407a50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405a20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405a30
lea eax, [ebp - 0xa0]
push 0x40d438
push eax
call fcn.00405a30
push dword [esi + 0x40e174]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405a30
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004079be
add esp, 0x2c
pop edi
jmp 0x4068e9
lea eax, [ebp + 8]
lea esi, [esi + 0x40e174]
push 0
push eax
push dword [esi]
call fcn.00406dc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x6290b970
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x62bb603c
call sym._EnterCriticalSection_4
mov ebx, dword [0x62bb6034]
sub esp, 4
test ebx, ebx
je 0x6290b9bb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x6290b9b4
test esi, esi
je 0x6290b9b4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6290b990
mov dword [esp], 0x62bb603c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x6290bba0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], 0x62b29544
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x6290bbf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x6290bcc4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x6290bc2e
cmp eax, 4
jne 0x6290bc50
test esi, esi
je 0x6290bc42
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x6290bc34
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x6290bc8f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x6290bc81
cmp ecx, 0x40
je 0x6290bc42
cmp ecx, 4
je 0x6290bc42
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.6290bba0
lea esi, [esi]
Function at 0x62913f60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x3c
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._setlocale
test eax, eax
je 0x62914034
mov dword [esp], eax
mov esi, eax
mov ebx, esp
call sym._strlen
lea edx, [eax + 1]
add eax, 0x10
shr eax, 4
shl eax, 4
call fcn.62915eb0
sub esp, eax
lea eax, [esp + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
mov dword [esp + 4], 0x62b29cc8
mov dword [esp], 2
mov esi, eax
call sym._setlocale
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._strcmp
test eax, eax
je 0x62914040
mov dword [esp + 4], esi
mov dword [esp], 2
call sym._setlocale
mov eax, esi
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call sym._strchr
test eax, eax
je 0x62914030
add eax, 1
mov dword [esp], eax
call sym._atoi
mov edi, eax
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._GetCPInfo_8
sub esp, 8
test eax, eax
je 0x62914030
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x62914080
xor edi, edi
mov esp, ebx
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.LC_ALL
call sym._getenv
test eax, eax
jne 0x62913ff2
mov dword [esp], str.LC_CTYPE
call sym._getenv
test eax, eax
jne 0x62913ff2
mov dword [esp], str.LANG
call sym._getenv
test eax, eax
jne 0x62913ff2
mov eax, esi
jmp 0x62913ff2
mov esp, ebx
jmp 0x62914034

Function at 0x62916b60
Capabilities:
Allocate thread local storage

Disassembly:
push esi
push ebx
sub esp, 4
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
call sym._TlsAlloc_0
cmp eax, 0xffffffff
je 0x62916b90
mov dword [esi], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
add esp, 4
pop ebx
pop esi
jmp sym.___mingwthr_key_dtor
add esp, 4
pop ebx
pop esi
jmp sym._GetLastError_0

Function at 0x62916bd0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call sym._GetLastError_0
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call sym._SetLastError_4
mov eax, ebx
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x62916c00
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
test eax, eax
je 0x62916c28
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp sym._GetLastError_0

Function at 0x6291ae10
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
mov dword [0x62bb6a40], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffff
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateSemaphoreW_16
sub esp, 0x10
mov dword [0x62bb6a44], eax
call sym._TlsAlloc_0
cmp eax, 0xffffffff
je 0x6291ae78
mov dword [esp + 4], dbg.emutls_destroy
mov dword [esp], eax
mov dword [0x62bb6a3c], eax
call sym.___mingwthr_key_dtor
test eax, eax
jne sym._emutls_init.cold
add esp, 0x1c
ret
call sym._GetLastError_0
jmp 0x6291ae68
Function at 0x6291ae80
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 [0x62aba154]
mov esi, dword [esp + 0x40]
test ebp, ebp
jne 0x6291aea8
mov eax, dword [esi + 8]
test eax, eax
je 0x6291af00
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esi + 8]
test edi, edi
je 0x6291af10
mov ebx, dword [0x62bb6a3c]
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 0x6291afa0
mov ebp, dword [ebx]
cmp ebp, edi
jb 0x6291aff0
lea ebx, [ebx + edi*4]
mov eax, dword [ebx]
test eax, eax
jne 0x6291ae9c
mov eax, esi
call sym._emutls_alloc
mov dword [ebx], eax
jmp 0x6291ae9c
mov eax, esi
call sym._emutls_alloc
mov dword [esi + 8], eax
jmp 0x6291ae9c
mov edi, dword [0x62aba154]
test edi, edi
je 0x6291b078
mov ebx, dword [0x62aba1ec]
test ebx, ebx
je 0x6291b048
mov dword [esp], 0x62bb6a40
call sym._InterlockedIncrement_4
sub esp, 4
test eax, eax
jne 0x6291b0bb
mov edi, dword [esi + 8]
test edi, edi
je 0x6291b083
mov eax, dword [0x62aba154]
test eax, eax
je 0x6291aeaf
mov dword [esp], 0x62bb6a40
call sym._InterlockedDecrement_4
sub esp, 4
test eax, eax
js 0x6291aeaf
mov eax, dword [0x62bb6a44]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._ReleaseSemaphore_12
sub esp, 0xc
jmp 0x6291aeaf
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 [0x62bb6a3c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
test eax, eax
jne 0x6291aee6
call sym._GetLastError_0
jmp 0x6291aee6
lea edx, [ebp + ebp]
cmp edi, edx
jbe 0x6291affb
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 0x6291afc2
mov dword [esp], 0x62aba1f0
call sym._InterlockedIncrement_4
sub esp, 4
test eax, eax
jne 0x6291b0af
call sym._emutls_init
mov dword [0x62aba1ec], 1
mov edx, dword [0x62aba154]
test edx, edx
jne 0x6291af2c
mov edi, dword [esi + 8]
test edi, edi
jne 0x6291aeaf
mov eax, dword [0x62bb6a38]
lea edi, [eax + 1]
mov dword [0x62bb6a38], edi
mov dword [esi + 8], edi
jmp 0x6291af4e
mov dword [esp], 0
call sym._Sleep_4
sub esp, 4
mov ecx, dword [0x62aba1ec]
test ecx, ecx
je 0x6291b0a0
jmp 0x6291b06a
mov eax, dword [0x62bb6a44]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
test eax, eax
je 0x6291af43
mov dword [esp], 0x62bb6a40
call sym._InterlockedDecrement_4
sub esp, 4
jmp 0x6291af43
Function at 0x6291f184
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 0x6291f257
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 0x6291f238
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 0x6291f257
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x6291f264
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 0x6291f33f
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 0x6291f33f
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x6291fa64
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 method.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 0x6291fae8
lea esi, [eax + 1]
lea ecx, [ebp - 0x3c]
mov dword [esp], esi
call method.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 0x6291fae0
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
mov dword [esp], eax
call fcn.62a697e0
lea ecx, [ebp - 0x3c]
push edx
call sym.std::_Vector_base_char__std::allocator_char___::_Vector_base____clone_.isra.0_
jmp 0x6291faf9
lea ecx, [ebp - 0x3c]
call sym.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 0x6291fb46
lea eax, [ebx + 8]
mov dword [ebx + 4], 0
mov dword [ebx], eax
mov byte [ebx + 8], 0
jmp 0x6291fb74
mov eax, dword [ebp - 0x48]
mov ecx, ebx
mov dword [esp], eax
call fcn.62a697e0
push eax
jmp 0x6291fb74
lea ecx, [ebp - 0x48]
call sym.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 0x6292a87c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x20]
mov dword [esp], eax
call fcn.62a65244
push esi
xor esi, esi
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
cmp ebx, esi
je 0x6292a8ec
lea ecx, [edi + esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebp
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call method.std::char_traits_char_.find_char_const__unsigned_int__char_const_
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x6292a8d5
inc esi
jmp 0x6292a8ab
inc esi
je 0x6292a8ec
mov dword [esp + 4], ecx
mov dword [esp], edi
lea ecx, [esp + 0x20]
call sym.__ZNSt7__cxx1112basic_stringIcN3mpt14mpt_libopenmpt20encoding_char_traitsILNS2_15common_encodingE0ES4_EESaIcEE5eraseEN9__gnu_c
push ebx
push ebx
jmp 0x6292a935
test ebx, ebx
je 0x6292a935
test ebp, ebp
je 0x6292a935
dec ebx
mov esi, ebx
lea eax, [edi + esi]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call method.std::char_traits_char_.find_char_const__unsigned_int__char_const_
test eax, eax
jne 0x6292a91a
dec esi
cmp esi, 0xffffffff
jne 0x6292a8f7
jmp 0x6292a935
cmp ebx, esi
jne 0x6292a935
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], eax
mov byte [esp + 0x40], 0
jmp 0x6292a946
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
mov dword [esp], eax
call fcn.62a64a54
push ecx
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x6292a9b9
mov eax, dword [esp + 0x78]
lea esi, [ebx - 1]
mov edi, dword [esp + 0x38]
mov ebp, dword [eax + 4]
mov edx, dword [eax]
lea eax, [edi + esi]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [esp + 0x18], edx
call method.std::char_traits_char_.find_char_const__unsigned_int__char_const_
test eax, eax
je 0x6292a9a1
dec esi
mov edx, dword [esp + 0x18]
cmp esi, 0xffffffff
jne 0x6292a95e
test ebp, ebp
je 0x6292a9b9
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x70]
add eax, 8
mov dword [edx], eax
mov dword [edx + 4], 0
mov byte [edx + 8], 0
jmp 0x6292a9ca
lea eax, [edi + esi + 1]
add ebx, edi
mov dword [esp + 4], ebx
mov dword [esp], eax
lea ecx, [esp + 0x38]
call sym.__ZNSt7__cxx1112basic_stringIcN3mpt14mpt_libopenmpt20encoding_char_traitsILNS2_15common_encodingE0ES4_EESaIcEE5eraseEN9__gnu_c
push eax
push eax
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
call fcn.62a64a54
push edx
lea ecx, [esp + 0x38]
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::_M_dispose__
lea ecx, [esp + 0x20]
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::_M_dispose__
mov eax, dword [esp + 0x70]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6297c468
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
mov dword [esp + 0xc], ecx
call method.OpenMPT::CSoundFile.ProcessRow__
test al, al
je 0x6297c48d
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x1064f4], 0
je 0x6297c48d
add esp, 0x1c
jmp method.OpenMPT::CSoundFile.ReadNote____clone_.part.0_
xor eax, eax
add esp, 0x1c
ret
Function at 0x62982fb4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov eax, 0x102c
push edi
push esi
push ebx
call fcn.62915eb0
sub esp, eax
mov ebx, ecx
mov eax, dword [ecx]
mov esi, dword [esp + 0x1040]
call dword [eax + 0x78]
xor al, 1
mov byte [esp + 0x14], al
je 0x62982fe1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x30]
sub edx, eax
xor ebp, ebp
sar edx, 0xb
cmp edx, ebp
fldz
je 0x6298308e
xor ecx, ecx
fst dword [eax + ecx]
add ecx, 4
cmp ecx, 0x800
jne 0x62982ffa
fstp st(0)
inc ebp
add eax, 0x800
jmp 0x62982fee
mov edx, esi
cmp esi, 0x200
jbe 0x62983021
mov edx, 0x200
lea ebp, [esp + 0x20]
xor eax, eax
mov ecx, 0x400
mov edi, ebp
rep stosd dword es:[edi], eax
fstp dword [esp + 0x1c]
lea ecx, [esp + 0x820]
mov eax, dword [ebx]
mov dword [esp + 8], edx
mov dword [esp + 0x18], edx
mov dword [esp + 4], ecx
mov dword [esp], ebp
mov ecx, ebx
call dword [eax + 0x3c]
xor ecx, ecx
sub esp, 0xc
fld dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
fld dword [ebp + ecx*4]
fabs
fcom st(1)
fnstsw ax
sahf
ja 0x6298306f
fstp st(0)
jmp 0x62983071
fstp st(1)
fld dword [ebp + ecx*4 + 0x800]
fabs
fcom st(1)
fnstsw ax
sahf
ja 0x62983085
fstp st(0)
jmp 0x62983087
fstp st(1)
inc ecx
cmp ecx, edx
jne 0x6298305e
sub esi, ecx
test esi, esi
jne 0x62983012
cmp byte [esp + 0x14], 0
je 0x629830ab
fstp dword [esp + 0x14]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
fld dword [esp + 0x14]
add esp, 0x102c
pop ebx
pop esi
pop edi
pop ebp
ret 4