joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413192
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x194]
call fcn.00414b21
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4131e8
push ebx
lea ecx, [esi + 0x194]
mov byte [ebp + 0xb], 0
call fcn.004145fb
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x413243
lea ecx, [esi + 0x194]
inc ebx
call fcn.00414b21
cmp ebx, eax
jl 0x4131b1
sub edi, 0x100
je 0x41329d
sub edi, 4
je 0x413247
dec edi
sub edi, 1
jne 0x413294
push dword [ebp + 0xc]
and dword [ebp + 8], edi
call fcn.0044d7dc
pop ecx
mov ecx, dword [esi + 0x50]
lea edx, [ebp + 8]
push 0x8000000a
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x4142c7
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x413294
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x413296
cmp dword [esi + 0x54], 0
je 0x413294
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
and dword [ebp - 0x1c], 0
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00411cdd
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x413294
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4132ea
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4132ea
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x4132ea
mov ecx, dword [esi + 0x54]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0044779a
pop ecx
pop ecx
test eax, eax
je 0x4132ea
mov ecx, dword [esi + 0x54]
call fcn.00424329
test al, al
jne 0x413294
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00413cf7
jmp 0x413243
Function at 0x413ada
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [edi]
je 0x413b02
cmp esi, dword [edi + 0x54]
je 0x413bd1
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [edi + 0x54]
je 0x413bd1
cmp dword [edi + 0x54], 0
je 0x413b5c
and dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x54]
call fcn.004138be
and dword [edi + 0x54], 0
test esi, esi
je 0x413bd1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x413bd1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
test al, al
je 0x413bd1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x413bd1
and dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0x54], esi
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x54]
call fcn.004138be
pop edi
pop esi
leave
ret 4
Function at 0x41a497
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
jmp 0x41a546
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x41a54a
cmp dword [ebp - 0x1c], 0x10
jne 0x41a515
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x41a515
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
lea eax, [ebp - 0x20]
push eax
call fcn.004140f1
pop ecx
test al, al
jne 0x41a537
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x41a54a
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41a4e2
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x41a568
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x41a56d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41a59f
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x425628
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x4d4], edi
je 0x425692
cmp dword [ebp + 8], 0x100
jne 0x425681
cmp word [ebp + 0xc], 0xd
jne 0x425681
cmp byte [esi + 0x4da], 0
je 0x425668
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x425681
cmp byte [esi + 0x4db], 0
jne 0x425681
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x42567d
push edi
push edi
push edi
push str.return
push esi
call fcn.004138be
xor eax, eax
jmp 0x425695
mov eax, dword [esi + 0x4d4]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x42596d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x482308]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x425a27
movzx eax, word [esi]
test ax, ax
je 0x425a27
push edi
mov edi, esi
mov ecx, esi
mov edx, eax
cmp dx, 0x2f
je 0x4259af
cmp dx, 0x5c
jne 0x4259b1
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4259a3
cmp edi, esi
je 0x4259fa
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.00454d07
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x425a35
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0042596d
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00454a74
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00454cbb
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00445e0f
leave
ret
call fcn.00445f47
int3

Function at 0x425ff9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x426075
cmp dword [edi + 4], 0xffffffff
jne 0x426075
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x47881c
push esi
call fcn.00454cbb
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x426047
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x426047
mov eax, 0x2000000
jmp 0x42607a
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00428551
add esp, 0x10
test eax, eax
jne 0x426065
mov eax, dword [ebp - 4]
jmp 0x42607a
push eax
call fcn.00428c70
mov dword [edi], eax
mov eax, dword [0x483f94]
pop ecx
jmp 0x42607a
mov eax, 0x1000000
pop edi
leave
ret 0xc
Function at 0x42865e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x428691
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42868c
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4286bb
mov edx, dword [edi + 0x18]
push esi
mov esi, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x14]
cmovbe esi, ecx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.00447a10
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
pop esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x428849
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x428857
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x428916
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46a7c8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46a7c8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46a7c8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46a7c8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46a7c8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46a7c8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46a7c8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46a7c8]
sub edi, 1
jne 0x42886f
pop edi
test esi, esi
je 0x428932
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46a7c8]
inc edx
sub esi, 1
jne 0x42891a
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x42e73c
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x465436
call fcn.00446698
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0042eacc
call fcn.00411b19
push eax
lea ecx, [ebp - 0x94]
call fcn.004143d5
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00411b1f
mov ecx, eax
call fcn.00414c6a
test al, al
je 0x42e856
push ebx
lea ecx, [ebp - 0x94]
call fcn.004146d0
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00411afa
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
cmp eax, 0xffffffff
jne 0x42e7bf
mov eax, str.Error_opening_file
jmp 0x42e837
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x42e7d4
mov eax, str.File_is_empty
jmp 0x42e837
cmp edi, 0x400000
jbe 0x42e7e3
mov eax, str.File_too_large
jmp 0x42e837
and dword [ebp - 0x2c8], 0
push edi
call fcn.00446176
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x42e83f
push ebx
call fcn.00445e20
pop ecx
mov ecx, esi
call fcn.0042eacc
mov eax, str.Could_not_read_file
push 0
push eax
jmp 0x42e936
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0042e981
push dword [ebp - 0x2cc]
jmp 0x42e964
call fcn.00411b1f
push eax
lea ecx, [ebp - 0x94]
call fcn.004146b3
call fcn.00411bcf
test al, al
je 0x42e877
call fcn.00411b25
jmp 0x42e88e
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00411afa
push eax
call fcn.0042607f
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x42e89f
push eax
push str.Error_opening_zip_file
jmp 0x42e936
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00425abf
add esp, 0x14
test eax, eax
je 0x42e8c6
push 0
push str.Could_not_find_ziped_file
jmp 0x42e936
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x42e8d8
push ebx
push str.File_is_empty
jmp 0x42e936
cmp ebx, 0x400000
jbe 0x42e8e9
push 0
push str.File_too_large
jmp 0x42e936
push ebx
call fcn.00446176
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.00426456
add esp, 0x18
test eax, eax
je 0x42e941
cmp eax, 0x600
je 0x42e941
push dword [ebp - 0x2c8]
call fcn.00445e20
pop ecx
call fcn.00411bcf
test al, al
jne 0x42e92f
push edi
call fcn.0042591b
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0042eaf4
mov bl, al
jmp 0x42e96c
call fcn.00411bcf
test al, al
jne 0x42e951
push edi
call fcn.0042591b
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.0042e981
push edi
mov bl, al
call fcn.00445e20
pop ecx
lea ecx, [ebp - 0x94]
call fcn.00414510
mov al, bl
call fcn.00446653
ret 8
Function at 0x437626
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x437654
cmp eax, edi
jge 0x437648
push esi
call fcn.00433b7c
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x437677
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x43765d
mov dword [esi + 8], edx
jmp 0x43768c
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x437682
xor dl, dl
jmp 0x437687
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x437677
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4376c6
push str.zlib_corrupt
call fcn.00433aa7
add esp, 4
jmp 0x437706
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4376d6
push str.read_past_buffer
jmp 0x4376bc
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4376f0
push edi
push ecx
push esi
call fcn.0043a0fa
add esp, 0xc
test eax, eax
je 0x437706
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00447a10
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x440569
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x482308]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x28], 0
je 0x4405d6
cmp dword [esi + 0x20], 0
je 0x4405d6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00446710
mov ebx, esp
test ebx, ebx
je 0x4405d6
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x20]
push ebx
add ecx, 0x1b8
call fcn.004145b2
mov ecx, dword [esi + 0x20]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004138be
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445e0f
leave
ret 0x10

Function at 0x44336e
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x465dae
call fcn.00446698
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x20], eax
mov dword [eax + 0x5b8], ebx
cmp dword [edi + 4], ebx
jne 0x443400
lea eax, [ebp - 0xa8]
push eax
call fcn.0044306d
mov ecx, dword [edi + 0x20]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00411afa
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.0041a145
mov esi, dword [edi + 0x20]
mov ecx, esi
call fcn.0042d26f
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00411884
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x20]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00414c6a
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.00414510
mov esi, 0x5a8
test bl, bl
je 0x44343b
mov eax, dword [edi + 0x20]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x20]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x28], 1
call fcn.00446653
ret 4

Function at 0x45a725
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045a5a4
Function at 0x4015a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4160c0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xchg dword [0x417bb0], ebx
mov ebx, dword [0x417bb0]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x417bb8
push 0x67
push edi
call esi
push 0x64
push 0x417ae8
push 0x6d
push edi
call esi
mov ecx, edi
mov byte [esp + 0xf], 1
call fcn.0040e010
push dword [0x417bb0]
call fcn.004014fa
add esp, 4
mov dword [esp + 0x10], eax
sub dword [esp + 0x10], 0xf8c990c3
setne byte [esp + 0xf]
push 0x64
push 0x417bb8
push 0x67
push edi
call esi
push 0x64
push 0x417bb8
push 0x67
push edi
call esi
mov ecx, edi
call fcn.0040e010
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x417bb8
push 0x417ae8
push 0
mov dword [0x417ae0], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x417ae4], eax
test eax, eax
jne 0x401691
push eax
push 0x4169e9
push str.Write_your_notes_here
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00401785
mov esp, ebp
pop ebp
ret 0x10
mov al, byte [esp + 0xf]
test al, al
jne 0x4016b9
push 0x2fc
push 0x5be
push 0x42c
push 0x4169a8
call fcn.00401556
mov al, byte [esp + 0x1f]
add esp, 0x10
movzx eax, al
push dword [eax*4 + 0x413ee4]
push 1
push 0x1e
push 0x416980
call fcn.00404750
add esp, 0x10
push 0
push str.NimYsWSk
push str.Text_should_be_here
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp + 0x14]
push dword [0x417ae4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x417ae4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push 0
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x40176d
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call ebx
test eax, eax
jne 0x401758
lea eax, [esp + 0x18]
push eax
call esi
lea eax, [esp + 0x18]
push eax
call edi
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x401737
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401785
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401fb6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401ff5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401ff5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401ff5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401ff5
cmp dword [ecx + 0x74], 0xe
jbe 0x401ff5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x406e6a
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4160c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x406eb5
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00407087
test al, al
jne 0x406eaf
sub edx, 2
cmp edx, edi
jne 0x406e95
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x406ed7
lea eax, [edi + 2]
cmp edx, eax
je 0x406ed7
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00406db6
add esp, 0x10
jmp 0x406fcf
push esi
lea ecx, [ebp - 0x255]
call fcn.00407087
sub edx, edi
xor ecx, ecx
sar edx, 1
inc edx
test al, al
lea eax, [ebp - 0x254]
cmovne ecx, edx
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
push ebx
push edi
mov dword [ebp - 0x260], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406f18
push dword [ebp - 0x25c]
jmp 0x406ec7
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x406f55
cmp word [ebp - 0x226], 0
je 0x406f76
cmp word [ebp - 0x226], ax
jne 0x406f55
cmp word [ebp - 0x224], 0
je 0x406f76
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00406db6
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x406fc2
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x406f2f
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x406faa
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x406fcf
push 0x406be6
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00404750
add esp, 0x10
jmp 0x406f9f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401785
leave
ret
Function at 0x40db30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40db5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40db5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp int.00401219