joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401460
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp], str.mode_650
call sym._system
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x36
mov dword [esp], 0x12
call sym._keybd_event_16
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1c
mov dword [esp], 0xd
call sym._keybd_event_16
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1c
mov dword [esp], 0xd
call sym._keybd_event_16
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x36
mov dword [esp], 0x12
call sym._keybd_event_16
sub esp, 0x10
nop
leave
ret
Function at 0x4015dd
Capabilities:
Log keystrokes via polling

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x14
call sym.___main
call sym.setFullScreen__
call sym.hideScrollBar__
mov dword [esp + 4], str.Programa_en_modo_pantalla_completa_sin_barra_de_desplazamiento_
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp + 4], str.Presiona_la_tecla_de_flecha_arriba_para_simular_el_desplazamiento_hacia_arriba_de_la_rueda_del_ratn_con_Ctrl_presionado
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp + 4], str.Presiona_la_tecla_de_flecha_abajo_para_simular_el_desplazamiento_hacia_abajo_de_la_rueda_del_ratn_con_Ctrl_presionado
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp], 0x26
call sym._GetAsyncKeyState_4
sub esp, 4
shr ax, 0xf
test al, al
je 0x4016ec
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x11
call sym._keybd_event_16
sub esp, 0x10
mov dword [esp], 0x78
call sym.scrollMouse_int_
mov dword [esp], 0xc8
call sym._Sleep_4
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], 0x11
call sym._keybd_event_16
sub esp, 0x10
mov dword [esp], 0x28
call sym._GetAsyncKeyState_4
sub esp, 4
shr ax, 0xf
test al, al
je 0x40166c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x11
call sym._keybd_event_16
sub esp, 0x10
mov dword [esp], 0xffffff88
call sym.scrollMouse_int_
mov dword [esp], 0xc8
call sym._Sleep_4
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], 0x11
call sym._keybd_event_16
sub esp, 0x10
jmp 0x40166c
Function at 0x401e40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407048
call sym._EnterCriticalSection_4
mov ebx, dword [0x407040]
sub esp, 4
test ebx, ebx
je 0x401e8b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401e84
test esi, esi
je 0x401e84
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401e60
mov dword [esp], 0x407048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402070
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4020c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402198
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4020fe
cmp eax, 4
jne 0x402120
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40210e
cmp edx, 4
je 0x40210e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402070
Function at 0x401020
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov edx, 2
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [eax]
mov dword [ebp - 0x20], eax
movzx eax, word [esi]
test ax, 0xffdf
je 0x4010ae
cmp ax, 9
je 0x4010ae
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
cmp ax, 0x5c
je 0x40109e
lea esi, [esi]
lea edi, [edi]
cmp ax, 0x22
je 0x4011c8
mov dword [ebp - 0x1c], 0
movzx eax, word [esi + edx*2 - 2]
test ax, ax
je 0x4010ac
cmp ax, 9
lea edi, [edx + 1]
sete cl
cmp ax, 0x20
sete bl
or cl, bl
je 0x401096
test byte [ebp - 0x24], 1
je 0x4010ac
mov edx, edi
cmp ax, 0x5c
jne 0x401060
movzx eax, word [esi + edx*2 - 2]
add dword [ebp - 0x1c], 1
test ax, ax
jne 0x40107b
add edx, edx
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x28], eax
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x401197
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
movzx edx, word [eax]
test dx, 0xffdf
je 0x401222
cmp dx, 9
je 0x401222
mov dword [ebp - 0x24], 0
xor edi, edi
mov dword [ebp - 0x1c], ecx
nop
lea esi, [esi]
add eax, 2
cmp dx, 0x5c
je 0x4011a8
cmp dx, 0x22
je 0x4011e0
mov edi, dword [ebp - 0x1c]
lea ecx, [edi + 2]
mov word [edi], dx
xor edi, edi
mov dword [ebp - 0x1c], ecx
movzx edx, word [eax]
test dx, dx
je 0x401159
cmp dx, 9
sete bl
cmp dx, 0x20
mov esi, ebx
sete bl
mov ecx, esi
or cl, bl
je 0x401110
test byte [ebp - 0x24], 1
jne 0x401110
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
xor edx, edx
mov word [ecx], dx
mov dword [edi], eax
movzx edx, word [eax]
cmp dx, 9
je 0x401175
cmp dx, 0x20
jne 0x401197
add eax, 2
nop
lea esi, [esi]
mov esi, dword [ebp - 0x20]
mov dword [esi], eax
movzx edx, word [eax]
add eax, 2
cmp dx, 9
je 0x401180
cmp dx, 0x20
je 0x401180
mov eax, dword [ebp - 0x28]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp - 0x1c]
mov ebx, 0x5c
add edi, 1
mov word [esi], bx
add esi, 2
mov dword [ebp - 0x1c], esi
jmp 0x401135
and dword [ebp - 0x1c], 1
jne 0x40106a
xor dword [ebp - 0x24], 1
jmp 0x401071
mov edx, edi
sar edx, 1
and edi, 1
jne 0x401200
add edx, edx
xor dword [ebp - 0x24], 1
xor edi, edi
sub dword [ebp - 0x1c], edx
jmp 0x401135
mov ebx, dword [ebp - 0x1c]
mov edi, 0x7fffffff
sub edi, edx
lea edx, [ebx + edi*2]
xor edi, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x1c], ecx
mov ecx, 0x22
mov word [edx], cx
jmp 0x401135
mov ecx, dword [ebp - 0x28]
jmp 0x40115c
Function at 0x403820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x403878
cmp byte [esi + ebx - 1], 0xa
je 0x40384c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4080a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x403ed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x4040a8
mov edi, dword [0x4080a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x403fb7
test byte [0x405018], 8
jne 0x404050
lea ebx, [ebp - 0xe0]
mov edi, ebx
test byte [0x405028], 8
jne 0x404010
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x403f59
cmp esi, 3
jbe 0x403fc8
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x403f6a
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4061dc]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x403f59
mov dword [esp], 0x405028
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x403f30
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x403f30
mov dword [esp], 0x405018
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x403f1b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xe0]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x403f23
mov eax, 0xffffffff
jmp 0x403fb7

Function at 0x404120
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x404190
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40421b
cmp ax, 9
je 0x404208
cmp ax, 0x20
je 0x404208
mov dword [ebp - 0x6c], 0
xor edi, edi
nop
cmp ax, 0x5c
je 0x404270
cmp ax, 0x22
je 0x404280
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40421b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x4041c0
test edi, 1
jne 0x4041c0
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x404208
cmp ax, 0x20
je 0x404208
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x404298
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x6c], 1
jmp 0x4041db
and dword [ebp - 0x6c], 1
jne 0x4041d4
xor edi, 1
jmp 0x4041db
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x404234
Function at 0x412082
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x418680], 0
push ebx
push esi
mov esi, 0x418688
jne 0x4120ae
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4186a0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x418680], 1
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x41214b
push 0x14
push 8
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412175
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x418684]
test eax, eax
je 0x4120f0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x418684], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41217a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412175
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x408f6c
nop
mov ecx, 0x43366ce9
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x587a4d9b
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x405e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
xlatb
adc byte [esi + 0x5e], dl
add eax, dword [ecx + 0x1bb187d]
add byte [eax], al
add bl, dl
cmp dword [eax], 0
jne 0x405e74
rol dword [ebx + 0x8750038], cl
cmp word [eax + 2], 0
jb 0x405e79
inc ebx
xor esi, 2
jmp 0x405e66
sub eax, dword [ebp + 0xc]
add eax, 2
sar eax, 1
mov dword [edi + 0x10], ecx
lea eax, [ebx*4 - 0x7dfffffc]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
mov eax, dword [ebp + 0x10]
lea ebx, [edx - 0x76a9fec0]
jne 0x405eea
call dword [0xa240c15c]
add esp, 8
les ecx, [eax]
lea edi, [ebx - 0x72f8c0bd]
push ebp
adc byte [ebx + 0x50], dh
mov eax, dword [ebp + 0xc]
push edx
xchg esp, eax
call 0x8f40abf0
mov edx, dword [ebp - 4]
inc edx
les ebp, [ebx]
push esi
stc
call [eax - 0x46ffbf3f]
add dword [eax], eax
add byte [eax], al
add esp, 8
cmp esi, edx
movsb byte es:[edi], byte [esi]
pop es
jle 0x405f02
invalid
pop eax
push eax
cld
add edx, 2
ficom word [eax]
mov edx, eax
mov dl, byte [esi]
inc esi
adc byte [ebx + 0x46168ad0], cl
xor byte [eax], ah
mov dword [eax], esi
jne 0x405ea6
inc esp
push ebp
or al, 0x83
rol byte [edx + ecx*2], 0x89
push ebp
inc ebx
jne 0x405ee3
mov eax, dword [ebp + 8]
mov dword [esp + edx*2], 0x62
mov dword [eax], edi
retf 0x2b8b

Function at 0x4080f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xchg byte [ecx + 0xc], bl
inc ebp
dec ebp
or byte [ebx + 0x56], dl
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
mov esi, edi
je 0x408110
fld qword [ecx + 0x10]
mov dword [eax], 0x86000000
jmp 0x408153
mov ebp, dword [eax + 0x10]
dec esp
mov ebp, 0xc0000fc9
mov dword [0x740289c0], eax
add dh, bh
fnstcw word [eax - 0x33ec3333]
mov bl, 0xa
mul ecx
xor edx, ebp
add ecx, dword [edx - 0x1409b13e]
sub cl, al
add cl, 0x30
loope 0x408113
mov ecx, edx
test edx, edx
jne 0x4080fb
mov eax, dword [ebp + 0x18]
sub edi, dword [0xc68b38b9]
pop edi
pop eax
pop ebx
push 0xffffffffffffffc3
nop
and dword [ebp - 0x75], edx
push ebp
mov ebp, esp

Function at 0x40a72c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
fsub qword [edi]
cmp byte [eax + edi*4 + 0xda77702], bl
Function at 0x4110b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, byte [0x4230fc]
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp al, bl
jne 0x41121e
lea eax, [esp + 0x14]
lea ecx, [esp + 4]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREzbshareware
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41121e
push esi
push edi
mov ecx, 0x18
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x14]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
push ebx
push str.Name
push edx
mov dword [esp + 0x2c], 0x64
call esi
test eax, eax
jne 0x411144
lea eax, [esp + 0x28]
push eax
call fcn.00410e00
add esp, 4
test al, al
jne 0x4111b5
mov byte [0x423220], bl
mov dword [esp + 0x10], 0x607
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x8d]
mov byte [esp + 0x8c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x18]
lea eax, [esp + 0x8c]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push ecx
push ebx
push str.Code
push edx
mov dword [esp + 0x30], 0x64
call esi
pop edi
pop esi
test eax, eax
jne 0x4111ad
lea eax, [esp + 0x84]
push eax
call fcn.00410e90
add esp, 4
test al, al
jne 0x4111d0
mov byte [0x423220], bl
jmp 0x4111ea
cmp byte [0x423220], bl
je 0x41114a
lea ecx, [esp + 0x28]
push ecx
call fcn.00410fd0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x411152
cmp byte [0x423220], bl
je 0x4111ea
lea ecx, [esp + 0x84]
push ecx
call fcn.00411030
add esp, 4
jmp 0x4111ef
mov eax, 0xd4
cmp dword [esp + 8], eax
je 0x4111fd
mov byte [0x423220], bl
jmp 0x41120c
mov al, byte [0x423220]
mov byte [0x4230fc], bl
cmp al, bl
jne 0x411213
mov byte [0x4230fc], 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [0x4230fc], 0
pop ebx
add esp, 0xe4
ret
Function at 0x416f80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1dc
push ebx
push ebp
push esi
push edi
xor bl, bl
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], bl
mov byte [esp + 0x88], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x89]
mov byte [esp + 0xec], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x3f
mov dword [esp + 0x11], eax
lea edi, [esp + 0xed]
mov dword [esp + 0x15], eax
mov byte [esp + 0x10], bl
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xec]
push ecx
stosb byte es:[edi], al
call fcn.00410510
mov edi, str.register.ini
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xec]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0xec]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x28]
push 0x64
lea edx, [esp + 0x18]
push ecx
push edx
push str.Name
push str.zbshareware
call esi
lea eax, [esp + 0x24]
push eax
call fcn.00410e00
add esp, 4
test al, al
jne 0x4170b3
mov byte [0x423220], bl
mov edi, 0x607
lea edx, [esp + 0xec]
lea eax, [esp + 0x88]
push edx
push 0x64
lea ecx, [esp + 0x18]
push eax
push ecx
push str.Code
push str.zbshareware
call esi
lea edx, [esp + 0x88]
push edx
call fcn.00410e90
add esp, 4
test al, al
jne 0x4170cc
mov byte [0x423220], bl
jmp 0x4170e6
cmp byte [0x423220], bl
je 0x41706f
lea ecx, [esp + 0x24]
push ecx
call fcn.00410fd0
add esp, 4
mov edi, eax
jmp 0x417074
cmp byte [0x423220], bl
je 0x4170e6
lea eax, [esp + 0x88]
push eax
call fcn.00411030
add esp, 4
jmp 0x4170eb
mov eax, 0xd4
cmp edi, eax
je 0x417107
pop edi
pop esi
mov byte [0x423220], bl
pop ebp
mov byte [0x4230fc], 1
pop ebx
add esp, 0x1dc
ret
mov al, byte [0x423220]
mov byte [0x4230fc], bl
cmp al, bl
jne 0x41711d
mov byte [0x4230fc], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1dc
ret
Function at 0x692c1130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
test edx, edx
je 0x692c11d0
cmp word [edx], 0
mov esi, edx
je 0x692c1210
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x692c1158
sub eax, esi
sar eax, 1
add eax, 1
lea edx, [ebp - 0x1c]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x1e]
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
lea edx, [ebp - 0x1c]
sub esp, 0x14
test eax, eax
je 0x692c11c8
movzx eax, word [ebp - 0x1e]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
add eax, eax
mov dword [esp + 4], esi
mov word [ebp - 0x1e], ax
movzx eax, ax
mov dword [esp + 8], eax
mov dword [esp], ebx
call edi
sub esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov dword [esp], ebx
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x1e]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
setne al
lea esp, [ebp - 0xc]
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
mov eax, 1
jmp 0x692c1168