joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6acc6f50
Capabilities:
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xa8
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x84], 0x32
mov ebx, dword [ecx + 8]
test byte [0x6acd00b4], 8
jne 0x6acc7068
test ebx, ebx
je 0x6acc70e7
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x80]
mov edx, dword [eax + 0x24]
add eax, 0x2c
call sym._MMDevPropStore_OpenPropKey
mov edx, eax
test eax, eax
js 0x6acc7052
lea eax, [ebp - 0x84]
lea edi, [ebp - 0x7c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
jne 0x6acc70a0
cmp dword [ebp - 0x84], 0x27
jbe 0x6acc70a0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
sub esp, 4
mov word [ebp - 0x30], ax
mov dword [esp + 4], ebx
mov dword [esp], edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea eax, [ebp - 0x2e]
sub esp, 8
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcstol]
mov edx, dword [ebp - 0x8c]
mov dword [ebx + 0x10], eax
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__p_____lu__p__n
mov dword [esp + 8], str.MMDevPropStore_GetAt
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc6f86
mov edx, 0x80070057
test byte [0x6acd00b4], 4
je 0x6acc7052
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.GetAt__lu_failed_n
mov dword [esp + 8], str.MMDevPropStore_GetAt
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 2
mov dword [ebp - 0x8c], edx
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp - 0x8c]
jmp 0x6acc7052
mov edx, 0x80004003
jmp 0x6acc7052
Function at 0x6acc87e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x6acd00a4]
mov ecx, dword [eax]
cmp eax, 0x6acd00a4
je 0x6acc8908
lea ebx, [eax - 0x40]
lea esi, [ecx - 0x40]
jmp 0x6acc888f
mov edx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x44]
mov edi, dword fs:[0x18]
mov dword [edx + 4], eax
mov edx, dword [ebx + 0x40]
mov dword [eax], edx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x18], 0
lea eax, [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
mov eax, dword [ebx + 0x3c]
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov dword [esp + 8], ebx
mov ebx, esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x40]
sub esp, 0xc
sub eax, 0x40
cmp esi, 0x6acd0064
je 0x6acc8908
mov esi, eax
test byte [0x6acd00b4], 8
je 0x6acc8810
mov edi, dword [ebx + 0x3c]
test edi, edi
je 0x6acc8960
mov eax, edi
shr eax, 0x10
je 0x6acc8948
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6acd2581
test edx, edx
jne 0x6acc88d8
mov eax, edi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Freeing__s_n
mov dword [esp + 8], str.MMDevice_Destroy
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc8810
mov eax, dword [0x6acdd010]
mov ebx, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], eax
call ebx
mov eax, dword [0x6acdd00c]
sub esp, 4
mov dword [esp], eax
call ebx
mov dword [0x6acdd00c], 0
mov dword [0x6acdd010], 0
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edi, di
mov dword [esp], 0x6acd2616
mov dword [esp + 4], edi
call sym._wine_dbg_sprintf_1
jmp 0x6acc88d8
mov eax, 0x6acd262a
jmp 0x6acc88d8
Function at 0x6acc8ce0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
mov esi, 0xffffffff
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
lock xadd dword [ebx + 4], esi
dec esi
test byte [0x6acd0130], 8
jne 0x6acc8d60
test esi, esi
jne 0x6acc8d51
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x6acc8d1f
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebx + 8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], ebx
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_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, esi
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__refcount_now__li_n
mov dword [esp + 8], str.activate_async_op_Release
mov dword [esp + 4], 0x6acd0130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6acc8d09
Function at 0x6accc430
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 0xc], ebx
dec ebx
test byte [0x6acd0204], 8
jne 0x6accc4a0
test ebx, ebx
jne 0x6accc48f
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], esi
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_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__new_ref__lu_n
mov dword [esp + 8], str.SAC_Release
mov dword [esp + 4], 0x6acd0204
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6accc459

Function at 0x6accc500
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
mov esi, 0xffffffff
push ebx
push ecx
sub esp, 0x38
mov ebx, dword [ecx]
lock xadd dword [ebx + 4], esi
dec esi
test byte [0x6acd0204], 8
jne 0x6accc620
test esi, esi
jne 0x6accc60d
mov eax, dword [ebx + 0x40]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x2c]
mov eax, dword [ebx + 0x4c]
sub esp, 4
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x6accc569
mov edx, dword [ebx + 0x44]
mov ecx, dword [edx]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [ecx + 0x10]
sub esp, 0xc
mov eax, dword [ebx + 0x44]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebx + 0x40]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebx + 0x3c]
sub esp, 4
test eax, eax
je 0x6accc597
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebx + 0x24]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], edx
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x38]
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [ebx + 8]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
mov eax, dword [ebx + 0x20]
sub esp, 4
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__new_ref__lu_n
mov dword [esp + 8], str.SAORS_Release
mov dword [esp + 4], 0x6acd0204
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6accc52e
Function at 0x6accc6d0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
mov esi, 0xffffffff
push ebx
push ecx
sub esp, 0x38
mov ebx, dword [ecx]
lock xadd dword [ebx + 4], esi
dec esi
test byte [0x6acd0204], 8
jne 0x6accc710
test esi, esi
je 0x6accc740
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__new_ref__lu_n
mov dword [esp + 8], str.SAO_Release
mov dword [esp + 4], 0x6acd0204
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
test esi, esi
jne 0x6accc6fe
mov eax, dword [ebx + 8]
add eax, 8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
sub esp, 4
mov dword [edx + 4], eax
mov edx, dword [ebx + 0x18]
mov dword [eax], edx
mov eax, dword [ebx + 8]
add eax, 8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 8]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebx + 0x14]
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 4
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, esi
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x6acce920
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
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 0x6acce97b
cmp byte [esi + ebx - 1], 0xa
je 0x6acce94f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6acdd984], 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]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x6accf400
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x22c
mov eax, dword [0x6acdd9a0]
test eax, eax
je 0x6accf4b8
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x6accf440
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x220]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x6accf42c
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x6accf4ed
mov dword [esp + 4], 0x6acd9164
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x6acdd9a0], eax
sub esp, 8
test eax, eax
jne 0x6accf41d
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x6accf42e
Function at 0x6accf500
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get process heap flags
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov edi, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edx, dword [ebp - 0x1c]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
sub esp, 8
test ebx, ebx
je 0x6accf698
mov eax, dword [esi]
test eax, eax
je 0x6accf680
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], ebx
mov dword [esp + 0x14], 0
mov dword [ebp - 0x28], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
lea ecx, [eax + 1]
sub esp, 0x18
lea eax, [ecx + ecx]
mov dword [esp + 4], 0
mov edi, eax
mov dword [ebp - 0x20], eax
mov dword [esp + 8], edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x6accf6a8
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi + 4]
xor edx, edx
sub esp, 0x18
mov word [edi + eax - 2], dx
mov eax, dword [esi]
test ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
jne 0x6accf670
call dword [edx + 0x28]
mov dword [esi + 8], eax
sub esp, 8
mov dword [esp + 8], edi
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_HeapFree]
mov eax, dword [esi + 8]
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
not eax
pop ebx
shr eax, 0x1f
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
call dword [edx + 0x24]
mov dword [esi + 8], eax
sub esp, 8
jmp 0x6accf636
mov edx, esi
mov eax, edi
call sym._create_registrar
test eax, eax
jne 0x6accf570
lea esi, [esi]
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esi + 8], 0x8007000e
xor eax, eax
jmp 0x6accf69a
Function at 0x1f6359b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
test eax, 0x80000000
je 0x1f635b8
mov edx, eax
and edx, 0x7fffffff
mov dword [ebp - 0xc], edx
jmp 0x1f635bd
xor edx, edx
mov dword [ebp - 0xc], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x3c]
push edi
mov esi, dword [eax + ebx + 0x78]
lea eax, [eax + ebx + 0x18]
add esi, ebx
mov eax, dword [eax + 0x64]
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x24]
add edi, ebx
add ecx, ebx
add eax, ebx
test edx, edx
mov dword [ebp - 0x10], eax
je 0x1f635fd
mov eax, dword [esi + 0x10]
imul eax, eax, 0x3fffffff
add eax, edx
jmp 0x1f6363b
and dword [ebp + 8], 0
cmp dword [esi + 0x18], 0
jbe 0x1f63643
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, ebx
push eax
call fcn.01f63669
pop ecx
test eax, eax
pop ecx
jne 0x1f63631
inc dword [ebp + 8]
add dword [ebp - 8], 4
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x1f6360a
jmp 0x1f63643
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
movzx eax, word [eax + ecx*2]
mov edi, dword [edi + eax*4]
add edi, ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], 0
je 0x1f63661
cmp dword [ebp - 4], esi
jbe 0x1f63661
mov eax, dword [ebp - 0x14]
add eax, esi
cmp dword [ebp - 4], eax
jae 0x1f63661
push dword [ebp - 0xc]
push ebx
call dword [ebp + 0x10]
jmp 0x1f63664
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1f63693
Capabilities:
Encode data using xor

Disassembly:
push ecx
push eax
push esi
push edi
mov ecx, edi
sub ecx, eax
mov esi, eax
mov edi, esi
lodsb al, byte [esi]
xor al, 0x4c
stosb byte es:[edi], al
loop 0x1f6369f
pop edi
pop esi
pop eax
pop ecx
ret

Function at 0x1f636aa
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
Function at 0x40b0d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e53b
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.00462db8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b152
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004609cd
mov eax, dword [eax]
push 0xb531d0
push eax
call fcn.00452e64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00463043
test bl, bl
je 0x40b152
push 0xb531d0
lea ecx, [esp + 0xc]
call fcn.004633d3
push 0xb56d44
lea ecx, [esp + 0xc]
call fcn.004633d3
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 0x40b18e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00463043
jmp 0x40b259
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 0x40b212
lea edx, [esp + 0x7c]
push 0xb56d40
push edx
call fcn.00452e64
add esp, 8
test eax, eax
je 0x40b212
lea eax, [esp + 0x7c]
push 0xb56d3c
push eax
call fcn.00452e64
add esp, 8
test eax, eax
je 0x40b212
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 0x40b1a2
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.00463043
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 0x40ba50
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 0x40bab2
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 0x40bac0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e5bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xb5d6f8]
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 0x40bbf8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40bb26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463043
xor eax, eax
jmp 0x40bc6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00463180
push esi
lea ecx, [esp + 0xc]
call fcn.0046340f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40bc4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040ba50
test eax, eax
jne 0x40bc4d
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 0x80000000
mov ecx, edi
call fcn.0040ba50
test eax, eax
jne 0x40bc4d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00453ea0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bc2c
lea ecx, [esp + 0x14]
push 0xb56d54
push ecx
call fcn.00453e20
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bc2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40bc2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00463130
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40bb3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463043
xor eax, eax
jmp 0x40bc6f
mov byte [esi], 0
push 0xb56d50
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.00463043
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