joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431ec3
Capabilities:
Check os version

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
cmp al, 5
call esi
push 4
mov dword [0x460728], eax
call esi
push 4
mov dword [0x460744], eax
call esi
push 7
mov dword [0x460740], eax
call esi
push 0xe
mov dword [0x46073c], eax
call esi
push 0x11
mov dword [0x460738], eax
call esi
push 0x10
mov dword [0x460734], eax
call esi
push 0x10
mov dword [0x460730], eax
call esi
push 4
mov dword [0x46072c], eax
call esi
push 1
mov dword [0x460724], eax
pop eax
mov dword [0x4606fc], 0xa
push 0x10
mov dword [0x460720], eax
pop ecx
mov dword [0x460708], eax
push ecx
mov dword [0x460718], ecx
pop edx
mov dword [0x4606e8], eax
push 3
mov dword [0x46071c], edx
pop edx
push 2
mov dword [0x46070c], edx
pop ecx
mov dword [0x4606f8], edx
mov dword [0x460710], ecx
mov dword [0x460700], ecx
xor ecx, ecx
pop esi
mov dword [0x4606f0], ecx
mov dword [0x4606ec], ecx
mov dword [0x4606dc], ecx
ret
Function at 0x433557
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x433608
mov eax, dword [ebp + 8]
push esi
push 0x40a240
xor esi, esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [eax], esi
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
mov dword [ebp + 0xc], edi
je 0x433604
push ebx
push 2
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push edi
call esi
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push edi
mov ebx, eax
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, ebx
push dword [ebp + 0xc]
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push 1
rep stosb byte es:[edi], al
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x30
cmp eax, ebx
jne 0x4335f1
push ebx
push esi
push dword [ebp + 8]
call fcn.0043347a
add esp, 0xc
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.MSVCRT.dll_free]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop ecx
pop ebx
mov eax, dword [ebp - 4]
pop esi
pop edi
leave
ret

Function at 0x43360b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0x10]
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x433665
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x433665
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x43365e
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
push dword [ebp + 8]
call fcn.0043347a
add esp, 0xc
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x434962
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45d790
call fcn.0045c170
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], fcn.004349da
mov dword [esi + 4], 0x402e88
mov dword [esi + 8], 0x402e74
mov dword [esi + 0xc], 0x402e64
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], 3
call fcn.00411656
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.00411656
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.00411656
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.00411656
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x2c]
call fcn.00411656
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x434b0a
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x45d7a4
call fcn.0045c170
sub esp, 0x10c
push ebx
push esi
mov esi, ecx
push edi
push 0x40b7dc
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00423321
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
mov byte [ebp - 0x118], bl
rep stosd dword es:[edi], eax
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x118]
push 0x103
push eax
push 0x45e298
push 0x40b7c8
push 0x40b7c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
push 1
pop ecx
cmp eax, ecx
jne 0x434b8a
mov dword [esi + 0x4c], ecx
jmp 0x434b8d
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x3c]
lea ecx, [ebp - 0x14]
push SysReAllocStringLen
push ecx
push eax
push 0x40ad68
mov dword [ebp - 0x14], ebx
call fcn.0042425c
add esp, 0x10
xor eax, eax
cmp dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x10]
setne al
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x40], eax
call fcn.00411656
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43512d
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x45d808
call fcn.0045c170
sub esp, 0x55c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
lea eax, [ebp - 0x568]
push 0x103
push eax
mov dword [ebp - 0x18], ecx
push dword [0x531f10]
call fcn.00425d30
add esp, 0x10
lea eax, [ebp - 0x568]
push 0x40aaf8
push eax
push 0x40b818
lea eax, [ebp - 0x360]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x25c]
mov byte [ebp - 0x25d], bl
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x4351b5
xor eax, eax
jmp 0x4352de
mov esi, 0x40aaf4
lea eax, [ebp - 0x230]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4351e2
cmp cl, bl
je 0x4351de
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4351e2
inc eax
inc eax
inc esi
inc esi
cmp cl, bl
jne 0x4351c0
xor eax, eax
jmp 0x4351e7
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4352ae
mov esi, 0x40aaf0
lea eax, [ebp - 0x230]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x43521c
cmp cl, bl
je 0x435218
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x43521c
inc eax
inc eax
inc esi
inc esi
cmp cl, bl
jne 0x4351fa
xor eax, eax
jmp 0x435221
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4352ae
test byte [ebp - 0x25c], 0x10
je 0x4352ae
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x568]
push eax
push 0x40b800
lea eax, [ebp - 0x11c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
xor eax, eax
lea edi, [ebp - 0x463]
mov byte [ebp - 0x464], bl
push 0x40
mov byte [ebp - 0x19], bl
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x464]
push 0x103
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.00425e07
pop ecx
cmp eax, ebx
pop ecx
je 0x4352ae
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.0043554a
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4351b5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00435c43
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x435ff8
Capabilities:
Get common file path

Disassembly:
mov eax, 0x45d874
call fcn.0045c170
sub esp, 0x120
and byte [ebp - 0x12c], 0
push esi
push edi
mov dword [ebp - 0x18], ecx
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x103
lea eax, [ebp - 0x12c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x12c]
mov ecx, 0x46090c
push eax
call fcn.00413e57
lea eax, [ebp - 0x12c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x12c]
mov ecx, 0x460904
push eax
call fcn.00413e57
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp dword [ebp - 0x10], 0
pop edi
pop esi
je 0x4360bc
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.00413d51
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x14]
mov ecx, 0x460794
call fcn.00413e57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00411656
mov ecx, dword [ebp - 0x18]
call fcn.0043512d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x436499
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
stosw word es:[edi], ax
xor eax, eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x10], 0x50
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x4364ed
push dword [ebp - 0xa]
call dword [sym.imp.SHELL32.dll_SHFreeNameMappings]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x439d30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x904
xor eax, eax
push ebx
cmp dword [ebp + 8], eax
push esi
push edi
mov esi, ecx
je 0x439df0
cmp dword [0x470f64], eax
je 0x439df0
cmp dword [esi + 0x24], eax
je 0x439df0
and byte [ebp - 0x904], al
mov ecx, 0x1ff
lea edi, [ebp - 0x903]
and byte [ebp - 0x104], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x904]
mov ebx, 0x495e88
push 0x7ff
push eax
mov ecx, ebx
call fcn.00452cd5
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
and dword [esi + 0x24], 0
push 0x103
push eax
lea eax, [ebp - 0x904]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.00439b1e
test eax, eax
je 0x439df0
lea edi, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x439df0
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, ebx
call fcn.0044f8bc
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43cf58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and byte [ebp - 0x10c], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
and byte [ebp - 0x210], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x20f]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
push eax
push 0x45e298
push 0x40b044
push SysReAllocStringLen
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x43d000
push 0x40dcd0
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [0x531f10]
call fcn.00425d30
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 0x18
test eax, eax
jne 0x43d000
mov eax, edi
jmp 0x43d002
xor eax, eax
pop edi
leave
ret

Function at 0x43d065
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43d0c6
and byte [ebp - 0x104], al
push 0x40
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40a2d4
push dword [ebp + 8]
stosb byte es:[edi], al
push 0x40dcfc
lea eax, [ebp - 0x104]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x104]
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
pop edi
leave
ret
Function at 0x43d0c9
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
xor eax, eax
push edi
push eax
push 0x26
push ebx
push eax
mov byte [ebx], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x40dd04
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
ret

Function at 0x43d10d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x208]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x208]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x40
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40dd30
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 ax, word [0x40dd2c]
mov ecx, ebx
and ecx, 3
mov word [ebp - 0x104], ax
rep movsb byte es:[edi], byte [esi]
pop ecx
xor eax, eax
lea edi, [ebp - 0x102]
push 5
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push 0x40a814
rep stosd dword es:[edi], eax
push 1
push 0x45e298
push dword [ebp + 8]
stosw word es:[edi], ax
push SysReAllocStringLen
call ebx
cmp dword [ebp + 0xc], 0
je 0x43d1fd
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x43d1e3
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x104]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x43d210
lea eax, [ebp - 0x103]
push 0x103
push eax
push dword [0x531f10]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x43d210
lea eax, [ebp - 0x103]
push 0x104
push eax
call fcn.0043d0c9
pop ecx
pop ecx
mov edi, 0x40dd24
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x104]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x104]
push ecx
push eax
push 1
lea eax, [ebp - 0x208]
push 0x45e298
push eax
push SysReAllocStringLen
call ebx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x441c8d
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x9ac48]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
xor ebx, ebx
cmp dword [esi + 0x9ac60], ecx
jle 0x441cd8
lea edx, [esi + 0x9a848]
mov eax, dword [edx]
cmp dword [esp + 0x10], eax
jne 0x441cbb
mov ebx, ecx
imul eax, eax, 0x9a8
inc ecx
add edx, 4
mov dword [eax + esi + 0x9c8], 1
cmp ecx, dword [esi + 0x9ac60]
jl 0x441cb1
mov eax, dword [esi + 0x9ac68]
cmp eax, 0xffffffff
je 0x441cff
mov eax, dword [esi + eax*4 + 0x9a848]
push 0
imul eax, eax, 0x9a8
push dword [eax + esi + 0x9e0]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov ecx, esi
call fcn.00444de3
mov eax, dword [esi + 0x9ac68]
mov ecx, 0x474b78
mov eax, dword [esi + eax*4 + 0x9a848]
imul eax, eax, 0x9a8
mov dword [eax + esi + 0x9c8], 2
mov eax, dword [esi + 0x9ac68]
push dword [esi + eax*4 + 0x9a848]
call fcn.0041574b
cmp dword [0x472a7c], 0
je 0x441d67
mov eax, dword [esi + 0x9ac68]
mov ecx, 0x531670
mov eax, dword [esi + eax*4 + 0x9a848]
imul eax, eax, 0x9a8
lea eax, [eax + esi + 0x48]
push eax
call fcn.0042cd73
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0x495220
mov ecx, edi
call fcn.004410f2
mov eax, dword [esi + 0x9ac68]
mov ecx, edi
mov eax, dword [esi + eax*4 + 0x9a848]
imul eax, eax, 0x9a8
push dword [eax + esi + 0x9ec]
add eax, esi
push dword [eax + 0x9e8]
call fcn.00441454
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
Function at 0x442427
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x374
push ebx
push esi
xor esi, esi
mov ebx, ecx
push esi
push dword [0x531f10]
push 0x1000
push dword [ebx + 4]
push 0x10
push 0x38
push esi
push esi
push 0x5600b94c
push esi
push 0x40a954
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x44256b
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0x14
push 0x41e
push eax
call edi
push 0xa000a
push esi
push 0x420
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x374]
xor eax, eax
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x421
mov dword [ebp - 0x18], 0x423
mov dword [ebp - 0x14], 0x422
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
lea esi, [ebp - 0x64]
jmp 0x4424c8
mov eax, dword [ebp - 4]
mov dword [esi - 4], eax
push 0x104
push dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov byte [esi + 4], 4
mov byte [esi + 5], 0x10
and dword [esi + 8], 0
push dword [eax]
push dword [0x531f10]
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [ebp - 8]
inc dword [ebp - 4]
add dword [ebp - 0xc], 4
add dword [ebp - 8], 0x104
mov dword [esi + 0xc], eax
add esi, 0x14
cmp dword [ebp - 4], 3
jl 0x4424c5
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
push eax
push 3
push 0x414
push esi
call edi
push 8
push 0
push 0x454
push esi
call edi
push 0
push 0
push 0x421
push esi
call edi
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, ebx
mov dword [ebx + 0x9ac94], esi
call fcn.00441adb
mov eax, dword [0x472820]
push 2
push 0
lea ecx, [ebx + 8]
push dword [ebx + 4]
mov dword [ebx + 0x9ac64], eax
call fcn.0041d830
pop edi
pop esi
pop ebx
leave
ret
Function at 0x442921
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [ebp + 0x10], 2
mov esi, dword [0x474af0]
je 0x442949
mov esi, dword [0x474ae8]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, 0xcc0020
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
push edi
push 0
push 0
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push dword [0x474af4]
push dword [0x474af8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 8]
call esi
mov ecx, dword [0x474af8]
push 1
lea eax, [ecx + ecx]
mov edx, eax
mov eax, dword [ebp - 0xc]
sub eax, edx
xor edx, edx
sub eax, dword [ebp - 0x14]
div ecx
mov ebx, eax
pop eax
inc ebx
mov dword [ebp + 0x10], eax
cmp ebx, eax
jl 0x4429da
push edi
push 0
push ecx
push dword [ebp + 0xc]
push dword [0x474af4]
push ecx
imul ecx, dword [ebp + 0x10]
push dword [ebp - 0x10]
add ecx, dword [ebp - 0x14]
push ecx
push dword [ebp + 8]
call esi
inc dword [ebp + 0x10]
mov ecx, dword [0x474af8]
cmp dword [ebp + 0x10], ebx
jle 0x4429ae
push edi
lea eax, [ecx + ecx]
push 0
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
sub eax, ecx
push dword [0x474af4]
push ecx
push dword [ebp - 0x10]
push eax
push dword [ebp + 8]
call esi
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44413a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x302c
call fcn.0045c140
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
mov esi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 4]
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
cmp dword [esi + 0x9ac60], 0
jle 0x44429c
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00442fce
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44429c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x4441db
cmp dword [esi + 0x9ac60], 1
jle 0x4441db
mov eax, dword [esi + 0x18]
cmp eax, 0xffffffff
je 0x4441db
cmp eax, dword [ebp - 0x18]
je 0x4441db
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebp - 0x14]
je 0x4441db
push dword [esi + 0x24]
mov ecx, esi
call fcn.004442a1
mov eax, ebx
push 0x800
imul eax, eax, 0x9a8
lea edi, [eax + esi]
lea eax, [ebp - 0x102c]
push eax
lea eax, [edi + 0x1c8]
push eax
call fcn.00424855
add edi, 0xc8
lea eax, [ebp - 0x302c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov edi, dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x302c]
push 0x40e808
push eax
call edi
lea eax, [ebp - 0x102c]
push eax
lea eax, [ebp - 0x302c]
push eax
call edi
lea eax, [ebp - 0x302c]
push 0x40e804
push eax
call edi
add esp, 0x2c
lea eax, [ebp - 0x302c]
mov ecx, 0x495220
push 0
push 1
push eax
call fcn.004406b4
cmp dword [esi + 0x9ac74], ebx
lea eax, [esi + 0x9ac74]
je 0x44429c
push dword [esi + 4]
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x2c]
push 0xffffffffffffffff
push eax
push edi
mov ecx, esi
call fcn.00442617
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
leave
ret