joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d33f
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x466d1e
call fcn.00460eb0
push 0x18
mov dword [ebp - 4], 1
call fcn.00447f8f
mov edi, eax
pop ecx
test edi, edi
je 0x40d37d
mov ebx, 0x4831ec
lea esi, [edi + 8]
mov ecx, ebx
call fcn.00401786
lea esi, [edi + 0x14]
mov ecx, ebx
call fcn.00401786
mov esi, edi
jmp 0x40d37f
xor esi, esi
lea edi, [ebp + 0xc]
call fcn.0040241d
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea edi, [esi + 8]
lea eax, [ebp + 0x10]
call fcn.0040144e
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x10], eax
lea edi, [esi + 0x14]
lea eax, [ebp + 0xc]
call fcn.0040144e
lea eax, [ebp - 0x10]
push eax
xor edi, edi
push edi
push esi
push 0x40d136
push edi
push edi
call fcn.00444c3e
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004017a1
call fcn.00460f4f
ret

Function at 0x40d3e6
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push 0x10
mov eax, 0x464b5e
call fcn.00460eb0
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, 0x4831ec
mov ecx, edi
call fcn.00401786
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
je 0x40d4d3
mov eax, dword [0x4831ec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4831ec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 1
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str.._d.tmp
push eax
call fcn.00404441
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00404160
add esp, 0x14
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0040144e
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004017a1
mov ebx, dword [ebp - 0x18]
push ebx
call esi
push ebx
cmp eax, 0xffffffff
je 0x40d4a8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x64
jl 0x40d44c
jmp 0x40d4c0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40d4c0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
call fcn.0040144e
lea eax, [ebx - 0x10]
call fcn.004017a1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp + 8]
call fcn.00460f4f
ret 8
Function at 0x40d4e9
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x480070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x40d516
mov eax, str.Admin
jmp 0x40d6a0
lea eax, [ebp - 0x18]
push eax
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x40d54f
lea eax, [ebp - 0x18]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40d54f
mov eax, 0x46bf74
jmp 0x40d6a0
push esi
push str.CheckTokenMembership
push str.ADVAPI32
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4846e4], eax
cmp eax, ebx
jne 0x40d5e7
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x40d5db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40d5db
push dword [ebp - 0x20]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x40d5db
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push 2
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x40d5db
mov dword [ebp - 0x28], 1
jmp 0x40d5e7
cmp dword [0x4846e4], ebx
je 0x40d685
mov dword [ebp - 0x14], ebx
push edi
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [eax + 0x482994]
lea eax, [ebp - 0xc]
push 0x20
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40d676
mov eax, dword [0x4846e4]
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
je 0x40d628
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x24]
push ebx
call eax
jmp 0x40d65c
cmp dword [ebp - 0x28], ebx
je 0x40d66d
mov eax, dword [ebp - 0x10]
xor edi, edi
cmp dword [eax], ebx
jbe 0x40d66d
mov esi, eax
add esi, 4
push dword [ebp - 0x24]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40d651
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x10]
inc edi
add esi, 8
cmp edi, dword [eax]
jb 0x40d63b
cmp dword [ebp - 0x1c], ebx
je 0x40d66d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x482998]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
add dword [ebp - 0x14], 8
cmp dword [ebp - 0x14], 0x20
jb 0x40d5eb
pop edi
pop esi
cmp dword [ebp - 0x10], ebx
je 0x40d694
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00444b2e
leave
ret
Function at 0x40d6e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00449180
mov eax, dword [ebp + 8]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret

Function at 0x40dbe7
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x467653
call fcn.00460eb0
xor ebx, ebx
push 0x50
mov dword [ebp - 4], ebx
call fcn.00447f8f
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40dc15
push eax
call fcn.0040d82d
mov edi, eax
jmp 0x40dc17
xor edi, edi
lea eax, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040144e
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp dword [ebp + 0x1c], ebx
je 0x40dc46
mov ebx, dword [ebp + 0x1c]
lea esi, [edi + 0x10]
call fcn.00401087
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
je 0x40dc57
push dword [ebp + 0x18]
lea eax, [edi + 0x10]
push eax
call fcn.004015a7
push 0x4847d0
mov dword [0x4846e8], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp + 0x20]
mov dword [edi + 0x44], eax
cmp ecx, ebx
je 0x40dc74
mov dword [ecx], eax
lea eax, [edi + 0x4c]
push eax
push ebx
push edi
push 0x40d870
push ebx
push ebx
call fcn.00444c3e
add esp, 0x18
mov dword [edi + 0x48], eax
cmp eax, ebx
jne 0x40dca3
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, ebx
call fcn.00460f4f
ret
xor ebx, ebx
inc ebx
jmp 0x40dc90
Function at 0x40e57d
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x40e5b5
mov dword [esi], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x40e5ab
mov ecx, esi
call fcn.0040e6c0
jmp 0x40e5b1
mov dword [esi], 0x63
xor eax, eax
jmp 0x40e5f2
push ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x40e5d1
mov dword [esi], 0xd
jmp 0x40e592
push edi
push 0x1000
push dword [ebp + 8]
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40e5ef
mov dword [esi], 0xe
jmp 0x40e592
xor eax, eax
inc eax
leave
ret 4

Function at 0x40eb0a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub esp, 0x10
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x40eb23
xor eax, eax
jmp 0x40eba6
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea ecx, [ebp - 8]
push ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push dword [ebp + 0xc]
xor edi, edi
inc edi
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], edi
call esi
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x40eba1
cmp dword [ebp - 4], edi
je 0x40eb5f
cmp dword [ebp - 4], 7
je 0x40eb5f
cmp dword [ebp - 4], 2
jne 0x40eba1
add eax, 2
push eax
push edi
call fcn.00447ee5
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x40eba1
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
push dword [eax]
call esi
test eax, eax
jne 0x40eb98
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.004015a7
mov dword [ebp - 0x10], edi
push dword [ebp - 0xc]
call fcn.00444e19
pop ecx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40ebfa
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
ret 0xc
Function at 0x40eff5
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x464ae8
call fcn.00460eb0
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [0x4831ec]
mov ecx, 0x4831ec
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
or esi, 0x2001f
push edi
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
push esi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
call fcn.004015c5
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040ec1d
add esp, 0x14
cmp eax, edi
jne 0x40f092
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017a1
cmp dword [ebp - 0x10], edi
je 0x40f071
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x10], edi
call fcn.004017a1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017a1
xor eax, eax
call fcn.00460f4f
ret
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x10], edi
je 0x40f0bd
cmp ebx, edi
je 0x40f0bd
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push ebx
push 1
push edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40f0f2
lea eax, [esi - 0x10]
call fcn.004017a1
cmp dword [ebp - 0x10], edi
je 0x40f0d3
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x10], edi
call fcn.004017a1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, esi
jmp 0x40f08c
lea eax, [esi - 0x10]
call fcn.004017a1
cmp dword [ebp - 0x10], edi
je 0x40f108
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x40f0d5

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

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x4131e6
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x413298
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46c6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46c6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46c6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46c6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46c6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46c6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46c6e8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46c6e8]
inc ecx
sub edi, 8
dec esi
jne 0x4131fd
pop ebx
test edi, edi
je 0x4132b1
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x46c6e8]
inc ecx
dec edi
jne 0x41329c
pop esi
not eax
pop edi
ret
Function at 0x418a92
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
push edi
cmp dword [esi + 0x70], ebx
je 0x418b60
lea eax, [ebp - 0x10]
push eax
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
call fcn.0041917c
mov eax, dword [esi + 0x70]
lea ecx, [eax - 1]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 2
cdq
idiv dword [esi + 0x64]
pop edi
push 1
push ecx
push ebx
push edi
push dword [esi + 0x38]
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_SetScrollRange]
push 1
lea eax, [ebp - 0x2c]
push eax
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [esi + 0x70]
dec eax
cmp dword [esi + 0x68], eax
jle 0x418b23
push ebx
push dword [esi + 0x38]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call ebx
push 0
jmp 0x418b32
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x38]
call ebx
push 5
push dword [esi + 0x3c]
call ebx
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x70]
add edx, ecx
cmp edx, eax
jle 0x418b60
sub eax, ecx
mov dword [esi + 0x60], eax
jns 0x418b51
and dword [esi + 0x60], 0
push 1
push dword [esi + 0x60]
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SetScrollPos]
pop edi
pop ebx
leave
ret

Function at 0x418cca
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
movsx edi, ax
shr eax, 0x10
cwde
push eax
mov esi, ecx
push edi
mov dword [ebp - 4], eax
call fcn.00418bfd
mov ebx, eax
test ebx, ebx
jl 0x418d29
push 1
mov eax, esi
call fcn.00418e0b
test al, al
jne 0x418d06
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x6c], ebx
mov eax, dword [ecx]
push ebx
call dword [eax + 0x9c]
call fcn.004184c4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [esi + 4]
jmp 0x418d4c
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x418d52
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x41934a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x4643ad
call fcn.00460eb0
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
jne 0x419400
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 3
jne 0x4193e8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jl 0x4193fc
push 0x46bab8
lea eax, [ebp - 0x14]
push eax
call fcn.00404808
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.004041b1
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004017a1
push dword [ebp - 0x10]
call esi
mov ebx, eax
call edi
mov dword [ebp - 0x14], eax
cmp ebx, 0xffffffff
je 0x4193da
test bl, 0x10
jne 0x4193da
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017a1
xor eax, eax
inc eax
jmp 0x41940b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp - 0x14]
cmp eax, 2
je 0x4193fc
cmp eax, 3
je 0x4193fc
cmp eax, 0x7b
je 0x4193fc
cmp eax, 0x35
jne 0x4193d5
xor eax, eax
jmp 0x41940b
not al
movzx eax, al
shr eax, 4
and eax, 1
call fcn.00460f4f
ret
Function at 0x41fd95
Capabilities:
Hide graphical window

Disassembly:
push esi
lea esi, [eax + 0x2dc]
cmp dword [esi], 0
je 0x41fdb7
push 1
push dword [eax + 0x294]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi]
pop esi
jmp fcn.0041aacb
pop esi
ret
Function at 0x429b95
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x1f0], edi
jge 0x429bb2
xor eax, eax
jmp 0x429d83
mov eax, esi
call fcn.004295f2
mov ebx, eax
cmp dword [esi + 0x200], edi
je 0x429c00
cmp dword [esi + 0x214], edi
jl 0x429c00
cmp dword [esi + 0x218], edi
jl 0x429c00
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
mov edi, 0x10000
test edi, eax
jne 0x429bf8
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x429c05
mov ebx, dword [esi + 0x218]
jmp 0x429c05
mov edi, 0x10000
mov eax, dword [ebp + 8]
sub eax, 0x21
je 0x429cb6
dec eax
je 0x429c93
dec eax
je 0x429c8a
dec eax
je 0x429c82
dec eax
dec eax
je 0x429c6b
dec eax
dec eax
je 0x429c4e
sub eax, 0x19
jne 0x429bab
cmp dword [esi + 0x200], eax
je 0x429bab
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x429bab
call fcn.0042943e
jmp 0x429bab
mov edi, ebx
inc edi
inc ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x224], 0
je 0x429ca7
cmp dword [esi + 0x1f0], edi
jg 0x429cca
jmp 0x429cc8
mov edi, ebx
inc edi
dec ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x224], 0
jne 0x429c86
test edi, edi
jge 0x429cd2
xor edi, edi
jmp 0x429cd2
test edi, edi
jge 0x429cd2
mov edi, dword [esi + 0x1f0]
dec edi
jmp 0x429cca
cmp ebx, 0xffffffff
jne 0x429c9c
xor edi, edi
jmp 0x429ca7
mov eax, esi
call fcn.00429b19
mov edi, eax
add edi, ebx
mov eax, dword [esi + 0x1f0]
dec eax
cmp eax, edi
jge 0x429cca
mov edi, eax
jmp 0x429cca
cmp ebx, 0xffffffff
je 0x429c82
mov eax, esi
call fcn.00429b19
sub ebx, eax
mov edi, ebx
jns 0x429cd2
xor edi, edi
test edi, edi
jl 0x429bab
cmp dword [esi + 0x200], 0
je 0x429d2e
cmp dword [esi + 0x214], 0
jl 0x429d2e
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call ebx
cwde
test eax, 0x10000
jne 0x429d08
push 0xa1
call ebx
cwde
test eax, 0x10000
je 0x429d2e
mov ebx, dword [esi + 0x214]
mov dword [esp + 0xc], ebx
call fcn.00429732
mov ecx, ebx
mov eax, edi
mov ebx, esi
call fcn.00429845
mov eax, dword [esp + 0xc]
mov dword [esi + 0x214], eax
jmp 0x429d44
call fcn.00429732
xor eax, eax
push edi
inc eax
mov ecx, esi
call fcn.004293e0
mov dword [esi + 0x214], edi
push 0
lea ebx, [esi + 0xc4]
push dword [ebx]
mov eax, esi
push dword [0x484788]
mov dword [esi + 0x220], edi
mov dword [esi + 0x218], edi
call fcn.00424bec
mov ecx, dword [esi + 0x20c]
test ecx, ecx
je 0x429d77
push dword [ebx]
mov eax, dword [ecx]
call dword [eax]
mov eax, edi
mov ecx, esi
call fcn.00429b48
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42deb1
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x480070]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x465895
call fcn.00460eb0
and dword [ebp - 0x10], 0
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
jae 0x42df1a
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404808
and dword [ebp - 4], 0
push 0x46bab4
push edi
mov ecx, eax
call fcn.004041b1
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004017a1
jmp 0x42df25
push 0x46bf74
push edi
call fcn.00404808
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00444b2e
add ebp, 0x20c
leave
ret

Function at 0x42e00b
Capabilities:
Link many functions at runtime

Disassembly:
push 0x10
mov eax, 0x4663f3
call fcn.00460eb0
xor ebx, ebx
cmp dword [esi + 0x20], ebx
jne 0x42e138
cmp dword [esi + 0x24], ebx
jne 0x42e138
lea edi, [ebp - 0x14]
call fcn.0042deb1
lea ecx, [ebp - 0x10]
push 0x474d90
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.004041b1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop ecx
pop ecx
push dword [eax]
call ebx
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017a1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42e096
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetDpiForMonitor
push eax
call edi
push str.SetProcessDpiAwareness
push dword [esi + 0x20]
mov dword [esi + 4], eax
call edi
mov dword [esi + 0xc], eax
jmp 0x42e09e
and dword [esi + 4], 0
and dword [esi + 0xc], 0
lea edi, [ebp - 0x1c]
call fcn.0042deb1
lea ecx, [ebp - 0x18]
push str.user32.dll
push ecx
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004041b1
pop ecx
pop ecx
push dword [eax]
call ebx
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [esi + 0x24]
xor ecx, ecx
cmp eax, ecx
je 0x42e12c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetProcessDpiAwarenessContext
push eax
call edi
push str.SetDialogControlDpiChangeBehavior
push dword [esi + 0x24]
mov dword [esi + 8], eax
call edi
push str.GetDpiForWindow
push dword [esi + 0x24]
mov dword [esi + 0x10], eax
call edi
push str.SystemParametersInfoForDpi
push dword [esi + 0x24]
mov dword [esi + 0x14], eax
call edi
push str.EnableNonClientDpiScaling
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
jmp 0x42e138
mov dword [esi + 8], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
call fcn.00460f4f
ret