joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a020
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40a0cb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e394
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x40e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40a0b5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret

Function at 0x4018c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x403464], eax
mov edi, 0
mov ecx, 0xa
push edi
loop 0x4018dd
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [0x403464]
mov dword [ebp - 0x1c], edx
lea ecx, str.contents
mov dword [ebp - 8], ecx
lea eax, section..text
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x403464]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push 0x66
push dword [0x403464]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x403464]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403474], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403474]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019a6
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40198d
pop ebp
ret 0x10
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412cf0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412e9a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
sub byte [esi + ebx], 0x48
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf7
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xfa
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xfd
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2d
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xaa
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa1
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdd
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x47
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xcb
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xfb
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd2
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xf
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x70
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x52
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d10
pop ebx
pop edi
pop esi
ret

Function at 0x4035d5
Capabilities:
Terminate process

Disassembly:
jmp 0x451b59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451b6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004058fd
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403706
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b002
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b013
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aee9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b03b
push ebx
push esi
push edi
call fcn.004056f0
add esp, 0xc
push 0
call fcn.0040623a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4060b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4060dc
xor eax, eax
test eax, eax
je 0x4060ee
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4060ee
xor ecx, ecx
jmp 0x4060f1
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x40619b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42229c], 0
push esi
jne 0x4061d2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4061ac
mov dword [ecx*4 + 0x422298], eax
inc ecx
cmp ecx, 0x100
jl 0x4061a7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406203
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422298]
xor eax, esi
inc ecx
dec edx
jne 0x4061e5
pop edi
not eax
pop esi
ret 0xc

Function at 0x401080
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [sym.imp.USER32.dll_mouse_event]
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop dword [eax]
push str.Enter_CPS:
call fcn.00401020
lea eax, [ebp - 4]
push eax
push 0x41ccc8
call fcn.00401050
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp word [ebp - 4], 0
push 0x75
je 0x401128
call edi
test ax, ax
jne 0x401151
nop word [eax + eax]
push 0
push 0
push 0
push 0
push 2
call esi
push 0
push 0
push 0
push 0
push 4
call esi
movzx ecx, word [ebp - 4]
xor edx, edx
mov eax, 0x3e8
div ecx
movzx eax, ax
push eax
call ebx
push 0x75
call edi
test ax, ax
je 0x4010e0
push 5
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4010a0
call edi
test ax, ax
jne 0x401151
nop
push 0
push 0
push 0
push 0
push 2
call esi
push 0
push 0
push 0
push 0
push 4
call esi
push 0x75
call edi
test ax, ax
je 0x401130
push 5
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4010a0

Function at 0x41215c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00411fd2
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x12e3be1
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x2d7e1d5d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40611c
pop dword [ebp - 0x24]
mov eax, 0xe69247d6
sub eax, 0xe651e6ba
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x99dc8a14
sub dword [ebp - 0x34], 0x4b8a44c9
mov dword [ebp - 0x30], 0xb230fa74
add dword [ebp - 0x30], 0x800251d1
mov dword [ebp - 0x2c], 0xd71fb367
add dword [ebp - 0x2c], 0x752c90c7
mov dword [ebp - 0x28], 0xa1bc2936
sub dword [ebp - 0x28], 0xa1bc2936
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xfcd282cb
sub dword [ebp - 0x34], 0x88601975
mov dword [ebp - 0x30], 0x8807c5d9
add dword [ebp - 0x30], 0xb9649b9c
mov dword [ebp - 0x2c], 0xd335185e
sub dword [ebp - 0x2c], 0x6fc5abf2
mov dword [ebp - 0x28], 0x3e4ca136
sub dword [ebp - 0x28], 0x3e4ca136
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x15ca9f0b
sub eax, 0x158a2e0b
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x32adf
push 0
call eax
mov ecx, 0x3849
mov edi, eax
mov edx, 0xf6cdea0f
add edx, 0x97315f1
add edx, dword [ebp - 0x24]
mov esi, 0xb0504f62
add esi, 0x3ee054d4
xor dword [ebp - 4], edx
mov ebx, dword [edx]
sub dword [ebp - 8], 0x2aa0e5ae
add ebx, esi
mov dword [edi], ebx
mov dword [ebp - 0x1c], 0x7ba252ec
add edi, 4
add edx, 0x1673d3f0
sub edx, 0x1673d3ec
loop 0x406233
add eax, 0x57c31321
add eax, 0xa83dc0d6
mov ebx, eax
add eax, 0xf7c1506
sub eax, 0xf7c1501
mov ecx, 0x400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x10002334
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009538b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x44], ecx
call fcn.10002710
mov eax, dword [eax + 0x8c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
call sub.Ufxtwl.dll_Ordinal_100
mov dword [ebp - 0x40], eax
push 0
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
call sub.Ufxtwl.dll_Ordinal_143
add esp, 0xc
push 0x100b70b8
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
call sub.Ufxtwl.dll_Ordinal_101_1
mov word [ebp - 0x24], ax
push 0
push 3
movsx ecx, word [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
call sub.Ufxtwl.dll_Ordinal_141
add esp, 0x10
push 0x100b70bc
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002ad0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x1ee]
push ecx
push 0x100b70c0
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
mov ecx, dword [ebp + 0xc]
call fcn.10002720
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x70]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x44]
add edx, dword [eax + 0x1de]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x44]
add edx, 0x1fe
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x10], edx
push 1
lea ecx, [ebp - 0x1c]
call fcn.10002720
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x1d2
call fcn.100026c0
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x1d2
call fcn.10002700
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x70]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x1de]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
lea ecx, [eax + ecx*2]
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100947c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10005974
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009556b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x44], ecx
call fcn.10002710
mov eax, dword [eax + 0x8c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
call sub.Ufxtwl.dll_Ordinal_100
mov dword [ebp - 0x40], eax
push 0
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
call sub.Ufxtwl.dll_Ordinal_143
add esp, 0xc
push 0x100b713c
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
call sub.Ufxtwl.dll_Ordinal_101_1
mov word [ebp - 0x24], ax
push 0
push 3
movsx ecx, word [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
call sub.Ufxtwl.dll_Ordinal_141
add esp, 0x10
push 0x100b7140
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002ad0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x1ef]
push ecx
push 0x100b7144
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
mov ecx, dword [ebp + 0xc]
call fcn.10002720
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x70]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x44]
add edx, dword [eax + 0x1df]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x44]
add edx, 0x1ff
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x10], edx
push 1
lea ecx, [ebp - 0x1c]
call fcn.10002720
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x1d3
call fcn.100026c0
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x1d3
call fcn.10002700
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x70]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x1df]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
lea ecx, [eax + ecx*2]
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100947c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10009641
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x62], 0
jne 0x10009674
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x40
call fcn.1000a200
push eax
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x62], eax
mov esp, ebp
pop ebp
ret
Function at 0x1000db28
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100959f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x44], ecx
call fcn.10002710
mov eax, dword [eax + 0x8c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
call sub.Ufxtwl.dll_Ordinal_100
mov dword [ebp - 0x40], eax
push 0
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
call sub.Ufxtwl.dll_Ordinal_143
add esp, 0xc
push 0x100b72ac
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
call sub.Ufxtwl.dll_Ordinal_101_1
mov word [ebp - 0x24], ax
push 0
push 3
movsx ecx, word [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
call sub.Ufxtwl.dll_Ordinal_141
add esp, 0x10
push 0x100b72b0
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002ad0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x1e3]
push ecx
push 0x100b72b4
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
mov ecx, dword [ebp + 0xc]
call fcn.10002720
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x70]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x44]
add edx, dword [eax + 0x1d3]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x44]
add edx, 0x1f3
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x10], edx
push 1
lea ecx, [ebp - 0x1c]
call fcn.10002720
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x1c7
call fcn.100026c0
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x1c7
call fcn.10002700
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x70]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x1d3]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
lea ecx, [eax + ecx*2]
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100947c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10034c48
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096ef9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x44], ecx
call fcn.10002710
mov eax, dword [eax + 0x8c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
call sub.Ufxtwl.dll_Ordinal_100
mov dword [ebp - 0x40], eax
push 0
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
call sub.Ufxtwl.dll_Ordinal_143
add esp, 0xc
push 0x100b8884
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
call sub.Ufxtwl.dll_Ordinal_101_1
mov word [ebp - 0x24], ax
push 0
push 3
movsx ecx, word [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
call sub.Ufxtwl.dll_Ordinal_141
add esp, 0x10
push 0x100b8888
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002ad0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x1d3]
push ecx
push 0x100b888c
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
mov ecx, dword [ebp + 0xc]
call fcn.10002720
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x70]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x44]
add edx, dword [eax + 0x1c3]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x44]
add edx, 0x1e3
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x10], edx
push 1
lea ecx, [ebp - 0x1c]
call fcn.10002720
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x1b7
call fcn.100026c0
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x1b7
call fcn.10002700
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x70]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x1c3]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
lea ecx, [eax + ecx*2]
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100947c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8