joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a5d4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45b1bc]
cmp byte [eax + 0xc], 0
je 0x43a741
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43a73a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45cb64], 0
jne 0x43a628
push 0x43a748
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43a750
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb64], eax
cmp dword [0x45ab00], 0
jne 0x43a723
push 0x43a760
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45ab00], eax
cmp dword [0x45ab00], 0
je 0x43a723
push 0x43a76c
mov eax, dword [0x45ab00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb68], eax
push 0x43a77c
mov eax, dword [0x45ab00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb6c], eax
push 0x43a790
mov eax, dword [0x45ab00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb70], eax
push 0x43a7a8
mov eax, dword [0x45ab00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb74], eax
push 0x43a7c0
mov eax, dword [0x45ab00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb78], eax
push 0x43a7d4
mov eax, dword [0x45ab00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb7c], eax
push 0x43a7ec
mov eax, dword [0x45ab00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb80], eax
push 0x43a804
mov eax, dword [0x45ab00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb84], eax
push 0x43a820
mov eax, dword [0x45ab00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb88], eax
push 0x43a82c
mov eax, dword [0x45ab00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a741
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43e5cc
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.004043e4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e61b
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.00404654
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x445dc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x445e14]
test si, 4
je 0x445dd8
or bl, 1
test si, 8
je 0x445de2
or bl, 4
test si, 1
je 0x445dec
or bl, 8
test si, 2
je 0x445df6
or bl, 0x10
test si, 0x10
je 0x445e00
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445e0f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x445e18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x445e50]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445e31
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445e40
or bl, 4
test esi, 0x20000000
je 0x445e4b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c514
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44c526
add esp, 0xfffffff0
call fcn.00403990
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419a90
mov eax, dword [0x45ae70]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c8b8
mov eax, dword [0x45ae7c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c8c4
mov eax, ebx
call fcn.0044c8d0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411d38]
call fcn.00403628
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411d38]
call fcn.00403628
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411d38]
call fcn.00403628
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411d38]
call fcn.00403628
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411d38]
call fcn.00403628
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, 0x448ce8
push eax
push 0
push 0
mov eax, dword [0x45afc4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b4ec]
call fcn.0041cc84
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b4ec]
call fcn.0041cc84
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b4ec]
call fcn.0041cc84
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044cd20
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cbe8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cbe8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cbe8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c663
call fcn.004039e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44c9cc
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 0x44cb77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44cb58
mov dl, 1
mov eax, dword [0x412154]
call fcn.00403628
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043e4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44cb47
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.0043a934
test al, al
je 0x44cb3a
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, 0x44cb88
lea eax, [ebp - 0x254]
call fcn.0040910c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44cb3a
xor eax, eax
push ebp
push 0x44cb33
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 0x44cbc0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44cb1c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404654
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 0x44cb1c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cb3a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44ca3d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415c30
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 0x44cb7e
lea eax, [ebp - 0x260]
call fcn.004043e4
ret

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

Disassembly:
push ecx
mov eax, dword [0x45cbb0]
cmp byte [eax + 0xa5], 0
jne 0x44d531
cmp dword [0x45cbc8], 0
jne 0x44d4f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d47c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45cbc8], eax
cmp dword [0x45cbc4], 0
jne 0x44d50d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45cbc4], eax
cmp dword [0x45cbcc], 0
jne 0x44d531
push esp
push 0
push 0
push 0x44d420
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45cbcc], eax
pop edx
ret
Function at 0x44dbc4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45cbb0]
cmp dword [eax + 0x30], 0
je 0x44dc6e
cmp dword [ebx + 0x94], 0
jne 0x44dc68
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44db54
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44dc68
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 0x44dc2e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44dc68
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.004140a0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44dc3d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e7cc
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 0x44e801
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.004044d4
jmp 0x44e80e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404438
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f920
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f961
mov eax, esi
call fcn.00435ff4
test al, al
je 0x44f961
mov eax, dword [ebx + 0x84]
call fcn.00435d94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f961
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435d94
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x407290
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482ffa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.0042e0b5
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x40731b
push eax
push esi
call fcn.0042f4f1
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.0042e331
int3

Function at 0x40e500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 8], edx
push esi
mov esi, ecx
test eax, eax
jne 0x40e526
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi], 1
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.0040e490
test eax, eax
je 0x40e552
mov dword [esi], eax
mov eax, esi
mov dword [esi + 8], 0
mov dword [esi + 4], 0
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp - 4]
lea eax, [edi + 2]
push eax
call fcn.0044e33e
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40e57e
pop edi
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov eax, esi
pop ebx
mov dword [esi], 3
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
push edi
push 1
push ebx
call fcn.00451601
add esp, 0x10
cmp eax, edi
je 0x40e5b7
push ebx
call fcn.00449b06
add esp, 4
mov dword [esi + 8], 0
mov dword [esi], 2
mov eax, esi
mov dword [esi + 4], 0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
cmp ecx, 8
jne 0x40e5c6
mov ecx, 2
jmp 0x40e5f0
cmp ecx, 4
je 0x40e5bf
cmp ecx, 7
jne 0x40e5d7
mov ecx, 5
jmp 0x40e5fe
test ecx, ecx
jne 0x40e5e6
mov edx, edi
mov ecx, ebx
call fcn.0040c790
mov ecx, eax
cmp ecx, 2
je 0x40e5f0
cmp ecx, 3
jne 0x40e5fe
shr edi, 1
xor edx, edx
lea eax, [edi + edi]
mov word [eax + ebx], dx
lea edi, [eax + 2]
push dword [ebp + 0x14]
mov eax, dword [ebp - 8]
mov edx, eax
push 1
push 1
push ecx
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
push eax
call fcn.0040e280
add esp, 0x20
mov eax, esi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x411be0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x411c0b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x411bf4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x4259f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4856c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 0x1c]
push ebx
push esi
push edi
mov eax, dword [eax + 0x30]
mov edi, ecx
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x10], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.00410990
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
test esi, esi
je 0x425a56
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x425a56
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push ebx
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 0
push eax
push 0x270f
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.00423da0
mov ecx, dword [ebp + 0x20]
add esp, 0x1c
or dword [ecx], eax
pop edi
pop esi
pop ebx
test al, 2
jne 0x425aa3
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x24]
cmp eax, 0x45
jge 0x425a96
add eax, 0x64
jmp 0x425aa0
cmp eax, 0x64
jl 0x425aa0
add eax, 0xfffff894
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x42d310
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486a48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ad06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x30]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x10], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.0040a420
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
test esi, esi
je 0x42d380
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x42d380
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push ebx
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 0
push eax
push 0x270f
push 0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.0042b990
mov ecx, dword [ebp + 0x20]
add esp, 0x1c
or dword [ecx], eax
test al, 2
jne 0x42d3ca
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x24]
cmp eax, 0x45
jge 0x42d3bd
add eax, 0x64
jmp 0x42d3c7
cmp eax, 0x64
jl 0x42d3c7
add eax, 0xfffff894
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x42f025
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
jg 0x42f049
jl 0x42f040
test esi, esi
jne 0x42f049
xor eax, eax
xor edx, edx
jmp 0x42f140
cmp dword [edi + 0x38], 0
je 0x42f05e
push ebx
push esi
push dword [ebp + 8]
call fcn.0041a830
jmp 0x42f140
mov eax, dword [edi + 0x1c]
mov edx, esi
mov dword [ebp - 8], edx
mov ecx, dword [eax]
test ecx, ecx
je 0x42f073
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x42f075
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esi
test eax, eax
je 0x42f0b6
cmp eax, esi
jb 0x42f088
mov eax, esi
mov dword [ebp - 4], eax
push eax
push ecx
push dword [ebp + 8]
call fcn.00443400
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [ebp + 8]
sub edx, ecx
add eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xc], edx
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x42f0bc
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [edi + 0x4c], 0
je 0x42f134
mov ecx, edi
call fcn.0042e905
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
cmp eax, 0xfff
jbe 0x42f110
mov ecx, dword [ebp - 4]
push dword [edi + 0x4c]
push 0xfff
push 1
push ecx
call fcn.00451601
mov ecx, dword [ebp - 4]
add esp, 0x10
mov edx, dword [ebp - 8]
add ecx, eax
sub edx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
cmp eax, 0xfff
jne 0x42f10c
cmp edx, eax
ja 0x42f0d9
jmp 0x42f113
sub esi, edx
jmp 0x42f139
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, eax
test eax, eax
je 0x42f137
push dword [edi + 0x4c]
push edx
push 1
push dword [ebp - 4]
call fcn.00451601
mov ecx, dword [ebp - 0xc]
add esp, 0x10
sub ecx, eax
jmp 0x42f137
mov ecx, dword [ebp - 0xc]
sub esi, ecx
sbb ebx, 0
mov eax, esi
mov edx, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x457ed9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00457d4f
Function at 0x465c00
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487c22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x14], ebx
push edi
mov dword [ebp - 0x10], 0
je 0x465c52
mov dword [ebx], 0x48a840
mov dword [ebx + 0x10], 0x48a848
mov dword [ebx + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
lea esi, [ebx + 0x18]
mov ecx, ebx
push 0
push esi
mov dword [ebp + 0xc], esi
call fcn.00465a30
lea edx, [ebx + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], esi
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0044183e
mov esi, eax
add esp, 4
test esi, esi
je 0x465ce5
push 1
mov byte [ebp - 4], 5
call fcn.0042f3f1
add esp, 4
mov dword [esi + 4], eax
jmp 0x465ce7
xor esi, esi
lea eax, [ebx + 0x18]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov esi, dword [ebp + 0xc]
not ecx
and ecx, 1
mov dword [edi], 0
shl ecx, 2
mov eax, ebx
mov dword [edx], 0
mov edx, ecx
or edx, 2
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
and al, 2
mov dword [esi + 0x38], 0
mov eax, ebx
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
pop edi
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x467690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487de8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4ad06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
push 0x20219
push 0
push str.SoftwareWorking_SolutionsAcquire
push 0x80000002
mov dword [ebp - 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x467704
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x49c48c
mov word [esi], ax
call fcn.00408d10
jmp 0x467843
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push str.mainexe
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x46781b
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
shr ecx, 1
inc ecx
cmp ecx, eax
ja 0x467763
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x467770
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.004102c0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
push str.mainexe
push dword [ebp - 0x44]
call edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00426480
mov edi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x467813
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4677e1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4677d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467860
push edx
push ecx
call fcn.00441bd4
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x40]
call fcn.00407e10
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441e56
mov esp, ebp
pop ebp
ret
call fcn.00449ddd
int3