joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401410
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 9
jg 0x401487
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 9
jg 0x401480
mov eax, dword [ebp - 8]
add eax, eax
mov word [ebp - 4], ax
mov eax, dword [ebp - 0xc]
add eax, eax
mov word [ebp - 2], ax
mov dword [esp], 0xfffffff5
call sub.KERNEL32.dll_GetStdHandle
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 4]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_SetConsoleCursorPosition
sub esp, 8
mov dword [esp + 4], 0x441002
mov dword [esp], 0x4443c0
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea eax, [ebp - 0xc]
inc dword [eax]
jmp 0x40142a
lea eax, [ebp - 8]
inc dword [eax]
jmp 0x40141d
leave
ret

Function at 0x40148a
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 9
jg 0x401591
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 9
jg 0x401587
mov eax, dword [ebp - 8]
add eax, eax
mov word [ebp - 4], ax
mov eax, dword [ebp - 0xc]
add eax, eax
mov word [ebp - 2], ax
mov dword [esp], 0xfffffff5
call sub.KERNEL32.dll_GetStdHandle
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 4]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_SetConsoleCursorPosition
sub esp, 8
mov edx, dword [ebp - 8]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
cmp dword [edx + eax], 0xffffffff
jne 0x40151c
mov dword [esp + 4], 0x441002
mov dword [esp], 0x4443c0
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
jmp 0x40157d
mov edx, dword [ebp - 8]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
cmp dword [edx + eax], 0xfffffffe
jne 0x401551
mov dword [esp + 4], 0x441004
mov dword [esp], 0x4443c0
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
jmp 0x40157d
mov edx, dword [ebp - 8]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [edx + eax]
mov dword [esp + 4], eax
mov dword [esp], 0x4443c0
call method.std::ostream.operator___int_
lea eax, [ebp - 0xc]
inc dword [eax]
jmp 0x4014a8
lea eax, [ebp - 8]
inc dword [eax]
jmp 0x401497
leave
ret
Function at 0x401594
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 9
jg 0x401630
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 9
jg 0x401626
mov eax, dword [ebp - 8]
add eax, eax
add eax, 0x14
mov word [ebp - 4], ax
mov eax, dword [ebp - 0xc]
add eax, eax
add eax, 0x14
mov word [ebp - 2], ax
mov dword [esp], 0xfffffff5
call sub.KERNEL32.dll_GetStdHandle
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 4]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_SetConsoleCursorPosition
sub esp, 8
mov edx, dword [ebp - 8]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [edx + eax]
mov dword [esp + 4], eax
mov dword [esp], 0x4443c0
call method.std::ostream.operator___int_
lea eax, [ebp - 0xc]
inc dword [eax]
jmp 0x4015b2
lea eax, [ebp - 8]
inc dword [eax]
jmp 0x4015a1
leave
ret
Function at 0x40a160
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40a196
mov dword [0x448560], eax
mov edx, sym.get_globals_dtor_void_
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.___mingwthr_key_dtor
test eax, eax
sete al
movzx eax, al
mov dword [0x440040], eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [0x440040], eax
leave
ret

Function at 0x40a280
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0xc]
sub esp, 0x68
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], sym.___gxx_personality_sj0
mov dword [ebp - 0x24], 0x43f554
mov dword [ebp - 0x1c], 0x40a340
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
cmp dword [0x440040], 0
mov dword [ebp - 0x44], 0x448570
je 0x40a320
jl 0x40a360
mov dword [ebp - 0x3c], 1
mov eax, dword [0x448560]
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x54]
sub esp, 4
test eax, eax
mov dword [ebp - 0x48], eax
je 0x40a403
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
lea esi, [esi]
lea eax, [ebp - 0x40]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [0x448b50]
mov eax, 0xffffffff
test edx, edx
je 0x40a37a
mov eax, dword [0x440044]
test eax, eax
je 0x40a3ba
xor eax, eax
test eax, eax
jne 0x40a3b0
mov edi, dword [0x440040]
test edi, edi
js 0x40a3b0
mov dword [ebp - 0x44], 0x448570
mov ebx, dword [0x440040]
test ebx, ebx
je 0x40a320
jmp 0x40a2ce
xor esi, esi
mov dword [0x440040], esi
jmp 0x40a388
mov dword [esp], 0x440048
mov dword [ebp - 0x3c], 1
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
je 0x40a441
mov eax, dword [0x440044]
test eax, eax
jne 0x40a378
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x3c], 1
call eax
sub esp, 4
mov eax, dword [0x440044]
test eax, eax
je 0x40a3dd
jmp 0x40a378
mov dword [esp], 8
call sym._malloc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x40a435
mov dword [esp + 4], eax
mov eax, dword [0x448560]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
xor edx, edx
test eax, eax
je 0x40a46a
test edx, edx
je 0x40a455
mov dword [ebp - 0x3c], 1
call method.std.terminate__
call sym.get_globals_init__
mov eax, 1
mov dword [0x440044], eax
jmp 0x40a378
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x40a316
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x40a431
Function at 0x40bf40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0040bf20
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sym._read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x40bf8c
call sym.__errno
cmp dword [eax], 4
je 0x40bf60
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40df60
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x448ba0]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40dfa0
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call sym.___mingwthr_key_dtor
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x40e350
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x448ba0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40e42c
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40e441
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40e400
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x40e398
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x40e3a8
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x40e3f3
test edx, edx
jne 0x40e3e6
test ecx, ecx
je 0x40e390
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call ecx
cmp eax, 6
je 0x40e450
cmp eax, 8
je 0x40e390
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x40e382
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448ba0]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jns 0x40e374
call sym._fc_key_init_once
mov eax, dword [0x448ba0]
jmp 0x40e374
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40e3eb
mov eax, dword [0x448ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e4a3
mov edi, dword [eax + 0x30]
test edi, edi
js 0x40e4ce
mov esi, dword [eax + 0x30]
test esi, esi
jne 0x40e4af
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448ba0]
jmp 0x40e481
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40e492
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e492
call sym._fc_key_init_once
mov eax, dword [0x448ba0]
jmp 0x40e488
Function at 0x40e5d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov eax, dword [0x448ba0]
test eax, eax
je 0x40e630
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40e650
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40e670
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
je 0x40e6c0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448ba0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40e5f2
jmp 0x40e650
call sym._fc_key_init_once
mov eax, dword [0x448ba0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40e5f9
jmp 0x40e670
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
sub esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
jne 0x40e621
lea esi, [esi]
mov eax, dword [0x448ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e70d
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40e719
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40e6ee
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40e6dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e6dd
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448ba0]
jmp 0x40e6cc
call sym._fc_key_init_once
mov eax, dword [0x448ba0]
jmp 0x40e6d3
Function at 0x40e730
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x448ba0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40e7c4
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40e7e0
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40e800
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x40e7b8
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40e87f
mov eax, dword [0x448ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e856
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40e870
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40e830
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
jmp 0x40e775
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448ba0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40e750
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x448ba0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40e75b
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x40e75e
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40e7a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e7a7
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448ba0]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x40e799
nop
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x448ba0]
jmp 0x40e799
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x40e890
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x40e922
mov eax, dword [0x448ba0]
test eax, eax
je 0x40e916
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x40e991
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x40e937
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
jne 0x40e9af
mov eax, dword [0x448ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e982
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40e9a0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40e963
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448ba0]
jmp 0x40e8b2
mov dword [esp], edi
call sym.__Unwind_SjLj_RaiseException
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x40e8c7
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40e905
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e905
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448ba0]
jmp 0x40e8f0
call sym._fc_key_init_once
mov eax, dword [0x448ba0]
jmp 0x40e8bd
call sym._fc_key_init_once
mov eax, dword [0x448ba0]
jmp 0x40e8fb
call sym._abort
lea esi, [esi]
lea edi, [edi]

Function at 0x40eb60
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov edx, eax
je 0x40eb90
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.___mingwthr_key_dtor
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret
Function at 0x4118e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init

Function at 0x412250
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
call sym._fread
test eax, eax
mov edx, eax
jle 0x4122a0
movzx eax, byte [esi + eax - 1]
mov dword [ebx + 0x24], eax
mov ebx, dword [ebp - 8]
mov eax, edx
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x24], 0xffffffff
mov eax, edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x401d60
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
xor byte [esi + section..syhua], 0xee
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0xcb
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x94
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x1b
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x96
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x40
push str.ujdishXABh78373377
call fcn.004010e0
xor byte [esi + section..syhua], 0xa
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x9a
push str.ujdishXABh78373377
call fcn.004010e0
xor byte [esi + section..syhua], 0x2e
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0xcc
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x74
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x6f
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x38
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x71
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0xbb
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x6c
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x38
add esp, 0x40
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0xda
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x7d
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0xda
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x8b
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x41
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x31
push str.ujdishXABh78373377
call fcn.004010e0
xor byte [esi + section..syhua], 0x2e
push str.ujdishXABh78373377
call fcn.004010e0
xor byte [esi + section..syhua], 0x37
push str.ujdishXABh78373377
call fcn.004010e0
xor byte [esi + section..syhua], 0x45
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x70
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x7c
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 5
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x4a
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0xf8
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0x2a
push str.ujdishXABh78373377
call fcn.004010e0
add byte [esi + section..syhua], 0xf6
add esp, 0x40
push str.ujdishXABh78373377
call fcn.004010e0
xor byte [esi + section..syhua], 0xd9
push str.ujdishXABh78373377
call fcn.004010e0
inc esi
add esp, 8
cmp esi, 0x2b800
jb 0x401d63
pop esi
ret
Function at 0x401fc0
Capabilities:
Encode data using xor
Hash data using murmur2
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
mov eax, dword [0x433010]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
mov ebx, dword [0x460800]
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x3c]
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + ebx + 0x78]
mov eax, dword [ecx + ebx + 0x20]
add ecx, ebx
mov dword [esp + 0x28], ecx
add eax, ebx
mov dword [esp + 0x14], eax
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x40219a
mov edx, dword [eax]
xorps xmm0, xmm0
add edx, ebx
mov dword [esp + 0x3c], 0
mov eax, edx
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x2c], xmm0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402031
sub eax, esi
lea ecx, [esp + 0x2c]
push eax
push edx
call fcn.004044f0
mov edi, dword [esp + 0x3c]
lea ebx, [esp + 0x2c]
mov esi, edi
xor esi, 0x36c
cmp dword [esp + 0x40], 0x10
cmovae ebx, dword [esp + 0x2c]
push ebx
shr edi, 2
push edi
push str._x_and__p
call fcn.004010e0
add esp, 0xc
xor edx, edx
test edi, edi
je 0x4020a1
nop word [eax + eax]
imul ecx, dword [ebx + edx*4], 0x5bd1e995
inc edx
imul esi, esi, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
xor esi, ecx
cmp edx, edi
jl 0x402080
mov eax, dword [esp + 0x3c]
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x4020cb
sub eax, 1
je 0x4020c1
sub eax, 1
jne 0x4020d9
movsx ecx, byte [ebx + edi*4 + 2]
shl ecx, 0x10
movsx eax, byte [ebx + edi*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [ebx + edi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e995
xor esi, eax
mov eax, esi
shr eax, 0xd
xor eax, esi
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
cmp eax, dword [esp + 0x20]
je 0x402149
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
add eax, 4
mov dword [esp + 0x14], eax
cmp ecx, 0x10
jb 0x402138
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40212a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4021b3
push ecx
push edx
call fcn.00407219
mov eax, dword [esp + 0x1c]
add esp, 8
mov ebx, dword [esp + 0x18]
inc ebp
cmp ebp, dword [esp + 0x24]
jb 0x402010
jmp 0x40219a
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + ebx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
cmp ecx, 0x10
jb 0x40219a
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402190
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4021b3
push ecx
push edx
call fcn.00407219
add esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
add eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004071d6
add esp, 0x3c
ret
call fcn.0040e4ed
int3