joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450518
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4506e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4506c9
mov dl, 1
mov eax, dword [0x4125ec]
call fcn.0040347c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042bc
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x4506b8
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.0043e418
test al, al
jne 0x4505b5
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4506ab
xor edx, edx
push ebp
push 0x4506a4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4505d5
mov ebx, dword [ebp - 0x10]
jmp 0x4505d7
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x4506f8
lea eax, [ebp - 0x258]
call fcn.004093f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45068d
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x450730
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45068d
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.0040452c
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45068d
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.0040452c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4506ab
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x450596
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041666c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4506ef
lea eax, [ebp - 0x264]
call fcn.004042bc
ret
Function at 0x451030
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x476b48]
cmp byte [eax + 0xa5], 0
jne 0x4510a1
cmp dword [0x476b60], 0
jne 0x451062
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450fec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x476b60], eax
cmp dword [0x476b5c], 0
jne 0x45107d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x476b5c], eax
cmp dword [0x476b64], 0
jne 0x4510a1
push esp
push 0
push 0
push 0x450f90
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x476b64], eax
pop edx
ret

Function at 0x451734
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x476b48]
cmp dword [eax + 0x30], 0
je 0x4517de
cmp dword [ebx + 0x94], 0
jne 0x4517d8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4516c4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4517d8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45179e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4517d8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004145cc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4517ad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45233c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x452371
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004043ac
jmp 0x45237e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404310
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453490
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4534d1
mov eax, esi
call fcn.004399f4
test al, al
je 0x4534d1
mov eax, dword [ebx + 0x84]
call fcn.004396f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4534d1
push 0
mov eax, dword [ebx + 0x84]
call fcn.004396f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x456bc0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x456bee
mov eax, ebx
call fcn.00457674
cmp dword [ebx + 0x40], 0
je 0x456be7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x456c5f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x456c51
cmp dword [ebx + 8], 0
je 0x456c10
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x456c22
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x456c51
cmp dword [ebx + 8], 0
je 0x456c03
cmp eax, 3
je 0x456c35
dec eax
jne 0x456c03
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x456c03
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x456c03
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x456c7d
cmp dword [ebx + 0x14], 0xcc
je 0x456c7d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00456c88
pop ebx
ret
Function at 0x4010b8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call dword [sym.imp.kernel32.dll_GetVersion]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x80000000
jae 0x401170
mov dword [ebp - 8], 1
push 0x94
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40116b
push 0x94
push 0
mov eax, dword [ebp - 4]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x94
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 4
jne 0x40112a
mov dword [ebp - 8], 5
jmp 0x40115e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 5
jne 0x401145
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x401145
mov dword [ebp - 8], 6
jmp 0x40115e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 5
jne 0x40115e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 1
jne 0x40115e
mov dword [ebp - 8], 7
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
jmp 0x40121d
mov eax, dword [ebp - 0xc]
and eax, 0xffff
and eax, 0xffff
and eax, 0xff
and eax, 0xff
cmp eax, 4
jge 0x401198
mov dword [ebp - 8], 0
jmp 0x40121d
mov dword [ebp - 8], 2
push 0x94
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40121d
push 0x94
push 0
mov ecx, dword [ebp - 4]
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx], 0x94
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 4
jne 0x4011f7
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0xa
jne 0x4011f7
mov dword [ebp - 8], 3
jmp 0x401210
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 4
jne 0x401210
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0x5a
jne 0x401210
mov dword [ebp - 8], 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4087c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 2
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
call sub.mfc42.dll_AfxFindResourceHandle
mov dword [ebp - 4], eax
push 2
mov ecx, dword [ebp + 8]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40881f
mov dword [ebp - 4], 0
push 2
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x408829
xor eax, eax
jmp 0x408896
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x408844
xor eax, eax
jmp 0x408896
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.kernel32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40885b
xor eax, eax
jmp 0x408896
mov edx, dword [ebp - 0x14]
push edx
call fcn.00408779
add esp, 4
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_FreeResource]
mov ecx, dword [ebp - 0xc]
and ecx, 0xffff
cmp ecx, 0x10
je 0x408887
xor eax, eax
jmp 0x408896
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.mfc42.dll_AfxLoadSysColorBitmap
mov esp, ebp
pop ebp
ret

Function at 0x409f78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push esi
push edi
cmp dword [0x420a58], 0
je 0x409f96
mov eax, dword [0x420a54]
jmp 0x40a09a
mov dword [0x420a58], 1
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x40a095
mov dword [ebp - 4], 0x104
mov dword [ebp - 0x118], 1
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x118]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x40a088
mov ecx, 5
mov esi, str.Windows_Classic.theme
lea edi, [ebp - 0x138]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.kernel32.dll_lstrlen]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.kernel32.dll_lstrlen]
cmp dword [ebp - 0x13c], eax
jl 0x40a088
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.kernel32.dll_lstrlen]
mov ecx, dword [ebp - 0x13c]
sub ecx, eax
lea edx, [ebp + ecx - 0x114]
push edx
call dword [sym.imp.kernel32.dll_lstrcmpi]
test eax, eax
jne 0x40a088
mov dword [0x420a54], 1
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [0x420a54]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x414780
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419dbc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call sub.mfc42.dll_CString::CString_2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call sub.mfc42.dll_CString::CString_2
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call sub.mfc42.dll_CString::CString_2
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call sub.mfc42.dll_CString::CString_2
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call sub.mfc42.dll_CStringArray::CStringArray
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x41200000
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0x40a00000
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0xbb8
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0x64
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0x3e8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
push 0x4204bc
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call sub.mfc42.dll_CString::operator_1
push 0x4204b8
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call sub.mfc42.dll_CString::operator_1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], 0x41200000
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x50], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x54], 0x40a00000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x58], 0x1388
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x5c], 0x40a00000
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.00414900
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41a900
Capabilities:
Terminate process

Disassembly:
push 0x41a8e8
call dword [sym.imp.kernel32.dll_LoadLibraryA]
push 0x41a8f8
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x41a91d
call eax
jmp fcn.00418f00
Function at 0x4353a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a18db
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.004956f9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x435422
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00492d6a
mov eax, dword [eax]
push 0x5151fc
push eax
call fcn.00485a44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00495984
test bl, bl
je 0x435422
push 0x5151fc
lea ecx, [esp + 0xc]
call fcn.00495d14
push 0x518ebc
lea ecx, [esp + 0xc]
call fcn.00495d14
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 0x43545e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00495984
jmp 0x435529
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 0x4354e2
lea edx, [esp + 0x7c]
push 0x518eb8
push edx
call fcn.00485a44
add esp, 8
test eax, eax
je 0x4354e2
lea eax, [esp + 0x7c]
push 0x518eb4
push eax
call fcn.00485a44
add esp, 8
test eax, eax
je 0x4354e2
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 0x435472
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.00495984
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 0x435d40
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 0x435da2
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 0x435db0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a195b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x521008]
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 0x435ee8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x435e16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00495984
xor eax, eax
jmp 0x435f5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00495ac1
push esi
lea ecx, [esp + 0xc]
call fcn.00495d50
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 0x435f3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00435d40
test eax, eax
jne 0x435f3d
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 SysReAllocString
mov ecx, edi
call fcn.00435d40
test eax, eax
jne 0x435f3d
lea eax, [esp + 0x14]
push 0x518ed0
push eax
call fcn.00486b50
mov esi, eax
add esp, 8
test esi, esi
jne 0x435f1c
lea ecx, [esp + 0x14]
push 0x518ecc
push ecx
call fcn.00486ad0
mov esi, eax
add esp, 8
test esi, esi
jne 0x435f1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x435f1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00495a71
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x435e2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00495984
xor eax, eax
jmp 0x435f5f
mov byte [esi], 0
push 0x518ec8
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.00495984
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
Function at 0x43b01a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a1fe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00496f5f
xor ebp, ebp
mov dword [esi], 0x503624
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.00479500
call fcn.0042b590
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.00494b7f
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.0042b590
mov dword [ebx], 0x50147c
mov dword [edi], 0x503548
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x502e48
lea ecx, [esi + 0xb0]
call fcn.0042b590
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x503550
mov dword [esi + 0xac], ebp
call fcn.0049f608
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0049c5f5
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x43b1d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a2075
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x503550
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.0049c64c
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x501478
call fcn.0042b790
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.0049c64c
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x501478
call fcn.0042b790
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.00494bb2
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x501478
call fcn.0042b790
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0049da48
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret