joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70b400
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x7ee12c], eax
je 0x70b417
add esp, 0xc
ret
call sym._abort
lea esi, [esi]

Function at 0x70b910
Capabilities:
Print debug messages

Disassembly:
test eax, eax
je 0x70b940
push edi
push esi
push ebx
mov ebx, eax
add esp, 0xffffff80
mov dword [esp], eax
call sym._pthread_spin_destroy
cmp eax, 1
je 0x70b942
mov dword [ebx], 0xffffffff
sub esp, 0xffffff80
pop ebx
pop esi
pop edi
ret
repz ret
lea ebx, [esp + 0x15]
mov esi, str.Error_cleaning_up_spin_keys_for_thread
mov ecx, 0xa
xor eax, eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x3d]
mov ecx, 0x43
rep stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp + 0x3c]
mov dword [esp + 8], 0xa
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.msvcrt.dll__ultoa]
cmp byte [esp + 0x3c], 0
mov eax, 0x27
jne 0x70b995
jmp 0x70b9b2
cmp eax, 0x6a
je 0x70b9a3
add eax, 1
cmp byte [ebx + eax], 0
jne 0x70b990
cmp eax, 0x6a
jne 0x70b9b2
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call sym._abort
mov byte [esp + eax + 0x15], 0xa
mov byte [esp + eax + 0x16], 0
jmp 0x70b9a3
Function at 0x70ba40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp dword [0x949208], 1
je 0x70ba55
call sym.__pthread_once_raw.part.5.constprop.11
mov eax, dword [0x7ee12c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x70ba80
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sym._pop_pthread_mem
mov esi, eax
mov eax, dword [entry3]
test eax, eax
je 0x70ba6c
test esi, esi
je 0x70ba6c
mov dword [esi + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x3c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x38]
sub esp, 0x10
mov dword [esi + 0x1c], 0xffffffff
call sym._replace_spin_keys.constprop.10
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi + 0x64], 0
mov dword [esi + 0x14], 0
call ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, eax
call ebx
lea edx, [esi + 0x14]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je 0x70bb82
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esi + 0x6c], eax
movzx eax, byte [esi + 0x20]
sub esp, 4
mov dword [esi + 0x68], 0
and eax, 0xffffffcf
or eax, 0x10
mov byte [esi + 0x20], al
mov eax, dword [0x7ee12c]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x70bb82
add esp, 0x2c
mov ebx, esi
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sym._abort
mov esi, esi
lea edi, [edi]
Function at 0x70bcc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x70bcf0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x70bd91
add esp, 0x10
mov eax, 1
pop ebx
pop esi
pop edi
ret 0xc
cmp eax, 1
je 0x70bdc0
cmp eax, 3
jne 0x70bcda
mov eax, dword [0x7ee12c]
cmp eax, 0xffffffff
je 0x70bcda
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x70bcda
test byte [eax + 0x20], 0x30
je 0x70bde2
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x70bee4
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x70bd64
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x70bd56
mov dword [esp], eax
call esi
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call sym._pthread_mutex_destroy
lea eax, [ebx + 0x38]
call sym._replace_spin_keys.constprop.10
mov esi, dword [ebx + 0xb0]
test esi, esi
jne 0x70be69
mov eax, ebx
call sym._push_pthread_mem.part.2
jmp 0x70be69
mov eax, dword [0x9491e4]
test eax, eax
je 0x70bcda
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov dword [0x9491e4], 0
sub esp, 4
jmp 0x70bcda
mov dword [esp + 4], sym._SetThreadName_VEH_4
mov dword [esp], 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
sub esp, 8
mov dword [0x9491e4], eax
jmp 0x70bcda
mov edx, dword [ebx + 0x68]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x70be90
test eax, eax
je 0x70be00
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebx + 0xb4]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x68], 1
test eax, eax
jne 0x70bec0
test byte [ebx + 0x24], 4
lea edi, [ebx + 0x1c]
lea esi, [ebx + 0x38]
je 0x70bed0
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x70be45
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebx + 0x14], 0
mov dword [esp], edi
call sym._pthread_mutex_destroy
mov eax, esi
call sym._replace_spin_keys.constprop.10
mov ecx, dword [ebx + 0xb0]
test ecx, ecx
je 0x70bd85
mov eax, dword [0x7ee12c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
jmp 0x70bcda
test eax, eax
je 0x70bea0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
lea eax, [ebx + 0x1c]
mov dword [ebx + 0x18], 0
mov dword [esp], eax
call sym._pthread_mutex_destroy
lea eax, [ebx + 0x38]
call sym._replace_spin_keys.constprop.10
jmp 0x70bcda
call sym.__pthread_cleanup_dest.part.8
jmp 0x70be1c
mov dword [esp], edi
call sym._pthread_mutex_destroy
mov eax, esi
call sym._replace_spin_keys.constprop.10
jmp 0x70bcda
call sym.__pthread_cleanup_dest.part.8
jmp 0x70bd32
Function at 0x70befa
Capabilities:
Set thread local storage value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov eax, dword [ecx]
mov dword [esp], 0x7ee124
mov esi, eax
mov dword [ebp - 0x1c], eax
lea ebx, [esi + 0x1c]
call sym._pthread_mutex_lock
mov dword [esp], ebx
call sym._pthread_mutex_lock
cmp dword [0x949208], 1
je 0x70bf30
call sym.__pthread_once_raw.part.5.constprop.11
mov esi, dword [ebp - 0x1c]
mov eax, dword [0x7ee12c]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x3c], eax
mov dword [esp], ebx
call sym._pthread_mutex_unlock
lea eax, [esi + 0x70]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.__setjmp3
test eax, eax
je 0x70c001
mov dword [esp], 0x7ee124
call sym._pthread_mutex_lock
mov esi, dword [ebp - 0x1c]
lea ebx, [esi + 0x1c]
mov dword [esp], ebx
call sym._pthread_mutex_lock
mov eax, esi
mov esi, dword [esi + 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x70bfa3
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
je 0x70c04b
mov dword [esp], ebx
call sym._pthread_mutex_unlock
mov dword [esp], ebx
call sym._pthread_mutex_destroy
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1c], 0xffffffff
mov dword [eax + 0x68], 1
jmp 0x70bfe8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push eax
mov dword [esp], 0x7ee124
call sym._pthread_mutex_unlock
test eax, eax
je 0x70bfda
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov dword [esp], 0x7ee124
call sym._pthread_mutex_unlock
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
test eax, eax
je 0x70c096
mov edx, dword [edx + 4]
mov dword [esp], edx
call eax
mov ebx, eax
mov dword [esp], 0x7ee124
call sym._pthread_mutex_lock
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], ebx
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x70bf7f
call sym.__pthread_cleanup_dest.part.8
jmp 0x70bf7f
mov edi, dword [ebp - 0x1c]
mov dword [edi], 0xdeadbeef
mov dword [esp], ebx
call sym._pthread_mutex_unlock
mov dword [esp], ebx
call sym._pthread_mutex_destroy
test edi, edi
je 0x70c079
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xb0], 0
jne 0x70c079
call sym._push_pthread_mem.part.2
mov eax, dword [0x7ee12c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
push edx
jmp 0x70bfe8
mov ebx, pe_nt_image_headers32
jmp 0x70c021
Function at 0x70c850
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call sym.___pthread_self_lite
mov ebx, eax
mov dword [eax + 4], esi
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x70c8d2
test byte [ebx + 0x20], 0x30
jne 0x70c886
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym._longjmp
mov eax, dword [0x7ee12c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
push edx
mov ebx, eax
je 0x70c8c9
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x70c916
test eax, eax
mov esi, dword [ebx + 4]
mov dword [ebx + 0x68], 1
je 0x70c8bc
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
test byte [ebx + 0x24], 4
mov dword [ebx + 0x18], 0
jne 0x70c8d9
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
call sym.__pthread_cleanup_dest.part.8
jmp 0x70c86d
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
cmp dword [ebx + 0xb0], 0
mov dword [ebx + 0x14], 0
je 0x70c93d
mov eax, dword [0x7ee12c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push eax
jmp 0x70c8c9
test eax, eax
mov dword [ebx], 0xdeadbeef
je 0x70c92a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
cmp dword [ebx + 0xb0], 0
mov dword [ebx + 0x18], 0
mov esi, dword [ebx + 4]
jne 0x70c8fc
mov eax, ebx
call sym._push_pthread_mem.part.2
jmp 0x70c8fc
Function at 0x725db0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x24
cmp byte [0x7effb4], 0
jne 0x725e8d
mov byte [0x7effb4], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x725ecc
mov ebx, dword [eax + 4]
cmp byte [ebx], 0x2a
je 0x725eba
lea eax, [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
call sym.___cxa_demangle
mov esi, eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
cmp dword [esp + 0x1c], 0
mov dword [esp + 4], eax
je 0x725e83
mov dword [esp], ebx
call sym._fputs
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x86c66d
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
cmp dword [esp + 0x1c], 0
je 0x725ec2
call sym.___cxa_rethrow
mov dword [esp], esi
call sym._fputs
jmp 0x725e4f
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
call sym._abort
add ebx, 1
jmp 0x725de2
mov dword [esp], esi
call sym._free
jmp 0x725e7e
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
call sym._abort
sub edx, 1
mov dword [esp], eax
jne 0x725f6a
call sym.___cxa_begin_catch
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov ebx, eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str.__what__:
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], ebx
add eax, 0x40
mov dword [esp + 4], eax
call sym._fputs
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], 0xa
add eax, 0x40
mov dword [esp + 4], eax
call sym._fputc
call sym.___cxa_end_catch
jmp 0x725ef4
call sym.___cxa_begin_catch
call sym.___cxa_end_catch
jmp 0x725ef4
Function at 0x7a0bc0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [ecx + 0x9c0]
push ebp
push edi
push esi
push ebx
cmp eax, 0x26f
lea edx, [eax + 1]
ja 0x7a0c10
mov eax, dword [ecx + eax*4]
mov dword [ecx + 0x9c0], edx
pop ebx
pop esi
mov edx, eax
shr edx, 0xb
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor edx, eax
mov eax, edx
shl eax, 0xf
and eax, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
pop edi
pop ebp
ret
mov edi, dword [ecx]
lea ebp, [ecx + 0x38c]
mov eax, ecx
mov edx, ecx
lea esi, [esi]
and edi, 0x80000000
mov ebx, edi
mov edi, dword [edx + 4]
mov esi, edi
and esi, 0x7fffffff
or esi, ebx
mov ebx, esi
shr ebx, 1
xor ebx, dword [edx + 0x634]
and esi, 1
je 0x7a0cf3
xor ebx, 0x9908b0df
add edx, 4
mov dword [edx - 4], ebx
cmp ebp, edx
jne 0x7a0c20
mov ebx, dword [ecx + 0x38c]
lea esi, [ecx + 0x630]
mov edx, ebx
mov ebx, dword [eax + 0x390]
and edx, 0x80000000
mov edi, ebx
and edi, 0x7fffffff
or edi, edx
mov edx, edi
shr edx, 1
xor edx, dword [eax]
and edi, 1
je 0x7a0ce0
xor edx, 0x9908b0df
add eax, 4
mov dword [eax + 0x388], edx
cmp esi, eax
jne 0x7a0c64
mov edx, dword [ecx + 0x9bc]
mov eax, dword [ecx]
and edx, 0x80000000
and eax, 0x7fffffff
or edx, eax
mov eax, edx
shr eax, 1
xor eax, dword [ecx + 0x630]
mov ebx, eax
xor ebx, 0x9908b0df
and edx, 1
mov edx, 1
cmovne eax, ebx
mov dword [ecx + 0x9bc], eax
xor eax, eax
jmp 0x7a0bd4
mov dword [eax + 0x38c], edx
add eax, 4
cmp eax, esi
jne 0x7a0c64
jmp 0x7a0c9a
mov dword [edx], ebx
add edx, 4
cmp edx, ebp
jne 0x7a0c20
jmp 0x7a0c58
Function at 0x7c9360
Capabilities:
Parse credit card information

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov edx, dword [ecx + 0x94]
mov esi, dword [ecx + 0x98]
cmp edx, esi
je 0x7c9390
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x7c93a2
cmp eax, 2
je 0x7c93b0
cmp eax, 1
je 0x7c93c0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ecx + 0x84], 0x1b
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp method.std::__detail::_Scanner_char_._M_scan_normal__
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp method.std::__detail::_Scanner_char_._M_scan_in_bracket__
mov ebx, ecx
lea ecx, [edx + 1]
mov edi, dword [ebx + 0x9c]
mov dword [ebx + 0x94], ecx
movzx ebp, byte [edx]
mov edi, dword [edi + 0x18]
mov eax, ebp
test byte [edi + ebp*2], 8
jne 0x7c9440
cmp al, 0x2c
je 0x7c9430
test dword [ebx + 0x80], 0x120
je 0x7c94d2
cmp al, 0x5c
jne 0x7c94ec
cmp esi, ecx
je 0x7c94ec
cmp byte [edx + 1], 0x7d
jne 0x7c94ec
add edx, 2
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x84], 0xd
mov dword [ebx + 0x94], edx
jmp 0x7c9388
mov dword [ebx + 0x84], 0x19
jmp 0x7c9388
movsx eax, al
mov dword [ebx + 0x84], 0x1a
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xa4]
lea esi, [ebx + 0xa0]
mov dword [esp], 0
mov ecx, esi
mov dword [esp + 4], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_replace_aux_unsigned_int__unsigned_int__unsigned_int__char_
mov eax, dword [ebx + 0x94]
sub esp, 0x10
cmp dword [ebx + 0x98], eax
jne 0x7c94bb
jmp 0x7c9388
lea edx, [eax + 1]
mov ecx, esi
mov dword [ebx + 0x94], edx
movsx eax, byte [eax]
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.push_back_char_
mov eax, dword [ebx + 0x94]
sub esp, 4
cmp eax, dword [ebx + 0x98]
je 0x7c9388
mov edx, dword [ebx + 0x9c]
movzx ecx, byte [eax]
mov edx, dword [edx + 0x18]
test byte [edx + ecx*2], 8
jne 0x7c9490
jmp 0x7c9388
cmp al, 0x7d
jne 0x7c94ec
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x84], 0xd
jmp 0x7c9388
mov dword [esp + 4], str.Unexpected_character_in_brace_expression.
mov dword [esp], 7
call method.std.__throw_regex_error_std::regex_constants::error_type__char_const_

Function at 0x7e1830
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10002e90
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x10002eb4
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x10002f20
push 0
push 0
call fcn.10092ac7
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret

Function at 0x10002ed0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0xc], eax
je 0x10002f18
cmp byte [ebp + 8], 0
je 0x10002f18
mov eax, dword [esi + 8]
test eax, eax
je 0x10002f18
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10002f18
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 8], 0
pop esi
pop ebp
ret 8
Function at 0x10006330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7b26
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.10068410
mov eax, dword [0x100f4384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1010]
push 0x1000
push 0
mov dword [ebp - 0x1034], esi
push eax
mov dword [ebp - 0x1030], 1
call fcn.1008f5e0
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x102c], 0x800
push str.TK8Fj70YG_v_3_vPPg7Vdm30XuBkLQEO1THF4mZ06i_foDUuatiCLqo3UQuDlAcNYT9wv6OGo2LxfcPIj7LcA
push eax
call fcn.1003e690
add esp, 0x14
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x102c]
push ecx
lea ecx, [ebp - 0x1010]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x1030]
push ecx
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push str.InstallLocation
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10006422
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.User_DataDefault
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebx + 0x58]
cmp dword [eax - 0xc], 0
je 0x10006422
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10006280
mov ecx, eax
test ecx, ecx
je 0x100064d9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.10005920
test al, al
jne 0x1000647e
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006460
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10006dc0
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x100064ba
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100064b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100064e3
push edx
push ecx
call fcn.10068042
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100683c1
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100058e0
call fcn.10092d65
int3