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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x40b555
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x40b5c0
jg 0x40b57b
test esi, esi
je 0x40b5c0
test ecx, ecx
jl 0x40b5fa
jg 0x40b585
test eax, eax
je 0x40b5fa
cmp edi, ecx
jg 0x40b595
jl 0x40b58f
cmp esi, eax
jae 0x40b595
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add dword [ebp + 8], ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
mov eax, dword [ebp + 8]
test edi, edi
jl 0x40b5e7
jg 0x40b5cd
test esi, esi
je 0x40b5e7
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x40b5e7
push ecx
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
jmp 0x40b5cd
Function at 0x411aa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x411ad1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x411ac0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x4169b4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4169f3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4169f3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4169f3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4169f3
cmp dword [ecx + 0x74], 0xe
jbe 0x4169f3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
rcr edi, 0x94
ror edi, 0xb0
inc ebx
neg edi
neg ebx
dec edi
and edx, 0xe
neg ebx
imul ebx
and eax, 0xa1
imul edx
sbb esi, 0xec
not edi
and esi, 0xd7
sub edx, 0x81
inc eax
sbb eax, 0x59
imul edx
and ebx, 0x4e
sbb ebx, 0xd
dec edx
mov eax, 0xc2
dec edi
rcr ebx, 0x52
not edx
or esi, 0xef
inc edx
not eax
neg ebx
ror edi, 0x3f
sub ebx, 0x2c
or eax, 0x1b
neg esi
sub ebx, 0xa6
or edx, 0x5a
add esi, 0x82
rcl eax, 0x6d
imul eax
bswap ebx
dec edx
not edi
or esi, 0x56
or ebx, 0xa3
inc ebx
neg esi
dec edi
sub edx, 9
add eax, 0xb
add eax, 0x9d
not edi
xor ecx, ecx
xor edi, edi
imul esi
dec esi
mov edi, 0x14
neg ebx
ror esi, 0x6d
neg edi
add esi, 0xa2
inc esi
sub edx, 0x96
bswap edi
imul ebx
dec ebx
or esi, 0x40
rol esi, 0xae
imul eax
or edx, 0xa
imul eax
bswap ebx
dec edx
inc edx
add esi, 0x5d
rcl edi, 0x68
not esi
sbb esi, 0x8d
not edx
sub ebx, 0x97
sub ebx, 0xad
rcl eax, 0x28
sub eax, 0x6c
imul eax
inc ebx
dec eax
bswap eax
rcr edi, 0xd1
rol ebx, 0x8c
inc edi
or ebx, 0xfd
inc esi
and edi, 0xc8
and ebx, 0x2b
rcl esi, 0xd9
sbb edx, 0x59
bswap ebx
mov esi, 0xe4
mov edx, 0x9b
imul eax
not eax
bswap ebx
or ebx, 0x9b
dec eax
mov ecx, dword [ebp + 0xc]
bswap ebx
rcl esi, 1
not edi
dec edx
add edx, 0xce
dec edx
dec edx
rcl edx, 0xa4
inc edx
dec ebx
dec ebx
bswap edi
rol eax, 0x47
not edx
neg esi
and edx, 0x96
imul ebx
add eax, 6
inc edx
sbb eax, 0xff
rcr ebx, 0x42
inc esi
inc ebx
rcr edx, 0x1a
mov eax, 0xf0
rcr ebx, 0xd3
dec ebx
sub eax, 0xb8
rcl ebx, 0x53
sbb edx, 0x18
bswap edx
bswap esi
rcl eax, 0xf1
neg ebx
imul ebx
or edx, 0x3a
sub edi, 0x26
add edi, 0x4c
not esi
dec esi
rcl ebx, 0xe7
not ebx
not edi
imul esi
ror esi, 0x89
imul esi
neg edi
mov edx, 0xbf
mov esi, 0x74
and eax, 0xc
mov edi, dword [ebp + 8]
xor ebx, ebx
mov ebx, eax
xor ebx, eax
not byte [edi]
xor eax, eax
xor eax, ebx
xor eax, esi
mov eax, ebx
mov ebx, esi
xor ebx, eax
mov ebx, esi
mov esi, esi
mov eax, esi
add byte [edi], 0x26
mov eax, eax
xor ebx, eax
xor esi, esi
xor eax, ebx
xor esi, ebx
mov eax, esi
mov esi, esi
xor eax, eax
xor ebx, eax
sub byte [edi], 0x87
mov esi, esi
xor esi, ebx
mov esi, ebx
xor esi, ebx
mov esi, eax
xor esi, ebx
mov esi, eax
xor ebx, eax
mov esi, ebx
imul byte [edi]
inc edi
loop 0x4013d4
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406224
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43985c]
jne 0x40622e
repz ret
jmp fcn.00407f25
Function at 0x409763
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.004062a5
and dword [ebp - 4], 0
cmp dword [0x43ae4c], 0
mov ebx, eax
jne 0x409814
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4098c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4098c5
push eax
call fcn.00406233
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43ae4c], eax
call esi
push eax
call fcn.00406233
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43ae50], eax
call esi
push eax
call fcn.00406233
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43ae54], eax
call esi
push eax
call fcn.00406233
pop ecx
mov dword [0x43ae5c], eax
test eax, eax
je 0x409814
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406233
pop ecx
mov dword [0x43ae58], eax
mov eax, dword [0x43ae58]
cmp eax, ebx
je 0x40986c
cmp dword [0x43ae5c], ebx
je 0x40986c
push eax
call fcn.004062ae
push dword [0x43ae5c]
mov esi, eax
call fcn.004062ae
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40986c
test edi, edi
je 0x40986c
call esi
test eax, eax
je 0x409863
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409863
test byte [ebp - 0xc], 1
jne 0x40986c
or dword [ebp + 0x10], 0x200000
jmp 0x4098a5
mov eax, dword [0x43ae50]
cmp eax, ebx
je 0x4098a5
push eax
call fcn.004062ae
pop ecx
test eax, eax
je 0x4098a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4098a5
mov eax, dword [0x43ae54]
cmp eax, ebx
je 0x4098a5
push eax
call fcn.004062ae
pop ecx
test eax, eax
je 0x4098a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ae4c]
call fcn.004062ae
pop ecx
test eax, eax
je 0x4098c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4098c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x408d1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x408d2d
pop dword [ebp - 0x28]
mov eax, 0xb835dc3f
sub eax, 0xb7f54f12
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x37720
push 0
mov eax, 0xfe289b3
add eax, 0xf05e576d
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x8eab6f44
sub ecx, 0x8eab2ed9
mov edi, eax
mov edx, 0x417800
add edx, dword [ebp - 0x28]
mov esi, 0xe4ab8982
xor dword [ebp - 8], ecx
mov ebx, dword [edx]
xor dword [ebp - 0x24], esi
xor ebx, esi
mov dword [ebp - 0x18], 0xa223c3f9
mov dword [edi], ebx
xor dword [ebp - 0x24], 0x22e6b13b
add edi, 4
add edx, 4
loop 0x408d80
add eax, 0x494b9f2b
add eax, 0xb6b55554
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401680
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x4019b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x41e2dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x108], 0
call fcn.0040b5d0
mov eax, dword [ebp + 8]
add esp, 0xc
sub eax, 0x4b1
je 0x401a5c
dec eax
je 0x401a41
dec eax
jne 0x401a30
mov ecx, dword [esi + 0x48]
push edi
call fcn.004049d0
mov edi, eax
test edi, edi
je 0x401a2f
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x40
push str.ChordWizard_Sound_Engine
push str.The_Bank_Index_has_been_copied_to_the_clipboard.
call fcn.004031e0
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b545
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x48]
push 0
call fcn.004049a0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b545
mov esp, ebp
pop ebp
ret 4
push 0x58
lea edx, [ebp - 0x160]
push 0
push edx
call fcn.0040b5d0
mov eax, dword [esi + 0x20]
add esp, 0xc
lea edx, [ebp - 0x160]
lea ecx, [ebp - 0x108]
push edx
mov dword [ebp - 0x160], 0x58
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x140], 0x104
mov dword [ebp - 0x154], str.DLS_Files__.dls_
mov dword [ebp - 0x12c], 0x1004
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x401a30
mov ecx, dword [esi + 0x48]
lea eax, [ebp - 0x108]
push eax
call fcn.004049a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040b545
mov esp, ebp
pop ebp
ret 4

Function at 0x4028b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40290c
mov ecx, dword [esi + 0x58]
push 0
call fcn.00408be0
test eax, eax
je 0x4028dd
push 0x34
push str.ChordWizard_Sound_Engine
push str.An_input_stream_or_output_stream_is_currently__nactive__so_this_window_cannot_be_closed._n_nWould_you_like_to_rehide_it_instead_
jmp 0x4028ef
cmp dword [esi + 0x24], 0
jne 0x40290c
push 0x24
push str.ChordWizard_Sound_Engine
push str.This_window_will_normally_be_closed_automatically__nby_the_main_program.__Closing_manually_may_cause__nsound_problems_for_any_main_program_sessions_open._n_nDo_you_want_to_rehide_it_instead___recommended_
call fcn.004031e0
add esp, 0xc
cmp eax, 6
jne 0x40290c
mov ecx, dword [esi + 0x20]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
Function at 0x4080b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x41e2dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push str.Cwsound.exe
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str..bin
lea edx, [ebp - 0x108]
push edx
mov byte [ebp + eax - 0x108], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0x10c]
push ecx
push edx
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040b545
mov esp, ebp
pop ebp
ret
Function at 0x40a660
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ebx, [ebx]
lea edi, [esi + 0x52]
test ebx, ebx
jne 0x40a67a
lea edi, [esi + 0x32]
mov eax, dword [esi + 0x14]
push 0x20
push edi
push eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
test eax, eax
jne 0x40a6e1
mov ecx, dword [esi + 0x14]
push 0x20
push edi
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
test eax, eax
jne 0x40a6e1
inc ebx
cmp ebx, 2
jl 0x40a670
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.WINMM.dll_waveInStart]
test eax, eax
jne 0x40a6e1
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
push 0x24f0
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 1
mov dword [esi + 0x94], ecx
mov dword [esi + 0x90], ecx
call fcn.004031b0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x40aa70
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
push edi
jne 0x40ab0f
cmp dword [esi + 0x14], 0
lea edi, [esi + 0x14]
jne 0x40ab0f
cmp word [esi + 0x18], 0
jne 0x40ab0f
cmp dword [esi + 0x1c], 0
jne 0x40ab0f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0040a7a0
test eax, eax
jne 0x40aac2
push 0x1ef
push 1
mov ecx, esi
call fcn.00406580
pop edi
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [ebp + 8]
push 0x30000
push esi
push 0x40a9f0
lea edx, [esi + 0x20]
push edx
push ebx
push edi
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
je 0x40aaf5
push 0x1f4
push eax
mov ecx, esi
call fcn.00406580
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
push esi
push 0x24f0
mov dword [esi + 0x10], ebx
call fcn.004031b0
add esp, 8
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc
push 0x1eb
push 1
call fcn.00406580
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x40b545
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e2dc]
jne 0x40b54f
repz ret
jmp fcn.0040d9dc
Function at 0x412f1d
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.0040d3ca
and dword [ebp - 4], 0
cmp dword [0x42004c], 0
mov ebx, eax
jne 0x412fce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41307f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41b38c
push edi
call esi
test eax, eax
je 0x41307f
push eax
call fcn.0040d358
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42004c], eax
call esi
push eax
call fcn.0040d358
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x420050], eax
call esi
push eax
call fcn.0040d358
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x420054], eax
call esi
push eax
call fcn.0040d358
pop ecx
mov dword [0x42005c], eax
test eax, eax
je 0x412fce
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d358
pop ecx
mov dword [0x420058], eax
mov eax, dword [0x420058]
cmp eax, ebx
je 0x413026
cmp dword [0x42005c], ebx
je 0x413026
push eax
call fcn.0040d3d3
push dword [0x42005c]
mov esi, eax
call fcn.0040d3d3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413026
test edi, edi
je 0x413026
call esi
test eax, eax
je 0x41301d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41301d
test byte [ebp - 0xc], 1
jne 0x413026
or dword [ebp + 0x10], 0x200000
jmp 0x41305f
mov eax, dword [0x420050]
cmp eax, ebx
je 0x41305f
push eax
call fcn.0040d3d3
pop ecx
test eax, eax
je 0x41305f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41305f
mov eax, dword [0x420054]
cmp eax, ebx
je 0x41305f
push eax
call fcn.0040d3d3
pop ecx
test eax, eax
je 0x41305f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42004c]
call fcn.0040d3d3
pop ecx
test eax, eax
je 0x41307f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413081
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401e50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [str.V_we], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.tascraft
push str.bamed
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401e98
xor eax, eax
jmp 0x401eb3
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4025f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0xb8], eax
push 0x4040a4
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401000
add esp, 4
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401e50
add esp, 8
test eax, eax
jne 0x402638
xor eax, eax
jmp 0x402696
push 0
push 0
push 0
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40268a
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x402688
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x402638
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp - 0xa8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x408916
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
mov edi, 0x4b58c159
call fcn.00408933
inc eax
inc eax
xor dword [esi], edx
and edi, eax
and edi, edi
inc esi
cmp esi, ecx
jne fcn.00408916
ret
Function at 0x10004930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1002667c]
xorps xmm3, xmm3
movaps xmm7, xmm1
movss dword [ebp - 8], xmm3
movaps xmm5, xmm0
movss dword [ebp - 4], xmm3
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov eax, dword [0x100266fc]
shr ecx, 1
shr edx, 1
test eax, eax
jne 0x1000496b
movss xmm6, dword [0x10021f9c]
jmp 0x1000497f
cmp eax, 1
jne 0x1000497a
movss xmm6, dword [0x10021f94]
jmp 0x1000497f
movss xmm6, dword [ebp - 8]
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jnp 0x10004a11
movd xmm0, ecx
mov eax, ecx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10022170]
cvtpd2ps xmm4, xmm0
comiss xmm5, xmm4
jbe 0x100049ee
movaps xmm2, xmm4
lea eax, [ecx + ecx]
subss xmm2, xmm5
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
xorps xmm2, xmmword [0x10022180]
movaps xmm1, xmm4
addsd xmm0, qword [eax*8 + 0x10022170]
divss xmm2, xmm6
cvtpd2ps xmm0, xmm0
addss xmm1, xmm2
movss dword [ebp - 8], xmm2
comiss xmm1, xmm0
jbe 0x100049ee
movss dword [ebp - 8], xmm3
comiss xmm4, xmm5
jbe 0x10004a11
movaps xmm0, xmm5
subss xmm0, xmm4
divss xmm0, xmm6
addss xmm4, xmm0
movss dword [ebp - 8], xmm0
comiss xmm3, xmm4
jbe 0x10004a11
movss dword [ebp - 8], xmm3
ucomiss xmm7, xmm3
lahf
test ah, 0x44
jnp 0x10004ace
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x10022170]
cvtpd2ps xmm2, xmm0
comiss xmm7, xmm2
jbe 0x10004a93
xorps xmm0, xmm0
mov eax, edx
cvtsi2sd xmm0, edx
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10022170]
lea eax, [edx + edx]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
movaps xmm4, xmm1
subss xmm4, xmm7
cvtsi2sd xmm0, eax
shr eax, 0x1f
xorps xmm4, xmmword [0x10022180]
divss xmm4, xmm6
addsd xmm0, qword [eax*8 + 0x10022170]
addss xmm1, xmm4
movss dword [ebp - 4], xmm4
cvtpd2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10004a93
movss dword [ebp - 4], xmm3
comiss xmm2, xmm7
jbe 0x10004ace
movd xmm0, edx
movaps xmm1, xmm7
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x10022170]
cvtpd2ps xmm0, xmm0
subss xmm1, xmm0
divss xmm1, xmm6
addss xmm0, xmm1
movss dword [ebp - 4], xmm1
comiss xmm3, xmm0
jbe 0x10004ace
movss dword [ebp - 4], xmm3
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jnp 0x10004b2e
ucomiss xmm7, xmm3
lahf
test ah, 0x44
jnp 0x10004b2e
mov eax, dword [0x100266f4]
sub eax, 0
je 0x10004afb
sub eax, 1
jne 0x10004af6
mov eax, 1
jmp 0x10004b00
mov eax, dword [ebp - 8]
jmp 0x10004b00
mov eax, 2
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10004b2e
movss xmm0, dword [ebp - 4]
push 0
push 0
call fcn.10019750
movss xmm0, dword [ebp - 8]
push eax
call fcn.10019750
push eax
push 1
call dword [sym.imp.USER32.dll_mouse_event]
mov esp, ebp
pop ebp
ret
Function at 0x100057b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1000581b
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
call esi
push str.Memory.exe
mov dword [0x10026670], eax
call esi
test eax, eax
jne 0x10005811
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
push eax
push eax
push sym.MemoryHoo.dll_void___stdcall_OnDllAttach_void__
push eax
push eax
call esi
push 0
push 0
push 0
push 0x10005090
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100054f0
push 0
push 0
call esi
mov eax, 1
pop esi
pop ebp
ret 0xc
mov eax, 1
pop ebp
ret 0xc

Function at 0x1000d59c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000d5db
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000d5db
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000d5db
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000d5db
cmp dword [ecx + 0x74], 0xe
jbe 0x1000d5db
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret