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

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x44bad0]
je 0x42c693
inc edi
cmp edi, 0x17
jb 0x42c684
cmp edi, 0x17
jae 0x42c813
push ebp
push 3
call fcn.004347b2
cmp eax, 1
pop ecx
je 0x42c7df
push 3
call fcn.004347b2
test eax, eax
pop ecx
jne 0x42c6c7
cmp dword [0x44b070], 1
je 0x42c7df
cmp ebx, 0xfc
je 0x42c812
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x44d9c8
push ebp
call fcn.00424282
add esp, 0xc
test eax, eax
je 0x42c6fd
push esi
push esi
push esi
push esi
push esi
call fcn.0041ffec
add esp, 0x14
push 0x104
mov esi, 0x44d9e1
push esi
push 0
mov byte [0x44dae5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42c741
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00424282
add esp, 0xc
test eax, eax
je 0x42c741
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0041ffec
add esp, 0x14
push esi
call fcn.004219d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42c786
push esi
call fcn.004219d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x44dcdc
push 0x43fe64
sub ecx, eax
push ecx
push eax
call fcn.00431f44
add esp, 0x14
test eax, eax
je 0x42c786
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0041ffec
add esp, 0x14
jmp 0x42c788
xor esi, esi
push 0x43fe60
push ebx
push ebp
call fcn.0043322d
add esp, 0xc
test eax, eax
je 0x42c7a8
push esi
push esi
push esi
push esi
push esi
call fcn.0041ffec
add esp, 0x14
push dword [edi*8 + 0x44bad4]
push ebx
push ebp
call fcn.0043322d
add esp, 0xc
test eax, eax
je 0x42c7ca
push esi
push esi
push esi
push esi
push esi
call fcn.0041ffec
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004345f5
add esp, 0xc
jmp 0x42c812
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x42c812
cmp ebp, 0xffffffff
je 0x42c812
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x44bad4]
push dword [esi]
call fcn.004219d0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4345f5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004260db
xor ebx, ebx
cmp dword [0x44df80], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4346cb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4347ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4347ab
push eax
call fcn.0042606d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44df80], eax
call esi
push eax
call fcn.0042606d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44df84], eax
call esi
push eax
call fcn.0042606d
mov dword [0x44df88], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042682c
test eax, eax
pop ecx
pop ecx
je 0x434699
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041ffec
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4346cb
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042606d
cmp eax, ebx
pop ecx
mov dword [0x44df90], eax
je 0x4346cb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042606d
pop ecx
mov dword [0x44df8c], eax
mov eax, dword [0x44df8c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x434750
cmp dword [0x44df90], ecx
je 0x434750
push eax
call fcn.004260e4
push dword [0x44df90]
mov esi, eax
call fcn.004260e4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x434750
cmp edi, ebx
je 0x434750
call esi
cmp eax, ebx
je 0x43471d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43471d
test byte [ebp - 0x18], 1
jne 0x434750
lea eax, [ebp - 0x10]
push eax
call fcn.00426863
test eax, eax
pop ecx
je 0x434738
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041ffec
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x434747
or dword [ebp + 0x10], 0x200000
jmp 0x43478b
or dword [ebp + 0x10], 0x40000
jmp 0x43478b
mov eax, dword [0x44df84]
cmp eax, dword [ebp - 8]
je 0x43478b
push eax
call fcn.004260e4
cmp eax, ebx
pop ecx
je 0x43478b
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43478b
mov eax, dword [0x44df88]
cmp eax, dword [ebp - 8]
je 0x43478b
push eax
call fcn.004260e4
cmp eax, ebx
pop ecx
je 0x43478b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44df80]
call fcn.004260e4
cmp eax, ebx
pop ecx
je 0x4347ab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4347ad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x804
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp - 8], ecx
lea esi, [ebp - 0x808]
push ecx
push 0
push eax
push 0x800
push esi
push 0
push 6
call dword [sym.imp.ucrtbase.dll___stdio_common_vsprintf]
add esp, 0x1c
cmp byte [0x408048], 1
jne 0x401049
push esi
push 0x4052e8
call dbg.wine_dbg_printf
add esp, 8
jmp 0x401064
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
movzx eax, ax
push 0
push eax
push 0
push str.MsiExec
push esi
push 0
call sym._MsiMessageBoxA_24
add esp, 0x804
pop esi
pop ebp
ret
Function at 0x402d70
Capabilities:
Identify system language via api
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x268
mov dword [ebp - 0x1c], ecx
push 0x4056f1
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edi, eax
mov word [ebp - 0x274], 0
lea esi, [ebp - 0x274]
push 0x104
push esi
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
test eax, eax
jne 0x402de4
test byte [section..data], 2
je 0x402de4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
sub esp, 0x14
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.GetModuleFileName_failed:__ld_n
mov dword [esp + 8], str.ShowUsage
mov dword [esp], 1
call sym._wine_dbg_log
add esp, 0x14
mov dword [ebp - 0x10], 0x28
mov word [ebp - 0x6c], 0
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x6c]
push 0
push 0
push eax
push ecx
push esi
call sym._MsiGetFileVersionW_20
test eax, eax
je 0x402e36
test byte [section..data], 2
je 0x402e36
sub esp, 0x14
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.MsiGetFileVersion_failed_with__ld_n
mov dword [esp + 8], str.ShowUsage
mov dword [esp], 1
call sym._wine_dbg_log
add esp, 0x14
lea eax, [ebp - 0x14]
push 0
push eax
push 0xa
mov dword [ebp - 0x18], edi
push edi
call dword [sym.imp.user32.dll_LoadStringW]
mov edi, eax
mov dword [ebp - 0x10], eax
lea eax, [eax*2 + 2]
mov ebx, dword [sym.imp.ucrtbase.dll_malloc]
push eax
call ebx
add esp, 4
mov esi, eax
mov dword [ebp - 0x14], eax
lea eax, [edi*2 + 0x52]
push eax
call ebx
add esp, 4
mov ebx, eax
test esi, esi
je 0x402ec1
test ebx, ebx
je 0x402ec1
mov word [esi], 0
inc edi
push edi
push esi
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [ebp - 0x10]
add eax, 0x29
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x14]
push eax
push ebx
call dbg.swprintf
add esp, 0x10
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
movzx eax, ax
push 0
push eax
push 0
push 0
push ebx
push 0
call sym._MsiMessageBoxW_24
mov esi, dword [ebp - 0x14]
mov edi, dword [sym.imp.ucrtbase.dll_free]
push esi
call edi
add esp, 4
push ebx
call edi
add esp, 4
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x402ee0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov edi, edx
mov esi, ecx
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_wcslen]
lea eax, [eax*2 + 6]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
test eax, eax
je 0x402f41
mov ecx, 4
nop
movzx edx, word [edi + ecx - 4]
mov word [eax + ecx], dx
add ecx, 2
test dx, dx
jne 0x402f10
mov dword [eax], 0
nop word [eax + eax]
mov ecx, esi
mov esi, dword [esi]
test esi, esi
jne 0x402f30
mov dword [ecx], eax
add esp, 0x10
pop esi
pop edi
pop ebp
ret
test byte [section..data], 2
je 0x402f66
mov dword [esp + 0xc], str.Out_of_memory__n
mov dword [esp + 8], str.StringListAppend
mov dword [esp], 1
call sym._wine_dbg_log
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x4032a0
Capabilities:
Create service
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x220
push 2
push str.ServicesActive
push 0
call dword [sym.imp.advapi32.dll_OpenSCManagerW]
test eax, eax
je 0x40333d
mov esi, eax
lea edi, [ebp - 0x228]
push 0x104
push edi
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
movups xmm0, xmmword [str.msiexec__V]
movups xmmword [ebp + eax*2 - 0x228], xmm0
movsd xmm0, qword [0x4058e8]
movsd qword [ebp + eax*2 - 0x218], xmm0
sub esp, 0x34
xorps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x405260]
movups xmmword [esp + 0xc], xmm0
mov dword [esp], esi
mov dword [esp + 0x30], 0
mov dword [esp + 8], 0x4058f0
mov dword [esp + 4], 0x4058f0
call dword [sym.imp.advapi32.dll_CreateServiceW]
test eax, eax
je 0x403351
push eax
call dword [sym.imp.advapi32.dll_CloseServiceHandle]
xor edi, edi
jmp 0x403374
push str.Failed_to_open_the_service_control_manager._n
call dbg.report_error
add esp, 4
mov edi, 1
jmp 0x40337b
mov eax, dword fs:[0x18]
xor edi, edi
cmp dword [eax + 0x34], 0x431
je 0x403374
push str.Failed_to_create_MSI_service_n
call dbg.report_error
add esp, 4
mov edi, 1
push esi
call dword [sym.imp.advapi32.dll_CloseServiceHandle]
mov eax, edi
add esp, 0x220
pop esi
pop edi
pop ebp
ret

Function at 0x403390
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push 1
push str.ServicesActive
push 0
call dword [sym.imp.advapi32.dll_OpenSCManagerW]
test eax, eax
je 0x4033ea
mov esi, eax
push 0x10000
push 0x4058f0
push eax
call dword [sym.imp.advapi32.dll_OpenServiceW]
test eax, eax
je 0x4033fe
mov ebx, eax
push eax
call dword [sym.imp.advapi32.dll_DeleteService]
xor edi, edi
test eax, eax
jne 0x4033e1
push str.Failed_to_delete_MSI_service_n
call dbg.report_error
add esp, 4
mov edi, 1
push ebx
call dword [sym.imp.advapi32.dll_CloseServiceHandle]
jmp 0x403421
push str.Failed_to_open_service_control_manager_n
call dbg.report_error
add esp, 4
mov edi, 1
jmp 0x403428
mov eax, dword fs:[0x18]
xor edi, edi
cmp dword [eax + 0x34], 0x424
je 0x403421
push str.Failed_to_open_MSI_service_n
call dbg.report_error
add esp, 4
mov edi, 1
push esi
call dword [sym.imp.advapi32.dll_CloseServiceHandle]
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403690
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, edx
mov edi, ecx
mov ebx, dword [ebp + 8]
push 8
push 0
push ecx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [ebx], eax
test eax, eax
je 0x4036bf
push esi
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x4036dc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
call sym._wine_dbgstr_w
push eax
push str.Unable_to_load_dll__s_n
call dbg.report_error
add esp, 8
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, edi
call sym._wine_dbgstr_w
push esi
push eax
push str.Dll__s_does_not_implement_function__s_n
call dbg.report_error
add esp, 0xc
push dword [ebx]
call dword [sym.imp.kernel32.dll_FreeLibrary]
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x403cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.ucrtbase.dll_strlen]
add esp, 4
test eax, eax
je 0x403d0d
mov esi, eax
xor eax, eax
cmp byte [edi + esi - 1], 0xa
je 0x403cea
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov ecx, 0x4080f0
lock xchg dword [ecx], eax
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
add esp, 4
push eax
push esi
push 1
push edi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
jmp 0x403d0f
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x404180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xcc
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [0x408064]
test eax, eax
jne 0x4041d9
mov edi, dword fs:[0x18]
mov ebx, dword [edi + 0x34]
push 0x405b4c
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push str.__wine_dbg_get_channel_flags
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
cmovne ecx, eax
mov eax, 0x408064
lock xchg dword [eax], ecx
mov dword [edi + 0x34], ebx
mov edi, dword [ebp + 8]
mov eax, dword [0x408064]
push esi
call eax
add esp, 4
movzx eax, al
bt eax, edi
jae 0x40438f
mov ecx, dword [0x4080f0]
mov ebx, dword fs:[0x18]
xor eax, eax
cmp ecx, dword [ebx + 0x24]
je 0x404394
lea edi, [ebp - 0xd8]
test byte [0x408025], 8
je 0x4042a0
mov eax, dword [0x408064]
test eax, eax
jne 0x404259
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x10], eax
push 0x405b4c
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push str.__wine_dbg_get_channel_flags
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
cmovne ecx, eax
mov eax, 0x408064
lock xchg dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x34], eax
mov eax, dword [0x408064]
push 0x408025
call eax
add esp, 4
test al, 8
je 0x4042a0
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, eax
mov edx, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
sub ecx, eax
lea eax, [ebp - 0xd8]
push ecx
push edx
push str._3u._03u:
push eax
call dbg.sprintf
add esp, 0x10
lea edi, [eax + ebp]
add edi, 0xffffff28
test byte [0x408035], 8
je 0x40430d
mov eax, dword [0x408064]
test eax, eax
jne 0x4042ec
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x10], eax
push 0x405b4c
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push str.__wine_dbg_get_channel_flags
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
cmovne ecx, eax
mov eax, 0x408064
lock xchg dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x34], eax
mov eax, dword [0x408064]
push 0x408035
call eax
add esp, 4
test al, 8
je 0x40430d
push dword [ebx + 0x20]
push str._04x:
push edi
call dbg.sprintf
add esp, 0xc
add edi, eax
push dword [ebx + 0x24]
push str._04x:
push edi
call dbg.sprintf
add esp, 0xc
mov edx, dword [ebp + 8]
cmp edx, 3
ja 0x404362
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x404362
add edi, eax
lea eax, [ebp - 0xd8]
sub eax, edi
add eax, 0xc8
mov edx, dword [edx*4 + 0x405b70]
inc esi
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [esp + 4], eax
call dbg.snprintf
add esp, 0x18
lea edi, [ebp - 0xd8]
push edi
call dword [sym.imp.ucrtbase.dll_strlen]
add esp, 4
mov esi, eax
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
add esp, 4
push eax
push esi
push 1
push edi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
jmp 0x404394
mov eax, 0xffffffff
add esp, 0xcc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404400
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push 1
call sym.__configure_narrow_argv
add esp, 4
call sym.__initialize_narrow_environment
call sym.___p___argc
mov edi, dword [eax]
call sym.___p___argv
mov ebx, dword [eax]
call sym.__get_initial_narrow_environment
mov esi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
xor edx, edx
cmp word [eax + ecx + 0x5c], 2
sete dl
inc edx
push edx
call sym.__set_app_type
add esp, 4
push esi
push ebx
push edi
call dbg.main
add esp, 0xc
push eax
call sym._exit
int3

Function at 0x404460
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x44
call dbg.__main
xor ebx, ebx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov esi, eax
xor eax, eax
jmp 0x404489
xor edx, edx
test eax, eax
je 0x4044c5
inc esi
mov ebx, edx
movzx ecx, byte [esi]
cmp ecx, 9
je 0x404480
test ecx, ecx
je 0x4044c5
cmp cl, 0x20
jne 0x40449e
test eax, eax
je 0x4044c5
xor edx, edx
cmp ecx, 0x22
je 0x4044af
cmp ecx, 0x5c
jne 0x404486
inc ebx
mov edx, ebx
jmp 0x404486
xor ecx, ecx
test eax, eax
sete cl
test bl, 1
cmove eax, ecx
jmp 0x404486
movzx ecx, byte [esi + 1]
inc esi
cmp cl, 0x20
je 0x4044c0
movzx eax, cl
cmp eax, 9
je 0x4044c0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
test byte [ebp - 0x20], 1
jne 0x4044e8
mov word [ebp - 0x1c], 1
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
movzx ecx, word [ebp - 0x1c]
push ecx
push esi
push 0
push eax
call dbg._WinMain@16
add esp, 0x44
pop esi
pop ebx
pop ebp
ret
Function at 0x41d180
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d138b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c2ce2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41d202
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bf9e1
mov eax, dword [eax]
push 0x5ab240
push eax
call fcn.004b06c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c2f6d
test bl, bl
je 0x41d202
push 0x5ab240
lea ecx, [esp + 0xc]
call fcn.004c3349
push 0x5aede0
lea ecx, [esp + 0xc]
call fcn.004c3349
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41d23e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c2f6d
jmp 0x41d309
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41d2c2
lea edx, [esp + 0x7c]
push 0x5aeddc
push edx
call fcn.004b06c4
add esp, 8
test eax, eax
je 0x41d2c2
lea eax, [esp + 0x7c]
push 0x5aedd8
push eax
call fcn.004b06c4
add esp, 8
test eax, eax
je 0x41d2c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41d252
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c2f6d
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41db00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41db62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41db70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d140b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5bf1bc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41dca8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41dbd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c2f6d
xor eax, eax
jmp 0x41dd1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c30f6
push esi
lea ecx, [esp + 0xc]
call fcn.004c3385
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5aee18
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41dcfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.0041db00
test eax, eax
jne 0x41dcfd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push bind
mov ecx, edi
call fcn.0041db00
test eax, eax
jne 0x41dcfd
lea eax, [esp + 0x14]
push 0x5aedf4
push eax
call fcn.004b17d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41dcdc
lea ecx, [esp + 0x14]
push 0x5aedf0
push ecx
call fcn.004b1750
mov esi, eax
add esp, 8
test esi, esi
jne 0x41dcdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41dcdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c30a6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41dbee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c2f6d
xor eax, eax
jmp 0x41dd1f
mov byte [esi], 0
push 0x5aedec
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004c2f6d
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4