joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446274
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x446290
cmp dword [esi + 4], 0
je 0x4462bd
test byte [ebx + 0x55], 1
jne 0x4462af
mov eax, ebx
call fcn.00444e14
test eax, eax
jne 0x4462af
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4463cd
mov edx, esi
mov eax, ebx
call fcn.00445d98
jmp 0x4463cd
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4463c6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004480e4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00442ab0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00446274
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004480e4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4463cd
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cae4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4bcb4c]
cmp byte [eax + 0xc], 0
je 0x44cc51
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44cc4a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bdb68], 0
jne 0x44cb38
push 0x44cc58
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44cc60
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb68], eax
cmp dword [0x4baec4], 0
jne 0x44cc33
push 0x44cc70
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4baec4], eax
cmp dword [0x4baec4], 0
je 0x44cc33
push 0x44cc7c
mov eax, dword [0x4baec4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb6c], eax
push 0x44cc8c
mov eax, dword [0x4baec4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb70], eax
push 0x44cca0
mov eax, dword [0x4baec4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb74], eax
push 0x44ccb8
mov eax, dword [0x4baec4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb78], eax
push 0x44ccd0
mov eax, dword [0x4baec4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb7c], eax
push 0x44cce4
mov eax, dword [0x4baec4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb80], eax
push 0x44ccfc
mov eax, dword [0x4baec4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb84], eax
push 0x44cd14
mov eax, dword [0x4baec4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb88], eax
push 0x44cd30
mov eax, dword [0x4baec4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb8c], eax
push 0x44cd3c
mov eax, dword [0x4baec4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bdb90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cc51
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x450f94
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004042d0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x450fe3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404540
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x458720
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458770]
test si, 4
je 0x458734
or bl, 1
test si, 8
je 0x45873e
or bl, 4
test si, 1
je 0x458748
or bl, 8
test si, 2
je 0x458752
or bl, 0x10
test si, 0x10
je 0x45875c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45876b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x458774
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4587ac]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45878d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45879c
or bl, 4
test esi, 0x20000000
je 0x4587a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45ee54
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45ee66
add esp, 0xfffffff0
call fcn.004037c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423980
mov eax, dword [0x4bc59c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f1f8
mov eax, dword [0x4bc5b0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f204
mov eax, ebx
call fcn.0045f210
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b158]
call fcn.00403470
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b158]
call fcn.00403470
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b158]
call fcn.00403470
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b158]
call fcn.00403470
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b158]
call fcn.00403470
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45b62c
push eax
push 0
push 0
mov eax, dword [0x4bc7f8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4253ac]
call fcn.004267f0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4253ac]
call fcn.004267f0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4253ac]
call fcn.004267f0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045f630
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f50c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f50c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f50c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45efa3
call fcn.0040381c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45f2f0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f49b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45f47c
mov dl, 1
mov eax, dword [0x41b7bc]
call fcn.00403470
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042d0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45f46b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044ce44
test al, al
je 0x45f45e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45f4ac
lea eax, [ebp - 0x254]
call fcn.00409c68
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45f45e
xor eax, eax
push ebp
push 0x45f457
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45f4e4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45f440
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404540
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
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 - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45f440
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404540
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f45e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45f361
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041fadc
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 0x45f4a2
lea eax, [ebp - 0x260]
call fcn.004042d0
ret

Function at 0x45fdd0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4bdbb4]
cmp byte [eax + 0xa5], 0
jne 0x45fe41
cmp dword [0x4bdbcc], 0
jne 0x45fe02
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45fd8c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4bdbcc], eax
cmp dword [0x4bdbc8], 0
jne 0x45fe1d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4bdbc8], eax
cmp dword [0x4bdbd0], 0
jne 0x45fe41
push esp
push 0
push 0
push 0x45fd30
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4bdbd0], eax
pop edx
ret
Function at 0x45ff38
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45ff4f
add esp, 0xfffffff0
call fcn.004037c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423980
mov eax, dword [0x4bc7e4]
cmp word [eax + 2], 0
jne 0x45ff77
mov eax, dword [0x4bc7e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461610
mov eax, dword [0x4bc904]
cmp word [eax + 2], 0
jne 0x45ff91
mov eax, dword [0x4bc904]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461808
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b158]
call fcn.00403470
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b158]
call fcn.00403470
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x425b5c]
call fcn.0042b910
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x460118
mov eax, dword [0x4bc65c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bce0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x461db8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4bc65c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dec0
test eax, eax
je 0x460086
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409648
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dee8
test eax, eax
je 0x46009a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404540
mov eax, dword [0x4bc450]
cmp byte [eax], 0
jne 0x4600ce
mov eax, ebx
call fcn.00460240
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00461f94
mov eax, ebx
call fcn.00462958
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46010e
call fcn.0040381c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4604c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4bdbb4]
cmp dword [eax + 0x30], 0
je 0x46056a
cmp dword [ebx + 0x94], 0
jne 0x460564
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460450
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460564
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 0x46052a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460564
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.0041d708
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460539
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4610cc
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 0x461101
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.004043c0
jmp 0x46110e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404324
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x462170
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4621b1
mov eax, esi
call fcn.004483e8
test al, al
je 0x4621b1
mov eax, dword [ebx + 0x84]
call fcn.004480e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4621b1
push 0
mov eax, dword [ebx + 0x84]
call fcn.004480e4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47f0c0
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x47f0e5
cmp dword [esp + 4], 5
jb 0x47f0e5
mov al, 1
jmp 0x47f0e7
xor eax, eax
add esp, 0x94
ret
Function at 0x401220
Capabilities:
Acquire debug privileges
Create process on windows

Disassembly:
sub esp, 0x3a4
push ebp
push esi
push edi
mov edi, dword [esp + 0x3b8]
xor esi, esi
mov dword [esp + 0x10], 0
cmp byte [edi], 0
je 0x401248
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x40123f
mov ebp, dword [esp + 0x3b4]
lea eax, [esp + 0x270]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x401272
pop edi
pop esi
mov eax, 2
pop ebp
add esp, 0x3a4
ret
push esi
push edi
call fcn.00401000
add esp, 8
test eax, eax
je 0x401419
lea ecx, [esp + 0x10]
push ecx
push 1
push ebp
push edi
push 0
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesA
test eax, eax
jne 0x401419
lea edx, [esp + 0x68]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4012d3
mov al, 0x5c
mov dl, byte [esp + ecx + 0x67]
dec ecx
cmp dl, al
je 0x4012ce
test ecx, ecx
ja 0x4012bf
jmp 0x4012d3
mov byte [esp + ecx + 0x68], 0
push str.SeDebugPrivilege
call fcn.004011a0
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x170]
push eax
push str._sx64DPInstx64.exe__F
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
xor edx, edx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x24], edx
add esp, 0x10
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], edx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], edx
push eax
push ecx
push edx
push edx
push 0x8000000
push edx
push edx
mov dword [esp + 0x3c], edx
push edx
lea edx, [esp + 0x18c]
push edx
push 0
mov dword [esp + 0x4c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, dword [sym.imp.MSVCRT.dll_wprintf]
test eax, eax
je 0x401356
push str.CreateProcess_succeeded_n
call esi
jmp 0x401360
push str.CreateProcess__
call fcn.00401430
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x401403
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401385
push str.Process_finished._n
call esi
jmp 0x40138f
push str.WaitForSingleObject
call fcn.00401430
mov ecx, dword [esp + 0x18]
add esp, 4
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4013b7
mov edx, dword [esp + 0xc]
push edx
push str.Process_exit_code__0x_X_n
call esi
add esp, 8
jmp 0x4013c4
push str.GetExitCodeProcess__
call fcn.00401430
add esp, 4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, dword [esp + 0xc]
push edx
push str.Thread_exit_code__0x_X_n
call esi
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x3a4
ret
push str.No_process_created_n
call esi
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x3a4
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
pop edi
pop esi
setne al
pop ebp
add esp, 0x3a4
ret
Function at 0x401600
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x402788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
push edi
mov dword [esp + 0x10], 0
lea ecx, [esp + 8]
mov dword [esp + 0x120], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x120], 2
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x404488
lea eax, [esp + 0xc]
push str._sLanSource.ini
push eax
mov byte [esp + 0x12c], 3
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
push str.INSTALL
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x12c]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push 0x104
push edx
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x128]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x120], 2
call fcn.004023c6
lea ecx, [esp + 8]
mov byte [esp + 0x120], 1
call fcn.004023c6
lea ecx, [esp + 0x12c]
mov byte [esp + 0x120], 0
call fcn.004023c6
mov ecx, dword [esp + 0x118]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x4020a0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4034d8
push 0x402530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x24]
push eax
push 0x20019
push ebx
push str.SystemWPAPnP
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4020fe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x28], 4
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
push ebx
push ebx
push str.seed
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402141
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x24]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
mov dword [ebp - 4], ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x402259
lea ecx, [ebp - 0x20]
push ecx
push ebx
push ebx
push 0x8003
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x402259
mov byte [ebp - 0x30], bl
mov al, byte [ebp + 8]
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x2e], bl
mov byte [ebp - 0x2d], bl
push ebx
push 4
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
call esi
test eax, eax
je 0x402259
push ebx
push 4
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call esi
test eax, eax
je 0x402259
mov dword [ebp - 0x28], 0x10
push ebx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
push 2
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x402259
lea edx, [ebp - 0x24]
push edx
push 0x20006
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionSetup
push 0x80000002
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call esi
test eax, eax
jne 0x402221
push 0x10
lea eax, [ebp - 0x40]
push eax
push 3
push ebx
push str.PrivateHash
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x24]
push edx
call edi
lea eax, [ebp - 0x24]
push eax
push 0x20006
push ebx
push str.SoftwareMicrosoftDriver_Signing
push 0x80000001
call esi
test eax, eax
jne 0x402259
push 1
lea ecx, [ebp + 8]
push ecx
push 3
push ebx
push str.Policy
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040227f
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4