joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403c81
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407c48
cmp edx, dword [eax]
je 0x403ca3
add eax, 8
inc ecx
cmp eax, 0x407cd8
jl 0x403c94
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407c48]
jne 0x403dd1
mov eax, dword [0x408998]
cmp eax, 1
je 0x403dab
test eax, eax
jne 0x403cd4
cmp dword [0x407a34], 1
je 0x403dab
cmp edx, 0xfc
je 0x403dd1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403d0b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404540
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404630
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403d4e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404630
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406470
push edi
call fcn.00404a70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404540
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404550
lea eax, [ebp - 0xa0]
push 0x406450
push eax
call fcn.00404550
push dword [esi + 0x407c4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404550
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004049e5
add esp, 0x2c
pop edi
jmp 0x403dd1
lea eax, [ebp + 8]
lea esi, [esi + 0x407c4c]
push 0
push eax
push dword [esi]
call fcn.00404630
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 0x401040
Capabilities:
Enumerate processes
Get file system object information
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40181b
push eax
mov dword fs:[0], esp
sub esp, 0x290
push ebx
push ebp
mov ebp, dword [esp + 0x2a8]
push esi
test ebp, ebp
push edi
je 0x40116c
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x10]
push 0
inc esi
push 2
mov dword [esp + 0x18], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x40116c
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40116c
push 0x4031dc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x140]
push 0x101
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x144]
push 0x160
push ecx
lea edx, [esp + 0x48]
push eax
push edx
call ebx
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
mov edi, eax
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x40111a
lea ecx, [esp + 0x14]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.004015e2
test edi, edi
je 0x40116c
jmp 0x4010b3
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x2a8], 0xffffffff
call fcn.004015e2
cmp dword [esp + 0x10], 0x28
je 0x401147
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40107c
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x29c
ret
Function at 0x401370
Capabilities:
Accept command line arguments
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x401868
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call sub.MFC42.DLL_AfxWinInit
test eax, eax
jne 0x4013d8
mov eax, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push str.Fatal_Error:_MFC_initialization_failed
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 0xc
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 4]
test eax, eax
je 0x4014d6
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 4]
lea edx, [esp + 0x24]
push ecx
push str.CWCleanTools___bedin___The_process_want_ro_destroy_is__s
push edx
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xc
push eax
call edi
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenEventA]
add esp, 4
mov ebx, eax
xor esi, esi
test esi, esi
je 0x40143d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
lea edx, [esp + 0x28]
push str.GlobalCWClientExitEvent__u
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x30]
add esp, 0xc
push eax
push 1
push 0x100000
call ebp
mov esi, eax
lea ecx, [esp + 0x24]
push esi
push str.CWCleanTools___bedin___The_EventHandle_is__ld
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x30]
add esp, 0xc
push edx
call edi
test esi, esi
je 0x4014b0
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401432
lea eax, [esp + 0x24]
push str.CWCleanTools___end___receive_close_event
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x2c]
add esp, 8
push ecx
call edi
push ebx
call fcn.00401040
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.004015e2
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x401676
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402180
push 0x4017de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40321c], 0xffffffff
or dword [0x403220], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x403214]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x403210]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403218], eax
call fcn.004017cb
cmp dword [0x403110], 0
jne 0x4016f9
push 0x4017c8
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004017b0
push 0x403018
push 0x403014
call sub.MSVCRT.dll__initterm
mov eax, dword [0x40320c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x403208]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x403010
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401370
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x4ae0f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6e000]
push edi
or ebp, 0xffffffff
jmp 0x4ae112
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ae119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ae108
mov eax, 1
add ebx, ebx
jne 0x4ae12b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ae13c
jne 0x4ae15b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ae15b
dec eax
add ebx, ebx
jne 0x4ae148
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ae120
add ebx, ebx
jne 0x4ae157
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ae1ad
xor ecx, ecx
sub eax, 3
jb 0x4ae173
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ae1e2
sar eax, 1
mov ebp, eax
jmp 0x4ae17e
add ebx, ebx
jne 0x4ae17e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ae14c
inc ecx
add ebx, ebx
jne 0x4ae18c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ae14c
add ebx, ebx
jne 0x4ae199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ae18e
jne 0x4ae1aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ae18e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ae1cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ae1be
jmp 0x4ae10e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ae1cc
add edi, ecx
jmp 0x4ae10e
pop esi
mov edi, esi
mov ecx, 0x3493
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ae1ea
cmp byte [edi], 0x4c
jne 0x4ae1ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4ae1ef
lea edi, [esi + 0xaa000]
mov eax, dword [edi]
or eax, eax
je 0x4ae267
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb5140]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb5294]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ae21c
mov ecx, edi
jns 0x4ae24b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb5298]
or eax, eax
je 0x4ae261
mov dword [ebx], eax
add ebx, 4
jmp 0x4ae239
call dword [esi + 0xb52a8]
mov ebp, dword [esi + 0xb529c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ae29b
sub esp, 0xffffff80
jmp 0x417770
Function at 0x56e9f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xab000]
push edi
or ebp, 0xffffffff
jmp 0x56ea12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56ea19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56ea08
mov eax, 1
add ebx, ebx
jne 0x56ea2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56ea20
jne 0x56ea3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56ea20
xor ecx, ecx
sub eax, 3
jb 0x56ea50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56eac2
mov ebp, eax
add ebx, ebx
jne 0x56ea5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x56ea68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x56ea8c
inc ecx
add ebx, ebx
jne 0x56ea78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56ea6d
jne 0x56ea89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56ea6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56eaac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56ea9d
jmp 0x56ea0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56eaac
add edi, ecx
jmp 0x56ea0e
pop esi
mov edi, esi
mov ecx, 0x401c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56eaca
cmp byte [edi], 0x13
jne 0x56eaca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x56eacf
lea edi, [esi + 0x16b000]
mov eax, dword [edi]
or eax, eax
je 0x56eb47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x174908]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x174a34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56eafc
mov ecx, edi
jns 0x56eb2b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x174a38]
or eax, eax
je 0x56eb41
mov dword [ebx], eax
add ebx, 4
jmp 0x56eb19
call dword [esi + 0x174a40]
mov ebp, dword [esi + 0x174a3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x56eb7b
sub esp, 0xffffff80
jmp 0x478073
Function at 0x4068bb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c60c], 0
push esi
jne 0x4068f2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4068cc
mov dword [ecx*4 + 0x42c608], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406923
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c608]
xor eax, esi
inc ecx
dec edx
jne 0x406905
pop edi
not eax
pop esi
ret 0xc

Function at 0x401de1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4060e0
cmp edx, dword [eax]
je 0x401e03
add eax, 8
inc ecx
cmp eax, 0x406170
jl 0x401df4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4060e0]
jne 0x401f31
mov eax, dword [0x4084c8]
cmp eax, 1
je 0x401f0b
test eax, eax
jne 0x401e34
cmp dword [0x406034], 1
je 0x401f0b
cmp edx, 0xfc
je 0x401f31
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401e6b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004023c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402570
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x401eae
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402570
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053b0
push edi
call fcn.00403c10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004023c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004023d0
lea eax, [ebp - 0xa0]
push 0x405390
push eax
call fcn.004023d0
push dword [esi + 0x4060e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004023d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403b84
add esp, 0x2c
pop edi
jmp 0x401f31
lea eax, [ebp + 8]
lea esi, [esi + 0x4060e4]
push 0
push eax
push dword [esi]
call fcn.00402570
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 0x5e3d85
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.005e3f35
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x5e3e83
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x5e3e26
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x5e3e69
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x5e3e3d
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x5e3e58
test al, 0x40
je 0x5e3e4f
mov ecx, dword [edi + 0x20]
jmp 0x5e3e56
test al, 0x80
je 0x5e3e69
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x5e3e69
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x5e3df5
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x87172b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dl, 0xf4
setae bh
bsr bp, bp
cpuid
pop dword [esp]
jmp 0x8716a3
sub esp, 0x1c
xchg esi, eax
popal
lea ebp, reloc.WINMM.dll_midiStreamOut
and cl, bh
jmp 0x87168d
pop dword [esp + 5]
setno ch
pop bp
push dword [esp + 7]
mov bp, dx
jmp 0x8716b5
add esp, 1
xchg esi, edi
pop eax
mov dh, byte [esp]
mov ax, word [esp]
sub esp, 0x12
jmp 0x87164c
push dword [esp + 9]
mov dx, di
not bh
inc dl
mov bl, 0x20
not ch
jmp 0x8716d2
mov al, 0x7e
xchg dword [esp + 0xb], ebp
cld
lea esp, [esp + 0xd]
add esp, 3
xchg byte [esp], cl
jmp 0x871799
mov bh, byte [esp + 3]
mov byte [esp + 4], ah
lea ebp, [eax + ebx]
bswap esi
xchg word [esp + 3], bp
xchg cx, dx
jmp 0x871773
xchg byte [esp], cl
mov byte [esp + 6], ch
call fcn.008716fb
bsr bp, bp
lea ebp, [edx + ebx]
clc
setle dh
jmp 0x871700
mov ax, 0x9afb
add esp, 0xe
xchg byte [esp], al
sub esp, 2
btr edi, esp
lea esp, [esp + 3]
jmp 0x87171f
sub esp, 0xa
lea esi, [ecx - 0x7b]
pop dword [esp + 0xe]
xchg word [esp + 0x13], si
jmp 0x871a15
push dword [esp + 2]
mov bh, byte [esp + 0xf]
mov esi, dword [esp + 1]
pop dword [esp + 0xa]
mov di, sp
mov al, ah
jmp 0x87175c
sub esp, 0x16
lea esi, [edx + edi]
not ax
mov dword [esp + 0xf], ebp
mov ebp, dword [esp + 2]
mov byte [esp + 1], ch
jmp 0x871746
mov bp, dx
mov word [esp], bx
lea esp, [esp]
push word [esp + 1]
cpuid
rcr ch, 5
jmp 0x871867
mov ah, byte [esp]
pop di
mov edx, dword [esp]
not ebx
xchg ebx, eax
mov ecx, ebp
jmp 0x8717b0
add al, dh
xchg dh, al
add esp, 0
bsf cx, si
bswap ecx
lea ebx, [esi - 0x45]
jmp 0x871841
btr edx, esp
add esp, 1
mov cl, 2
not dh
lea ebp, [edx + esi]
rdtsc
jmp 0x8717e8
cpuid
mov edi, ebp
mov al, ah
cmc
sete ch
push word [esp + 1]
jmp 0x871851
mov edi, esi
inc ebp
rdtsc
xchg dx, ax
bswap esi
lea esi, [esi - 0x9d]
jmp 0x87180f
lea esp, [esp]
shr ah, 1
stc
sub esp, 2
shl bp, cl
mov bl, 0x50
jmp 0x87182a
bsr si, cx
xchg byte [esp + 2], bl
mov ah, byte [esp + 4]
bswap ebp
jmp 0x8718a1
mov bx, 0x1b89
lea esi, reloc.WINMM.dll_midiStreamOut
lea esp, [esp + 1]
pop word [esp]
rdtsc
cpuid
jmp 0x8717fe
shr bh, 3
add esp, 3
btr ecx, edx
mov dh, byte [esp + 3]
btr ecx, edx
lea eax, [ebx*4]
jmp 0x87191e
lea esi, [esp + eax]
rdtsc
bsr si, bp
push word [esp + 1]
lea esp, [esp]
mov dh, byte [esp + 6]
jmp 0x871882
push edx
mov byte [esp + 1], ah
lea edi, reloc.WINMM.dll_midiStreamOut
call fcn.008718db
call 0x7f0afd89
stc
out 0x6b, eax
sti
sahf
insd dword es:[edi], dx
mov edi, 0xdbf8990e
btr ebx, edx
xchg byte [esp], al
xchg dword [esp], esi
mov bh, byte [esp + 3]
xchg ch, dl
pop word [esp]
jmp 0x8718fe
mov dx, bx
stc
mov ecx, dword [esp + 2]
mov ch, byte [esp + 1]
mov al, 6
lea ebp, reloc.WINMM.dll_midiStreamOut
jmp 0x8717d9
push esp
mov eax, dword [esp + 2]
mov cl, 0x82
mov word [esp], sp
xchg ah, bl
not esi
jmp 0x871946
lea edi, [edi*4]
bswap ebx
lea edi, [eax + edx]
pop dword [esp + 0xa]
mov al, 0x4e
add esp, 0x11
jmp 0x87199e
Function at 0x8719c5
Capabilities:
Execute anti-debugging instructions

Disassembly:
cpuid
lea ecx, [eax + 0xa9]
rdtsc
mov bp, 0x9c11
rdtsc
jmp 0x8719ca
sub esp, 0x1c
jmp 0x8719af
neg ch
mov cl, 0x92
mov word [esp + 0xd], di
push dword [esp + 0x18]
rcl bx, cl
jmp 0x8719fb

Function at 0x871c00
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
push edx
clc
xchg edx, esi
cmc
mov byte [esp + 5], dh
jmp 0x871984
lea edi, [esi + edi]
lea esp, [esp + 7]
xor dx, 0xafd4
jmp 0x8718b8
xchg ebp, esi
cpuid
mov ebx, dword [esp + 6]
rdtsc
neg cx
rcr dh, 7
jmp 0x8719e4
cpuid
xchg esi, eax
mov eax, 0x1b5ce632
cpuid
lea eax, [ebx + esi]
lea eax, [eax + edi]
jmp 0x87195f
and si, 0xe85a
cpuid
lea ebx, [edx + edi]
setno ch
push word [esp + 4]
call fcn.008719c5
mov cx, word [esp + 0x1c]
lea ecx, [ebx*4]
pop cx
mov edi, 0x2cc6d2bc
jmp 0x871af2
mov dword [esp], eax
mov di, word [esp + 4]
mov dl, 0x3c
pop edi
xchg si, dx
rdtsc
jmp 0x871a9d
sub al, 0x8b
rcl dword [eax - 0x2d]
dec edx
bsf bx, ax
xchg edx, esi
btr ecx, edx
mov dl, dh
btr eax, edx
mov edx, dword [esp + 3]
jmp 0x871a2f
lea esp, [esp + 7]
setne ch
add esp, 4
bsr si, bp
mov bl, bh
push esp
jmp 0x871a4b
xchg byte [esp], al
not dh
setp dh
xchg byte [esp], bl
cmc
inc edx
jmp 0x871aae
add al, dh
lea esp, [esp]
mov al, ah
mov dx, di
xchg edx, eax
add esp, 0
jmp 0x871a7c
cld
mov ebp, dword [esp]
xchg bh, cl
call 0x871aba
loopne 0x871a45
les ecx, [edi]
xor dword [esi - 0x79], esp
into
jmp 0x871b9f
inc ecx
pop ebp
not si
sub esp, 0xc
shr ah, 1
cld
jmp 0x871a69
mov ebx, dword [esp + 3]
cpuid
lea esp, [esp + 0x27]
mov word [esp], bx
lea ebp, [edx*4]
inc si
jmp 0x871ad0
lea ecx, reloc.WINMM.dll_midiStreamOut
mov cx, 0x4947
add esp, 3
xchg bp, ax
btc ecx, edi
jmp 0x871b84
mov di, word [esp + 0xa]
pop dx
lea ebp, [edx + edi]
push esp
sub dx, 0x848
jmp 0x871b0b
mov cx, 0xe2b9
pop edx
pop ecx
add esp, 0xc
lea esp, [esp + 1]
bsr si, bp
jmp 0x871b24
btc ebx, edi
lea eax, [ebp + 0xb7]
mov cx, 0x107d
pushal
pop dword [esp + 0x14]
rcr ch, 5
jmp 0x871b3c
xchg byte [esp + 2], al
push word [esp + 3]
pop ebx
xchg byte [esp + 6], dl
mov si, dx
cld
call fcn.00871b6e
jp 0x871bf2
les esi, [edi + 0x66]
inc ecx
inc cx
push dword [esp + 4]
mov word [esp + 4], bx
cmc
mov byte [esp + 7], ch
lea eax, [esi*4]
jmp 0x871b57
sbb al, 0x7b
xchg esi, eax
and byte [eax + 0x25d6b323], cl
mov ah, dh
adc dword [eax + reloc.WINMM.dll_midiStreamOut], edx
jmp 0x871bdc
setp dh
lea esp, [esp + 0xe]
xchg bx, si
lea eax, [eax - 0x51]
mov ebx, esi
sub esp, 0xe
jmp 0x871c86
pop edx
and cl, bh
mov ebp, ecx
sub esp, 4
mov dword [esp + 1], ebp
add esp, 0x2c
jmp 0x871cf4
mov ebp, 0x18728398
mov byte [esp + 0x15], ah
push word [esp + 0x12]
mov ax, 0x8f89
inc ecx
lea esi, [eax + 0xf1]
jmp 0x871c5e
add esp, 0xe
push dword [esp + 5]
pop bx
rdtsc
pop eax
call fcn.00871d08
movsb byte es:[edi], byte [esi]
and byte [esi - 0x2531df2f], dh
pop ebp
int 0x94
mov word [si], gs
aas
push es
mov cl, 0xb0
push word [esp + 2]
mov bl, 0x10
mov dword [esp + 2], ebp
mov bl, bh
sub esp, 0x1c
mov al, 0x76
jmp 0x871cd2