joyce8/EMBER2024-capa huggingface dataset:
Function at 0x607854
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x607866
add esp, 0xfffffff0
call fcn.004092b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c8320
mov eax, dword [0x8bcea0]
mov dword [eax + 4], ebx
mov dword [eax], 0x607d20
mov eax, dword [0x8bcebc]
mov dword [eax + 4], ebx
mov dword [eax], 0x607d2c
mov eax, ebx
call fcn.00607d38
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x48f768]
call fcn.00408bf8
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x48f768]
call fcn.00408bf8
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x48f768]
call fcn.00408bf8
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x48f768]
call fcn.00408bf8
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x48f768]
call fcn.00408bf8
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x60220c
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x50f940]
call fcn.005160e0
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x50f940]
call fcn.005160e0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x50f940]
call fcn.005160e0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x50f940]
call fcn.005160e0
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x50f940]
call fcn.005160e0
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.00608314
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x608144
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x608144
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x608144
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x608144
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x608144
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x6079e6
call fcn.00409308
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x607ee4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x60808f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x608070
mov dl, 1
mov eax, dword [0x493124]
call fcn.004b734c
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040aa50
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x60805f
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.00552708
test al, al
je 0x608052
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x6080a0
lea eax, [ebp - 0x394]
call fcn.00427c1c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x608052
xor eax, eax
push ebp
push 0x60804b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x608110
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x608034
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b9e0
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x608034
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b9e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x608052
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x607f55
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b7270
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x608096
lea eax, [ebp - 0x3a0]
call fcn.0040aa50
ret

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

Disassembly:
push ecx
mov eax, dword [0x8c41fc]
cmp byte [eax + 0xc5], 0
jne 0x608d0e
cmp dword [0x8c4220], 0
jne 0x608cce
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x86e4c4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x8c4220], eax
cmp dword [0x8c421c], 0
jne 0x608ce9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x8c421c], eax
cmp dword [0x8c4224], 0
jne 0x608d0e
push esp
push 0
push 0
mov eax, dword [0x86e4c0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x8c4224], eax
pop edx
ret
Function at 0x609130
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x609147
add esp, 0xfffffff0
call fcn.004092b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c8320
mov eax, dword [0x8bcafc]
cmp byte [eax], 0
jne 0x609174
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x8bd3c4]
cmp word [eax + 2], 0
jne 0x60918e
mov eax, dword [0x8bd3c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0060b524
mov eax, dword [0x8bd6b4]
cmp word [eax + 2], 0
jne 0x6091a8
mov eax, dword [0x8bd6b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0060b728
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x50f940]
call fcn.005160e0
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x60bca0
mov dl, 1
mov eax, dword [0x48f768]
call fcn.00408bf8
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x48f768]
call fcn.00408bf8
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x514954]
call fcn.00520684
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x609398
mov eax, dword [0x8bd050]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00520ba0
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x60bf88
mov dl, 1
mov eax, dword [0x48f768]
call fcn.00408bf8
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x8bd050]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00427a1c
test eax, eax
je 0x6092c2
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00427874
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00427a00
test eax, eax
je 0x6092da
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040b9e0
push ebx
push 0x60af00
call fcn.005fe1f4
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x8bcafc]
cmp byte [eax], 0
jne 0x60932b
mov eax, ebx
call fcn.0060957c
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.0060c1c0
mov eax, ebx
call fcn.0060ce60
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x60938f
call fcn.00409308
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6098c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x609962
cmp dword [ebx + 0xac], 0
jne 0x60995c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x6097fc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x60995c
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_GetWindowLongW
test al, 8
je 0x609922
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x60995c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004b2798
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x609931
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x609c1c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x8c41fc]
cmp dword [eax + 0x188], 0
je 0x609d96
test bl, bl
jne 0x609ce1
cmp dword [esi + 0xb4], 0
jne 0x609cd6
mov eax, esi
call fcn.0060ccb0
push eax
push 0x609b10
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x609ca7
mov eax, dword [0x8c41fc]
cmp byte [eax + 0xeb], 0
je 0x609ca7
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x609c88
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x609ca7
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x609c90
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x609cd6
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b2798
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x609cb6
inc dword [esi + 0xb4]
jmp 0x609d96
cmp dword [esi + 0xb4], 0
jle 0x609d96
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x609d96
cmp dword [esi + 0x58], 0
je 0x609d4b
mov eax, dword [0x8c41fc]
cmp byte [eax + 0xeb], 0
je 0x609d4b
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x609d2c
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x609d4b
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x609d34
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x609d7a
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b2798
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x609d5a
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5fa8fc]
call fcn.0040d68c
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x60aa34
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x60aa91
cmp byte [ebx + 0xeb], 0
jne 0x60aa91
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040abd8
mov eax, dword [esi]
test eax, eax
je 0x60aa7e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x60aa9e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040ae30
jmp 0x60aa9e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040ae30
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x60c3d4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x60c445
mov eax, esi
call fcn.0054c21c
test al, al
je 0x60c445
mov eax, dword [ebx + 0x98]
call fcn.0054be48
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x60c445
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x134]
test al, al
je 0x60c436
push 0
mov eax, dword [ebx + 0x98]
call fcn.0054be48
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0054280c
jmp 0x60c445
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.0060c1e0
pop esi
pop ebx
ret
Function at 0x61b824
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 5
ja 0x61b850
cmp dword [esp + 4], 5
jne 0x61b84c
cmp dword [esp + 8], 1
jae 0x61b850
xor eax, eax
jmp 0x61b852
mov al, 1
add esp, 0x114
ret

Function at 0x62f92c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x8c4728], 0
jne 0x62f943
call fcn.0062f8e8
mov eax, edi
dec eax
test eax, eax
jl 0x62f96b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x8c4328]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x62f94d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x632994
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x6329c5
dec al
je 0x632a00
dec al
je 0x632a44
dec al
je 0x632ab6
jmp 0x632b51
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x632b51
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x6329d5
jmp 0x632b51
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x632b51
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x632a10
jmp 0x632b51
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x632b51
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x632a77
xor edx, edx
mov dword [esp + 4], edx
jmp 0x632a8c
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x632aa4
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x632a54
jmp 0x632b51
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x632b51
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x632b1d
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.0062f974
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x632ad2
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x63f4f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040b924
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x63f509
test al, 0x10
jne 0x63f50d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x6483ec
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x6483fe
add esp, 0xfffffff0
call fcn.004092b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0058feb0
mov eax, dword [0x648668]
not eax
and dword [ebx + 0x60], eax
mov dword [ebx + 0x44c], 0x3f800000
mov dl, 1
mov eax, dword [0x61bec4]
call fcn.0061c568
mov dword [ebx + 0x2c4], eax
mov dl, 1
mov eax, dword [0x639128]
call fcn.00652ee8
mov esi, eax
mov dword [ebx + 0x2cc], esi
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], 0x652924
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], 0x6529ac
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], 0x6529a0
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x88], 0x652964
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], 0x64f2ac
mov eax, dword [ebx + 0x2c4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x6483dc
mov dword [ebx + 0x2d4], 0xff0000
mov dword [ebx + 0x334], 0x1fffffff
mov dword [ebx + 0x338], 0x1fffffff
mov dword [ebx + 0x340], 0x808080
mov dword [ebx + 0x33c], 2
mov ecx, ebx
mov dl, 1
mov eax, dword [0x638c9c]
call fcn.00653344
mov dword [ebx + 0x368], eax
mov dl, 1
mov eax, dword [0x6295dc]
call fcn.00408bf8
mov dword [ebx + 0x3a0], eax
mov dl, 1
mov eax, ebx
call fcn.0054a610
mov dl, 1
mov eax, dword [0x513f80]
call fcn.0051df70
mov dword [ebx + 0x3a8], eax
mov byte [ebx + 0x3ae], 0
mov dword [ebx + 0x3b8], 0x14
mov dword [ebx + 0x3c0], 0x808080
mov byte [ebx + 0x3d8], 1
mov dword [ebx + 0x400], 0xffffffff
mov dword [ebx + 0x404], 0xffffffff
xor eax, eax
mov dword [ebx + 0x3e4], eax
mov byte [ebx + 0x430], 0
mov dl, 1
mov eax, dword [0x63857c]
call fcn.00638930
mov dword [ebx + 0x440], eax
call sub.kernel32.dll_GetVersion
movzx edx, al
movzx eax, ax
shr eax, 8
movzx eax, al
cmp edx, 5
ja 0x64857c
cmp edx, 5
jne 0x648578
cmp eax, 1
jae 0x64857c
xor eax, eax
jmp 0x64857e
mov al, 1
mov byte [ebx + 0x3ac], al
mov ecx, ebx
mov dl, 1
mov eax, dword [0x63a074]
call fcn.00654918
mov dword [ebx + 0x3c4], eax
mov byte [ebx + 0x3c8], 1
mov byte [ebx + 0x3c9], 1
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x2d8], eax
mov dword [ebx + 0x3cc], 0x1fffffff
mov dword [ebx + 0x428], 0x1fffffff
mov dword [ebx + 0x42c], 0x1fffffff
mov dl, 1
mov eax, dword [0x639bd4]
call fcn.00657564
mov esi, eax
mov dword [ebx + 0x424], esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], 0x64f29c
mov dl, 1
mov eax, dword [0x48f768]
call fcn.00408bf8
mov dword [ebx + 0x434], eax
mov byte [ebx + 0x346], 1
mov dword [ebx + 0x438], 0xffffffff
mov edx, 0x12c
mov eax, ebx
call fcn.0064faf0
mov edx, 0xc8
mov eax, ebx
call fcn.0064fab4
test byte [ebx + 0x1c], 0x10
je 0x64863e
mov eax, dword [ebx + 4]
test byte [eax + 0x1c], 2
jne 0x64863e
mov eax, dword [ebx + 4]
test byte [eax + 0x1c], 1
je 0x648642
xor eax, eax
jmp 0x648644
mov al, 1
mov byte [ebx + 0x448], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x648661
call fcn.00409308
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x6589e8
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x6589fa
add esp, 0xfffffff0
call fcn.004092b0
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040eecc
xor eax, eax
push ebp
push 0x658a6e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00408bf8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00658b6c
mov dl, 1
mov eax, dword [0x493124]
call fcn.004b734c
mov dword [esi + 0x28], eax
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x658a58
push 0x658a94
call sub.user32.dll_RegisterClipboardFormatW
mov dword [0x8c4730], eax
call sub.user32.dll_CloseClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x658a75
lea eax, [ebp - 4]
call fcn.0040ee58
ret
Function at 0x66ea8c
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 5
ja 0x66eab8
cmp dword [esp + 4], 5
jne 0x66eab4
cmp dword [esp + 8], 1
jae 0x66eab8
xor eax, eax
jmp 0x66eaba
mov al, 1
add esp, 0x114
ret

Function at 0x6a69e4
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.0040aa50
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x6a6a15
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.0040abd8
add esp, 0x24
pop ebx
ret
Function at 0x6d0960
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x6d0968
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6d0b1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x6d0b38
call fcn.0040bb90
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.006ce538
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x6d0b4c
call fcn.00678e18
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6d09e3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6d0a24
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.006ce538
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6d0bb4
call fcn.00678e18
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040bb38
mov eax, esi
mov edx, 0x6d0be0
call fcn.0040bb38
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6d0a3c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6d0aaa
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6d0bf4
call fcn.00678e18
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040bb38
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x6d0a73
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6d0a9e
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6d0c24
call fcn.00678e18
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040bb38
mov eax, esi
mov edx, 0x6d0be0
call fcn.0040bb38
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x6d0ab6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6d0ae1
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6d0c50
call fcn.00678e18
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040bb38
mov eax, esi
mov edx, 0x6d0be0
call fcn.0040bb38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d0b24
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.0040aab0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040aab0
lea eax, [ebp - 4]
call fcn.0040aa50
ret