joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a80
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x14]
mov ecx, 0x40
cmp eax, ecx
cmova eax, ecx
push eax
push 0
push 0
push 0xffffffffffffffff
mov dword [0x41d324], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x41d320], eax
test eax, eax
je 0x405c05
mov eax, dword [0x41d324]
push ebx
push esi
push edi
lea esi, [eax*4]
push esi
push 8
push dword [0x41d32c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, eax
test edi, edi
jne 0x405b0c
push 0x80
call ebx
push esi
push 8
push dword [0x41d32c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x405af0
mov eax, dword [0x41d324]
xor esi, esi
test eax, eax
je 0x405b39
push 0
push 0
push 0
push 0x405710
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + esi*4], eax
inc esi
mov eax, dword [0x41d324]
cmp esi, eax
jb 0x405b17
push eax
push str._lu_I_O_Workers_Created
call fcn.00404a10
mov eax, dword [0x41d2fc]
add esp, 8
test eax, eax
je 0x405b58
push eax
call fcn.00405030
jmp 0x405b5d
call fcn.004053e0
push str.Waiting_For_I_O_Workers
call fcn.00404a10
add esp, 4
nop word [eax + eax]
push 0x300
call ebx
mov eax, dword [0x41d31c]
cmp dword [0x41d328], eax
jne 0x405b70
mov eax, dword [0x41d324]
xor esi, esi
test eax, eax
je 0x405bad
mov ebx, dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0
push 0
push 0
push dword [0x41d320]
call ebx
mov eax, dword [0x41d324]
inc esi
cmp esi, eax
jb 0x405b95
push 0xffffffffffffffff
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [0x41d324], esi
jbe 0x405bde
nop dword [eax]
push dword [edi + esi*4]
call ebx
inc esi
cmp esi, dword [0x41d324]
jb 0x405bd0
push edi
push 0
push dword [0x41d32c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [0x41d320]
call ebx
push str.The_End_:L
call fcn.00404a10
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406224
mov esp, ebp
pop ebp
ret
Function at 0x406a2f
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40caf3
push ebx
push esi
call fcn.0040ca1f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040ac3a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40caa0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40caf2
push edi
push eax
call fcn.0040ab5c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40cac0
call fcn.0040ab22
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40caf1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040ac3a
add esp, 0x20
test eax, eax
jne 0x40cadf
push edi
call fcn.0040ab22
jmp 0x40cae7
push ebx
call fcn.0040ab22
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40dce3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4163d0
push 0x4163c8
push str.FlsAlloc
push 0x1f
call fcn.0040dba2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40dd17
push dword [ebp + 8]
mov ecx, esi
call dword [0x4141a0]
call esi
jmp 0x40dd1d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40dd61
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4163e0
push 0x4163d8
push str.FlsGetValue
push 0x21
call fcn.0040dba2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40dd98
push dword [ebp + 8]
mov ecx, esi
call dword [0x4141a0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40dda0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4163e8
push 0x4163e0
push str.FlsSetValue
push 0x22
call fcn.0040dba2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ddda
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4141a0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10001660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001402c
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x10024018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, 0x30
mov bl, 0x29
mov dl, 0x6d
mov cl, 0x25
push 0xc9
mov byte [ebp - 0x10d], al
mov byte [ebp - 0x10a], al
mov byte [ebp - 0x102], al
mov byte [ebp - 0xe3], al
mov byte [ebp - 0xe0], al
mov byte [ebp - 0x108], bl
mov byte [ebp - 0x100], bl
mov byte [ebp - 0xfb], bl
mov byte [ebp - 0xde], bl
lea eax, [ebp - 0xd9]
push 0
mov bl, 0x44
push eax
mov byte [ebp - 0x114], 0x6c
mov byte [ebp - 0x113], 0x20
mov byte [ebp - 0x112], 0x21
mov byte [ebp - 0x111], 0x22
mov byte [ebp - 0x110], 0x31
mov byte [ebp - 0x10f], 0x2a
mov byte [ebp - 0x10e], 0x64
mov byte [ebp - 0x10c], 0x26
mov byte [ebp - 0x10b], 5
mov byte [ebp - 0x109], 0x2b
mov byte [ebp - 0x107], 0x37
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], dl
mov byte [ebp - 0x104], 0x6c
mov byte [ebp - 0x103], cl
mov byte [ebp - 0x101], 0x2b
mov byte [ebp - 0xff], 0x37
mov byte [ebp - 0xfe], 0x69
mov byte [ebp - 0xfd], 0x22
mov byte [ebp - 0xfc], cl
mov byte [ebp - 0xfa], 0x2d
mov byte [ebp - 0xf9], 0x28
mov byte [ebp - 0xf8], 0x3d
mov byte [ebp - 0xf7], 0x64
mov byte [ebp - 0xf6], 0x75
mov byte [ebp - 0xf5], dl
mov byte [ebp - 0xf4], dl
mov byte [ebp - 0xf3], 0x6c
mov byte [ebp - 0xf2], 0x32
mov byte [ebp - 0xf1], 0x28
mov byte [ebp - 0xf0], 0x69
mov byte [ebp - 0xef], cl
mov byte [ebp - 0xee], 0x27
mov byte [ebp - 0xed], cl
mov byte [ebp - 0xec], 0x20
mov byte [ebp - 0xeb], 0x69
mov byte [ebp - 0xea], 0x20
mov byte [ebp - 0xe9], 0x21
mov byte [ebp - 0xe8], 0x22
mov byte [ebp - 0xe7], 0x31
mov byte [ebp - 0xe6], 0x2a
mov byte [ebp - 0xe5], 0x64
mov byte [ebp - 0xe4], 0x63
mov byte [ebp - 0xe2], 0x26
mov byte [ebp - 0xe1], 5
mov byte [ebp - 0xdf], 0x2b
mov byte [ebp - 0xdd], 0x37
mov byte [ebp - 0xdc], dl
mov byte [ebp - 0xdb], 0x49
mov byte [ebp - 0xda], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], 0
call fcn.10003be0
mov edx, dword [ebp - 0x118]
push edx
call sub.ACAD.exe_ads_queueexpr
add esp, 8
cmp eax, 0x13ec
lea ecx, [ebp - 0x118]
je 0x10001882
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x1000188d
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012a8e
mov esp, ebp
pop ebp
ret
Function at 0x10002570
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push str.SOFTWARE_sunkingmenu
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x100025b4
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4
cmp byte [ebp + 8], 0
push ebx
mov ebx, 4
lea eax, [ebp - 4]
je 0x100025e5
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0xc]
push ebx
push eax
push ebx
push 0
push str.SideMenu
and edx, 1
push ecx
mov dword [ebp - 4], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10002693
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp + 8]
push edx
mov edx, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.SideMenu
push edx
mov dword [ebp + 8], ebx
call edi
test eax, eax
jne 0x1000261d
cmp dword [ebp - 8], ebx
jne 0x1000261d
cmp dword [ebp - 4], eax
setne al
xor eax, dword [esi + 8]
and eax, 1
xor dword [esi + 8], eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
push 0
push str.Debug
push ecx
mov dword [ebp + 8], ebx
call edi
test eax, eax
jne 0x10002656
cmp dword [ebp - 8], ebx
jne 0x10002656
xor edx, edx
cmp dword [ebp - 4], edx
setne dl
shl edx, 6
xor edx, dword [esi + 8]
and edx, 0x40
xor dword [esi + 8], edx
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push str.MenuText
push eax
mov dword [ebp + 8], ebx
call edi
test eax, eax
pop edi
jne 0x10002693
cmp dword [ebp - 8], ebx
jne 0x10002693
xor ecx, ecx
cmp dword [ebp - 4], ecx
setne cl
shl ecx, 7
xor ecx, dword [esi + 8]
and ecx, 0x80
xor dword [esi + 8], ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [ebp - 0xc]
pop ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4
Function at 0x10002ed0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10024018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x10002f08
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012a8e
mov esp, ebp
pop ebp
ret
cmp word [eax], 0x5a4d
jne 0x10002ef8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10002ef8
xor edx, edx
cmp word [ecx + 0x18], 0x20b
push esi
sete dl
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], 0
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test esi, esi
mov eax, dword [ebp - 0x12c]
jne 0x10002f60
test eax, eax
mov dword [ebp - 0x124], 0
je 0x10002f6a
mov dword [ebp - 0x124], 1
test edi, edi
je 0x10002f76
mov ecx, dword [ebp - 0x124]
mov dword [edi], ecx
test ebx, ebx
je 0x10002f7c
mov dword [ebx], eax
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp byte [ebp - 6], 1
setne al
mov esi, eax
mov eax, dword [ebp - 0x11c]
shl eax, 8
or eax, dword [ebp - 0x118]
cmp eax, 0x602
mov dword [ebp - 0x128], eax
jb 0x10002fcf
lea ecx, [ebp - 0x128]
push ecx
call fcn.10003010
mov eax, dword [ebp - 0x128]
add esp, 4
test esi, esi
pop esi
je 0x10002fe0
cmp eax, 0x600
jb 0x10002fe0
or eax, 0x100000
cmp dword [ebp - 0x124], 0
je 0x10002fee
or eax, 0x10000
mov edx, dword [ebp - 0x130]
mov ecx, dword [ebp - 4]
mov dword [edx], eax
xor ecx, ebp
mov eax, 1
call fcn.10012a8e
mov esp, ebp
pop ebp
ret

Function at 0x10003be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10024018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dl, byte [edi]
movsx esi, bl
movzx ecx, dl
cmp ecx, esi
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x108]
je 0x10003c28
mov ecx, eax
sub edi, ecx
xor dl, bl
mov byte [eax], dl
mov dl, byte [edi + eax + 1]
add eax, 1
movzx ecx, dl
cmp ecx, esi
jne 0x10003c16
mov ecx, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
push edx
mov byte [eax], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_777]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10012a8e
mov esp, ebp
pop ebp
ret
Function at 0x100043b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013d49
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
mov eax, dword [0x10024018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax - 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x100044d3
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [ebp - 4], ebx
mov eax, dword [esi]
sub eax, 1
je 0x10004461
sub eax, 3
jne 0x100044ca
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
mov ebx, 4
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100044ca
cmp dword [ebp - 0x18], ebx
jne 0x100044ca
push ecx
lea edx, [esi + 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.100045a0
add esp, 8
test eax, eax
je 0x100044ca
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
jmp 0x100044ca
mov eax, dword [esi + 4]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push ebx
lea edx, [ebp - 0x18]
push edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push edi
call ebx
test eax, eax
jne 0x100044ca
cmp dword [ebp - 0x18], 1
jne 0x100044ca
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x10]
push edx
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push ecx
push edi
call ebx
test eax, eax
jne 0x100044ca
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [esi + 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100044f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100140b9
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x10024018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x1000458a
cmp dword [esi + 8], 0
jne 0x1000458a
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [ebp - 4], 0
mov eax, dword [esi]
sub eax, 1
je 0x1000454f
sub eax, 3
jne 0x10004581
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
push 4
push ecx
push 4
push eax
push edx
jmp 0x1000457a
mov eax, dword [esi + 4]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
mov edi, dword [esi + 0xc]
lea edx, [eax + eax + 2]
push edx
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_2461]
push eax
mov eax, dword [esi]
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10004b30
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013c42
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10024018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push eax
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x10004ba8
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
add edx, edx
push edx
push eax
mov eax, dword [ebp - 0x14]
push 1
push 0
push str.LastKey
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Regedit.exe
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov edx, dword [ebp - 0x10]
push 5
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10004ca0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014d2a
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10024018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
push 0x10004e00
push 0x10004df0
push 0x64
push 0x10
lea eax, [esi + 0x4c]
mov dword [ebp - 4], ebx
push eax
mov dword [esi], vtable.CMenuEx.0
call fcn.10012968
lea edi, [esi + 0x68c]
mov ecx, edi
mov byte [ebp - 4], 1
call sub.MFC80U.DLL_Ordinal_416
mov dword [esi + 0x698], ebx
mov dword [esi + 0x694], 0x10016d74
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 6
call ebx
push 7
mov dword [esi + 8], eax
call ebx
push 4
mov dword [esi + 0xc], eax
call ebx
mov dword [esi + 0x10], eax
xor eax, eax
push eax
push eax
push 0x19
push 0x10
push 0x10
mov ecx, edi
mov dword [esi + 0x14], 0xffffff
mov dword [esi + 0x18], 0xf6c890
mov dword [esi + 0x1c], 0xffd199
mov dword [esi + 0x20], 0xe4e4e4
mov dword [esi + 0x24], 0xf2f2f2
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 5
mov dword [esi + 0x3c], 4
mov dword [esi + 0x40], 0x10
mov dword [esi + 0x44], 0xc
mov dword [esi + 0x48], 0x18
mov dword [esi + 0x6a0], eax
mov dword [esi + 0x69c], eax
call sub.MFC80U.DLL_Ordinal_1555
mov eax, 1
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10005f90
Capabilities:
Contain obfuscated stackstrings
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x10024018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push 0x18e
lea eax, [ebp - 0x3a6]
push esi
push eax
mov dword [ebx + 4], esi
mov word [ebp - 0x3a8], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3a8]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [ebx], eax
je 0x100061a1
push 0xf4
mov al, 0x27
mov cl, 0x6c
lea edx, [ebp - 0x208]
push esi
push edx
mov byte [ebp - 0x218], 0x35
mov byte [ebp - 0x217], 0x35
mov byte [ebp - 0x216], 0x35
mov byte [ebp - 0x215], cl
mov byte [ebp - 0x214], 0x36
mov byte [ebp - 0x213], al
mov byte [ebp - 0x212], 0x2c
mov byte [ebp - 0x211], 0x25
mov byte [ebp - 0x210], 0x36
mov byte [ebp - 0x20f], al
mov byte [ebp - 0x20e], cl
mov byte [ebp - 0x20d], 0x31
mov byte [ebp - 0x20c], 0x2b
mov byte [ebp - 0x20b], 0x36
mov byte [ebp - 0x20a], al
mov byte [ebp - 0x209], 0x42
call sub.MSVCR80.dll_memset
mov al, 0x20
mov byte [ebp - 0x10f], al
mov byte [ebp - 0x10a], al
mov al, 0x24
push 0xec
mov byte [ebp - 0xfc], al
mov byte [ebp - 0xfa], al
mov cl, 0x7b
lea eax, [ebp - 0xf8]
push esi
push eax
mov byte [ebp - 0x110], cl
mov byte [ebp - 0x10e], 0x36
mov byte [ebp - 0x10d], 7
mov byte [ebp - 0x10c], 0x3b
mov byte [ebp - 0x10b], 0x32
mov byte [ebp - 0x109], 0x23
mov byte [ebp - 0x108], 0x35
mov byte [ebp - 0x107], 0x26
mov byte [ebp - 0x106], 0x31
mov byte [ebp - 0x105], cl
mov byte [ebp - 0x104], 0x3f
mov byte [ebp - 0x103], 0x3d
mov byte [ebp - 0x102], 0x3a
mov byte [ebp - 0x101], 0x33
mov byte [ebp - 0x100], 0x37
mov byte [ebp - 0xff], 0x35
mov byte [ebp - 0xfe], 0x30
mov byte [ebp - 0xfd], 0x7a
mov byte [ebp - 0xfb], 0x3c
mov byte [ebp - 0xf9], 0x54
call sub.MSVCR80.dll_memset
lea edi, [ebx + 0xc]
mov ecx, 0x41
lea esi, [ebp - 0x218]
rep movsd dword es:[edi], dword [esi]
add esp, 0x18
lea edi, [ebx + 0x110]
mov ecx, 0x41
lea esi, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [ebx + 8], edi
mov dword [ebx + 0x228], edi
mov dword [ebx + 0x224], edi
call esi
push edi
push edi
push 1
push edi
mov dword [ebx + 0x214], eax
call esi
mov dword [ebx + 0x218], eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push ebx
push 0x10006260
push edi
push edi
call esi
push edi
push edi
push ebx
push 0x10006330
push edi
push edi
mov dword [ebx + 0x220], eax
call esi
mov dword [ebx + 0x21c], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.10012a8e
mov esp, ebp
pop ebp
ret