joyce8/EMBER2024-capa huggingface dataset:
Function at 0x560a54
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x560b74
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
call fcn.005a0a38
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, ebx
call fcn.00560310
test al, al
je 0x560b3f
mov edx, esi
mov eax, 0x560b8c
call fcn.0047a830
test al, al
je 0x560af3
cmp dword [ebp - 8], 0
je 0x560ad7
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x560aba
cmp dword [ebx + 0x310], 0
jne 0x560ac3
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_BringWindowToTop
push 0
push 0
push 0x10
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SendMessageA
jmp 0x560b59
mov ebx, dword [0x5b1a54]
mov ebx, dword [ebx]
lea edx, [ebp - 0x10]
mov eax, 0x14b
call ebx
mov eax, dword [ebp - 0x10]
call fcn.005a0a38
jmp 0x560b59
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x560b19
mov byte [ebx + 0x304], 1
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x300]
call fcn.00409ed4
mov eax, dword [ebp - 0x14]
call fcn.00560200
jmp 0x560b59
mov eax, dword [ebp - 4]
push eax
push 0
push 0x400
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x560b59
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x560b59
mov ebx, dword [0x5b1a54]
mov ebx, dword [ebx]
lea edx, [ebp - 0x18]
mov eax, 0x14c
call ebx
mov eax, dword [ebp - 0x18]
call fcn.005a0a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560b7b
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405018
ret
Function at 0x563630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x563744
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5b1ee0]
cmp dword [eax], 2
je 0x563723
xor edx, edx
push ebp
push 0x563719
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xff
lea eax, [ebp - 0x10d]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10d]
call fcn.0040af44
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 8]
mov edx, 0x56375c
call fcn.004436fc
mov eax, dword [ebp - 8]
call fcn.004054d0
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x56370f
xor edx, edx
push ebp
push 0x563708
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x563764
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x5636f1
push 0
push 0
mov edx, dword [0x5b1ce0]
mov edx, dword [edx]
push edx
push 0x563778
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56370f
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x563723
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56374b
lea eax, [ebp - 0x114]
call fcn.00404ff4
lea eax, [ebp - 8]
call fcn.00404ff4
ret
Function at 0x563780
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x56394d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
mov eax, dword [0x5b1ee0]
cmp dword [eax], 2
je 0x56392c
xor eax, eax
push ebp
push 0x563922
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4428f8]
call fcn.004429f8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x563911
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.00442a98
xor ecx, ecx
mov edx, 0x563968
mov eax, dword [ebp - 0xc]
call fcn.00442afc
test al, al
je 0x5638fb
mov edx, 0x563988
mov eax, dword [ebp - 0xc]
call fcn.00442f28
test eax, eax
je 0x5638fb
push 0xff
lea eax, [ebp - 0x115]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x115]
call fcn.0040af44
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x10]
mov edx, 0x5639a8
call fcn.004436fc
mov eax, dword [ebp - 0x10]
call fcn.004054d0
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5638fb
xor eax, eax
push ebp
push 0x5638f4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5639b8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
mov eax, dword [0x5b1a8c]
cmp byte [eax], 3
jne 0x5638aa
mov eax, dword [0x5b19a8]
mov eax, dword [eax]
cmp byte [eax + 0x484], 0
je 0x5638aa
push 0xffffffffffffffff
call sub.user32.dll_ShowCursor
mov eax, dword [0x5b19a8]
mov eax, dword [eax]
call fcn.0045465c
push eax
call ebx
mov byte [ebp - 1], al
mov eax, dword [0x5b1a8c]
cmp byte [eax], 3
jne 0x5638dd
mov eax, dword [0x5b19a8]
mov eax, dword [eax]
cmp byte [eax + 0x484], 0
je 0x5638dd
push 0
call sub.user32.dll_ShowCursor
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5638fb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x563918
mov eax, dword [ebp - 0xc]
call fcn.004040e0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x563954
lea eax, [ebp - 0x11c]
call fcn.00404ff4
lea eax, [ebp - 0x10]
call fcn.00404ff4
ret
Function at 0x59d614
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404ff4
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x59d6a8
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x59d6a3
xor eax, eax
push ebp
push 0x59d69c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x104
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10d]
push eax
push 0
push 0
push 0x59d6e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x59d685
mov edx, ebx
lea eax, [ebp - 0x10d]
call fcn.0040af44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59d6a3
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x59d6e8
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc0
mov edi, edx
mov esi, eax
xor ebx, ebx
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040387c
mov dword [esp + 4], 0x3c
mov dword [esp + 8], 0x40
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
mov eax, esi
call fcn.004054d0
mov dword [esp + 0x14], eax
mov eax, edi
call fcn.004054d0
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x20], eax
lea eax, [esp + 4]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x59d783
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
call fcn.0046d9ec
push esp
mov eax, dword [esp + 0x40]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [esp], 0x103
jne 0x59d77c
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
je 0x59d74c
cmp dword [esp], 0
sete bl
mov eax, ebx
add esp, 0x40
pop edi
pop esi
pop ebx
ret

Function at 0x59dd24
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x59ddf4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x59de0c
call fcn.00405048
xor ebx, ebx
lea eax, [ebp - 4]
xor edx, edx
mov dl, bl
add edx, 0x41
call fcn.004051dc
lea eax, [ebp - 4]
mov edx, 0x59de1c
call fcn.004052d8
mov eax, dword [ebp - 4]
call fcn.004054d0
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x59dd8c
cmp eax, dword [esp]
pop edx
pop eax
jne 0x59ddc6
lea eax, [ebp - 8]
xor edx, edx
mov dl, bl
add edx, 0x41
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.004036f0
mov edx, 0x59de20
lea eax, [ebp - 0xc]
mov cl, 2
call fcn.004036c0
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00405258
jmp 0x59ddc7
inc ebx
cmp bl, 0x19
ja 0x59ddde
mov eax, dword [esi]
mov edx, 0x59de0c
call fcn.0040541c
je 0x59dd52
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59ddfb
lea eax, [ebp - 4]
call fcn.00404ff4
ret
Function at 0x59de24
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00404ff4
push 1
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x59df28
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x59df28
xor eax, eax
push ebp
push 0x59df21
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x59df0e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x59df07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalSize
mov edx, 0x7fffffff
call fcn.00443490
mov esi, eax
mov eax, esi
call fcn.00402c7c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x59dee9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, esi
call fcn.00402f2c
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040af44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59def0
mov eax, dword [ebp - 4]
call fcn.00402cac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59df28
call sub.user32.dll_CloseClipboard
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x59e05c
Capabilities:
Get session user name

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp], 0x104
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x59e089
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040af44
jmp 0x59e09a
mov esi, dword [0x5b1a54]
mov esi, dword [esi]
mov edx, ebx
mov eax, 0xe4
call esi
add esp, 0x10c
pop esi
pop ebx
ret
Function at 0x59e0a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x59e1df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404ff4
mov eax, dword [0x5b1d04]
cmp dword [eax], 0
je 0x59e128
lea eax, [ebp - 0x105]
push eax
push 0
push 0
push esi
push 0
mov eax, dword [0x5b1d04]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x59e1c1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040af44
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040ecec
jmp 0x59e1c1
sub esi, 5
je 0x59e13d
sub esi, 0x1f
je 0x59e14b
dec esi
je 0x59e180
dec esi
je 0x59e1b5
jmp 0x59e1c1
mov eax, ebx
mov edx, 0x59e1f4
call fcn.00405048
jmp 0x59e1c1
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
jbe 0x59e1c1
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x105]
call fcn.0040af44
mov eax, dword [ebp - 0x110]
mov edx, ebx
call fcn.0040ecec
jmp 0x59e1c1
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jbe 0x59e1c1
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x105]
call fcn.0040af44
mov eax, dword [ebp - 0x114]
mov edx, ebx
call fcn.0040ecec
jmp 0x59e1c1
mov eax, ebx
mov edx, 0x59e210
call fcn.00405048
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59e1e6
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00405018
ret

Function at 0x59e238
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x59e2af
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA_1
test eax, eax
jbe 0x59e28f
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040af44
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040ecd8
jmp 0x59e296
mov eax, ebx
call fcn.00404ff4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59e2b6
lea eax, [ebp - 0x10c]
call fcn.00404ff4
ret

Function at 0x59e2bc
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffff4
push 0
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x59e2f0
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x59e2e9
mov eax, dword [esp]
jmp 0x59e2eb
xor eax, eax
add esp, 0xc
ret
Function at 0x5a0b0c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5a0c3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5a0c29
xor eax, eax
push ebp
push 0x5a0c22
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_EmptyClipboard
test ebx, ebx
jbe 0x5a0c0f
lea eax, [ebp - 0xc]
mov ecx, 0x5a0c58
mov edx, ebx
call fcn.0040531c
mov eax, dword [ebp - 0xc]
call fcn.004052d0
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a0bf7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5a0be6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004052d0
push eax
lea eax, [ebp - 0xc]
call fcn.00405528
mov edx, dword [ebp - 8]
pop ecx
call fcn.00402f2c
mov eax, dword [ebp - 4]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a0bed
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a0c29
call sub.user32.dll_CloseClipboard
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a0c46
lea eax, [ebp - 0xc]
call fcn.00404ff4
ret
Function at 0x40c140
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4a55
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x572b90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x14], xmm3
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.Entity.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi], vtable.Shell.1.0
mov dword [edi + 4], vtable.Shell.0
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 2
push 0x110
mov dword [edi + 0x28], 0x3f000000
mov dword [edi + 0x2c], 0x42c80000
mov dword [edi + 0x30], 0xc37a0000
mov byte [edi + 0x38], 1
call fcn.004c0775
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
push 0x110
push 0
push esi
mov byte [ebp - 4], 3
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00418970
mov ecx, eax
mov byte [ebp - 4], 2
lea esi, [edi + 8]
lea eax, [ebp - 0x1c]
cmp esi, eax
je 0x40c217
mov edx, dword [esi]
mov dword [esi], ecx
test edx, edx
je 0x40c221
mov eax, dword [edx]
mov ecx, edx
jmp 0x40c21d
test ecx, ecx
je 0x40c221
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi]
sub esp, 8
add ecx, 4
mov dword [esp + 4], 0x40c00000
mov dword [esp], 0x40c00000
call fcn.00419150
mov ecx, dword [esi]
sub esp, 8
add ecx, 4
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x40000000
call fcn.00419270
mov ecx, dword [esi]
lea eax, [ebp + 0x10]
push eax
add ecx, 4
call fcn.00419180
mov ecx, dword [esi]
push 0
push ebx
mov dword [edi + 0x20], ebx
call fcn.00418ad0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x64
idiv ecx
movss xmm0, dword [ebp + 0x18]
lea eax, [ebp + 0xc]
mov ecx, dword [esi]
add edx, 0x190
push eax
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss dword [edi + 0x14], xmm0
movss xmm0, dword [ebp + 0x1c]
mulss xmm0, xmm1
movss dword [edi + 0x18], xmm0
call fcn.00418aa0
movss xmm0, dword [ebp - 0x14]
mov ecx, edi
movss dword [edi + 0x3c], xmm0
call fcn.0040c4b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x415c50
Capabilities:
Log keystrokes
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
add eax, 0xfffffff8
cmp eax, 0xd6
ja case.0x415c69.10
movzx eax, byte [eax + 0x4160e0]
jmp dword [eax*4 + 0x415f54]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x575fe4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x57574c]
cmp eax, dword [ecx + 4]
jg 0x415f16
mov eax, dword [esp + 8]
sar eax, 0x10
movzx ecx, al
xor eax, eax
cmp ecx, dword [0x575748]
setne al
lea eax, [eax*4 + 0x26]
ret
mov eax, dword [esp + 8]
shr eax, 0x10
and eax, 0x100
neg eax
sbb eax, eax
and eax, 4
add eax, 0x27
ret
mov eax, dword [esp + 8]
shr eax, 0x10
and eax, 0x100
neg eax
sbb eax, eax
and eax, 4
add eax, 0x25
ret
mov eax, 0x28
ret
mov eax, 0x2c
ret
mov eax, 0x2d
ret
mov eax, 0x30
ret
mov eax, 0x34
ret
mov eax, 0x37
ret
mov eax, 0x38
ret
mov eax, 0x2e
ret
mov eax, 0x2f
ret
mov eax, 0x31
ret
mov eax, 0x32
ret
mov eax, 0x33
ret
mov eax, 0x35
ret
mov eax, 0x36
ret
mov eax, 0x24
ret
mov eax, 0x39
ret
mov eax, 0x3a
ret
mov eax, 0x3b
ret
mov eax, 0x3c
ret
mov eax, 0x3d
ret
mov eax, 0x3e
ret
mov eax, 0x3f
ret
mov eax, 0x40
ret
mov eax, 0x41
ret
mov eax, 0x42
ret
mov eax, 0x43
ret
mov eax, 0x44
ret
mov eax, 0x45
ret
mov eax, 0x46
ret
mov eax, 0x64
ret
mov eax, 0x55
ret
mov eax, 0x56
ret
mov eax, 0x57
ret
mov eax, 0x58
ret
mov eax, 0x59
ret
mov eax, 0x5a
ret
mov eax, 0x5b
ret
mov eax, 0x5c
ret
mov eax, 0x5d
ret
mov eax, 0x5e
ret
mov eax, 0x5f
ret
mov eax, 0x60
ret
mov eax, 0x61
ret
mov eax, 0x62
ret
mov eax, 0x63
ret
mov eax, 0x47
ret
mov eax, 0x48
ret
mov eax, 0x49
ret
mov eax, 0x4a
ret
mov eax, 0x4b
ret
mov eax, 0x4c
ret
mov eax, 0x4d
ret
mov eax, 0x4e
ret
mov eax, 0x4f
ret
mov eax, 0x50
ret
mov eax, 0x51
ret
mov eax, 0x52
ret
mov eax, 0x53
ret
mov eax, 0x54
ret
xor eax, eax
ret
mov eax, 0x19
ret
mov eax, 4
ret
mov eax, 0x11
ret
mov eax, 0x13
ret
mov eax, 0x18
ret
mov eax, 0x14
ret
mov eax, 8
ret
mov eax, 0xe
ret
mov eax, 0xf
ret
mov eax, 0x10
ret
mov eax, 0x12
ret
mov eax, 3
ret
mov eax, 5
ret
mov eax, 6
ret
mov eax, 7
ret
mov eax, 9
ret
mov eax, 0xa
ret
mov eax, 0xb
ret
mov eax, 0xc
ret
mov eax, 0x16
ret
mov eax, 0x17
ret
mov eax, 2
ret
mov eax, 0x15
ret
mov eax, 1
ret
mov eax, 0xd
ret
mov eax, 0x1a
ret
mov eax, 0x1b
ret
mov eax, 0x1c
ret
mov eax, 0x1d
ret
mov eax, 0x1e
ret
mov eax, 0x1f
ret
mov eax, 0x20
ret
mov eax, 0x21
ret
mov eax, 0x22
ret
mov eax, 0x23
ret
or eax, 0xffffffff
ret
push 0x57574c
call fcn.004c0dab
add esp, 4
cmp dword [0x57574c], 0xffffffff
jne 0x415c90
push 0
push 0xa0
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0x57574c
mov dword [0x575748], eax
call fcn.004c0d61
add esp, 4
jmp 0x415c90
Function at 0x41d590
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x572b90]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x41d63c
cmp byte [esi + 0x3d], 0
je 0x41d63c
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41d5ed
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x41d600
sub eax, 1
je 0x41d604
sub eax, 2
je 0x41d63c
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004c0767
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x41d624
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x41d5ed
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004c0767
add esp, 0x28
ret
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.004c0767
add esp, 0x28
ret
Function at 0x41e130
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x572b90]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x41e160
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c0767
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x41e191
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x41e191
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c0767
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x41e29a
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x41e1ba
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41e1ef
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c0767
add esp, 0x30
ret 4
lea eax, [esp + 0x10]
mov byte [esp + 0xc], bl
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1d]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x41e29a
cmp eax, 1
jle 0x41e256
cmp eax, 3
jne 0x41e29a
push dword [esi + 0x4c]
push dword [esp + 0x10]
call fcn.0041ccb0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c0767
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x41e276
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x41e29a
lea eax, [esp + 0xc]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
je 0x41e29a
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c0767
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0767
add esp, 0x30
ret 4