joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b92f
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
mov eax, ebx
cdq
push 3
pop ecx
idiv ecx
mov eax, ebx
xor esi, esi
sub eax, edx
lea eax, [eax*4 + 0xc]
cdq
idiv ecx
inc eax
push eax
call fcn.0044ba55
cmp ebx, 2
pop ecx
mov ecx, eax
jle 0x41b9d1
lea eax, [ebx - 3]
xor edx, edx
push 3
pop ebx
div ebx
inc eax
mov dword [ebp - 4], eax
imul eax, eax, 0xfffffffd
add dword [ebp + 8], eax
movzx edx, byte [edi]
mov eax, edx
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
movzx eax, byte [edi + 1]
and edx, 3
shl edx, 4
mov ebx, eax
shr ebx, 4
mov dl, byte [ebx + edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [ecx + esi], dl
movzx edx, byte [edi + 2]
and eax, 0xf
mov ebx, edx
shr ebx, 6
mov al, byte [ebx + eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [ecx + esi], al
and edx, 0x3f
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [ecx + esi], al
inc esi
add edi, 3
dec dword [ebp - 4]
jne 0x41b976
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x41ba29
movzx eax, byte [edi]
mov edx, eax
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 3
mov byte [ecx + esi], dl
inc esi
shl eax, 4
cmp ebx, 1
jle 0x41ba15
movzx edx, byte [edi + 1]
mov edi, edx
shr edi, 4
mov al, byte [edi + eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
inc esi
and edx, 0xf
mov al, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
jmp 0x41ba23
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
inc esi
mov byte [ecx + esi], 0x3d
inc esi
mov byte [ecx + esi], 0x3d
inc esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41ba32
mov dword [eax], esi
pop edi
mov byte [ecx + esi], 0
pop esi
mov eax, ecx
pop ebx
leave
ret
Function at 0x41c45a
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x26c
mov eax, 0x46d7a2
call fcn.00452680
cmp dword [ebp + 0xc], 3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
jne 0x41c485
push eax
call fcn.0041e327
pop ecx
call fcn.00452703
ret
push dword [ebp + 0xc]
lea eax, [ebp - 0x23c]
push eax
call fcn.0041daa2
mov eax, dword [0x493900]
pop ecx
pop ecx
lea edi, [ebp - 0x234]
lea esi, [ebp - 0x23c]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], 0x4938fc
call fcn.00418245
test al, al
je 0x41c4c4
mov al, 9
jmp 0x41c47f
mov eax, dword [0x492934]
mov ecx, 0x492934
mov dword [0x490b74], 7
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x23c]
cmp edi, ebx
jne 0x41c4f8
call fcn.0044d9e0
mov esi, dword [ebp - 0x238]
cmp esi, dword [edi + 4]
jne 0x41c508
call fcn.0044d9e0
cmp dword [esi + 0x10], ebx
je 0x41c527
cmp esi, dword [edi + 4]
jne 0x41c517
call fcn.0044d9e0
push dword [esi + 0x10]
push dword [ebp - 0x22c]
push str._S_silence1handle_dupdate1supply_d
jmp 0x41c53f
cmp esi, dword [edi + 4]
jne 0x41c531
call fcn.0044d9e0
push dword [esi + 0x10]
push dword [ebp - 0x22c]
push str._S_silence1handle_dupdate1
lea eax, [ebp - 0x224]
push eax
call fcn.00414997
mov eax, dword [0x493928]
add esp, 0x10
cmp dword [eax - 0xc], ebx
je 0x41c56b
push eax
push str.installpath__s_
lea ecx, [ebp - 0x224]
call fcn.0041f7ff
pop ecx
pop ecx
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x230], ebx
je 0x41c581
cmp dword [ebp + 0xc], 4
jne 0x41c613
push 0x208
lea eax, [ebp - 0x21e]
push ebx
push eax
mov word [ebp - 0x220], bx
call fcn.0044a540
add esp, 0xc
push str.SOFTWARETencentQQPCMgr
lea edi, [ebp - 0x220]
mov ebx, str.InstallDir
call fcn.00409fc7
test eax, eax
pop ecx
je 0x41c60b
mov eax, edi
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0040134a
mov eax, dword [ebp - 0x228]
cmp dword [eax - 0xc], 0
je 0x41c5fd
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c5fd
xor edi, edi
inc edi
mov dword [ebp - 0x230], edi
call fcn.00403a34
cmp eax, edi
jne 0x41c68a
mov dword [0x493880], 0xa
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
call fcn.00401980
mov edi, dword [ebp - 0x23c]
xor ebx, ebx
push 0x38
lea eax, [ebp - 0x274]
push ebx
push eax
call fcn.0044a540
add esp, 0xc
mov dword [ebp - 0x278], 0x3c
cmp esi, dword [edi + 4]
jne 0x41c639
call fcn.0044d9e0
cmp dword [ebp + 0xc], 8
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x268], eax
je 0x41c65a
cmp dword [ebp + 0xc], 9
je 0x41c65a
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x278]
push eax
mov dword [ebp - 0x25c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41c6b8
push ebx
push ebx
push 0xd6b
push dword [ebp - 0x22c]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x41c6a3
cmp eax, 2
jne 0x41c5fd
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
call fcn.00401980
mov bl, 0xb
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.00401980
mov al, bl
jmp 0x41c47f
cmp dword [ebp - 0x230], ebx
je 0x41c6c5
call fcn.00403a8e
mov bl, 9
jmp 0x41c6a3
Function at 0x41c6c9
Capabilities:
Create process on windows

Disassembly:
push 0x50
mov eax, 0x46d77c
call fcn.00452617
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.0041daa2
mov eax, dword [0x493900]
pop ecx
pop ecx
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x4938fc
call fcn.00418245
test al, al
je 0x41c708
xor eax, eax
jmp 0x41c7b7
mov eax, dword [0x492934]
mov ecx, 0x492934
mov dword [0x490b74], 7
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
and dword [ebp - 4], 0
mov ebx, dword [ebp - 0x20]
test ebx, ebx
jne 0x41c735
call fcn.0044d9e0
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebx + 4]
jne 0x41c742
call fcn.0044d9e0
cmp dword [esi + 0x10], 0
je 0x41c769
cmp esi, dword [ebx + 4]
jne 0x41c752
call fcn.0044d9e0
push dword [esi + 0x10]
lea eax, [ebp - 0x14]
push str._supplyid_d
push eax
call fcn.00414997
mov edi, dword [ebp - 0x14]
add esp, 0xc
push 0x38
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.0044a540
add esp, 0xc
mov dword [ebp - 0x5c], 0x3c
cmp esi, dword [ebx + 4]
jne 0x41c78a
call fcn.0044d9e0
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x40], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
lea eax, [edi - 0x10]
call fcn.00401980
mov eax, esi
call fcn.004526ef
ret
Function at 0x41d0b4
Capabilities:
Delete file
Read file on windows

Disassembly:
push 0x18
mov eax, 0x46f218
call fcn.00452617
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
push 0xc0000000
push dword [0x4938f4]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.0040a1b2
test eax, eax
jge 0x41d0fb
cmp dword [ebp - 0x10], edi
je 0x41d0f4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41d1e9
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x20]
call fcn.0040a1e4
push dword [ebp - 0x20]
call fcn.004491ab
pop ecx
push edi
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x24], edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41d130
call fcn.0040a585
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push esi
mov dword [ebp - 0x1c], eax
call fcn.0041ba3d
add esp, 0xc
push esi
mov ebx, eax
call fcn.0044a0c8
cmp dword [ebp - 0x10], edi
pop ecx
je 0x41d15e
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], edi
cmp ebx, edi
mov dword [ebp - 0x14], edi
je 0x41d1cc
mov esi, dword [ebp - 0x1c]
add esi, esi
push esi
call fcn.004491ab
mov edi, eax
test edi, edi
pop ecx
je 0x41d1bf
push esi
push 0
push edi
call fcn.0044a540
mov edx, dword [ebp - 0x1c]
add esp, 0xc
lea eax, [ebp - 0x14]
dec esi
push eax
dec esi
push edi
mov ecx, ebx
mov dword [ebp - 0x14], esi
call fcn.0040484f
push ebx
mov dword [ebp - 0x14], eax
call fcn.0044a0c8
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x14], ebx
je 0x41d1b8
push edi
push dword [ebp + 8]
call fcn.0041d25e
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
push edi
call fcn.0044a0c8
pop ecx
test ebx, ebx
je 0x41d1ca
push ebx
call fcn.0044a0c8
pop ecx
xor edi, edi
push dword [0x4938f4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], edi
je 0x41d1e6
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
call fcn.004526ef
ret
Function at 0x41d951
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x20fc]
mov eax, 0x217c
call fcn.00467970
mov eax, dword [0x48f5fc]
xor eax, ebp
mov dword [ebp + 0x20f8], eax
mov eax, dword [ebp + 0x2104]
push ebx
push 0x80000000
push eax
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ebx
call fcn.0040a1b2
test eax, eax
jge 0x41d9a7
cmp dword [ebp - 0x1c], ebx
je 0x41d9a0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41da8c
push esi
push edi
xor eax, eax
mov byte [ebp + 0x20e8], bl
lea edi, [ebp + 0x20e9]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea esi, [ebp - 0x80]
stosb byte es:[edi], al
call fcn.00403ae7
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x2000
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41d9e8
call fcn.0040a585
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x41d9fc
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x80]
call fcn.00404231
jmp 0x41d9c5
cmp dword [ebp - 0x1c], ebx
je 0x41da0d
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], ebx
lea eax, [ebp + 0x20e8]
push eax
lea esi, [ebp - 0x80]
call fcn.0040443c
push 0xfe
lea eax, [ebp + 0x1fea]
push ebx
push eax
mov word [ebp + 0x1fe8], bx
call fcn.0044a540
add esp, 0x10
lea esi, [ebp + 0x1fe8]
xor edi, edi
movzx eax, byte [ebp + edi + 0x20e8]
push eax
push str._.2x
push 3
push esi
call fcn.0044b034
add esp, 0x10
add esi, 4
inc edi
cmp edi, 0x10
jb 0x41da40
push dword [ebp - 0x24]
lea eax, [ebp + 0x1fe8]
push eax
call fcn.0044f8de
mov esi, eax
neg esi
sbb esi, esi
pop ecx
inc esi
cmp dword [ebp - 0x1c], ebx
pop ecx
je 0x41da88
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x20f8]
xor ecx, ebp
pop ebx
call fcn.0044a0e3
add ebp, 0x20fc
leave
ret
Function at 0x41e105
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x48f5fc]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x14c
mov eax, 0x46e8db
call fcn.00452617
push 0x47b840
lea eax, [ebp - 0x14]
push eax
call fcn.0040134a
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040116c
or dword [ebp - 4], 0xffffffff
mov edi, eax
mov eax, dword [ebp - 0x14]
pop ecx
add eax, 0xfffffff0
call fcn.00401980
cmp edi, esi
je 0x41e17b
push 0x47b85c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x41e17b
push 0x47b870
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x208
lea eax, [ebp + 2]
push esi
push eax
mov word [ebp], si
call fcn.0044a540
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41e1b9
lea eax, [ebp]
push eax
call fcn.0042a81f
lea eax, [ebp]
push eax
call fcn.0042a7c0
pop ecx
pop ecx
mov eax, dword [ebp + 0x218]
mov dword [0x4937d8], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, esi
je 0x41e229
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_IsWindow]
jmp 0x41e1f6
push str.QQPCDownload_PropData
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x41e201
push 2
push edi
call ebx
mov edi, eax
push edi
call esi
test eax, eax
jne 0x41e1e1
xor edi, edi
test edi, edi
je 0x41e227
push edi
call esi
test eax, eax
je 0x41e227
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41e300
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x41e300
xor esi, esi
call fcn.0041c06b
lea eax, [ebp - 0x158]
push eax
call fcn.00415442
lea ebx, [ebp - 0x158]
mov dword [ebp - 4], 1
call fcn.0041e941
push dword [ebp - 0x154]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [ebp - 0x154]
push str.QQPCDownload_PropData
push dword [ebp - 0x154]
call dword [sym.imp.USER32.dll_SetPropW]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x41e297
cmp dword [ebp - 0x2c], 0x20
je 0x41e297
cmp dword [ebp - 0x2c], 0xd
je 0x41e297
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x34]
push eax
call edi
test eax, eax
jne 0x41e277
call fcn.0041c0ed
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
call fcn.004151bd
lea ecx, [ebp - 0x10]
push 0x482500
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004039ab
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401980
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401980
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.004155ea
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.0044a0e3
add ebp, 0x210
leave
ret 0x10
Function at 0x41e327
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push 0x260
mov eax, 0x46d6d6
call fcn.00452680
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x220], 3
call fcn.00417b6b
mov eax, dword [0x493900]
lea edi, [ebp - 0x224]
lea esi, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], 0x4938fc
call fcn.00418245
test al, al
je 0x41e38e
mov al, 9
call fcn.00452703
ret
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
push eax
mov word [ebp - 0x218], bx
call fcn.0044a540
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040134a
lea esi, [ebp - 0x21c]
mov dword [ebp - 4], ebx
call fcn.0041b8bd
push str.Kingsoft
mov eax, esi
push eax
call fcn.004019f0
mov eax, dword [0x492934]
mov ecx, 0x492934
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x230]
cmp edi, ebx
jne 0x41e414
call fcn.0044d9e0
mov esi, dword [ebp - 0x22c]
cmp esi, dword [edi + 4]
jne 0x41e424
call fcn.0044d9e0
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push dword [esi + 0x10]
push dword [ebp - 0x228]
push str.silence1handle_dsupply_dinstallpath__s_
push eax
call fcn.00414997
add esp, 0x14
push 0x38
lea eax, [ebp - 0x268]
push ebx
push eax
call fcn.0044a540
add esp, 0xc
mov dword [ebp - 0x26c], 0x3c
cmp esi, dword [edi + 4]
jne 0x41e46d
call fcn.0044d9e0
mov eax, dword [esi + 0x1c]
mov esi, dword [ebp - 0x220]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x26c]
push eax
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x268], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41e4ba
lea eax, [esi - 0x10]
call fcn.00401980
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.00401980
mov al, bl
jmp 0x41e388
mov bl, 9
jmp 0x41e49d
Function at 0x421088
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48f5fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push str.RT_RCDATA
xor esi, esi
push 0x6a
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x4210bd
xor eax, eax
jmp 0x421109
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x4210b9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x4210b9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x421106
push esi
push 0x80
push 2
push esi
push 1
push 0x10000000
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x421117
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044a0e3
leave
ret
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x421136
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x421108
xor esi, esi
inc esi
jmp 0x42112b
Function at 0x423367
Capabilities:
Get graphical window text

Disassembly:
push 0x18
mov eax, 0x46c979
call fcn.00452617
mov eax, dword [ebx + 0xc]
and dword [ebp - 0x10], 0
test eax, eax
je 0x423394
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4234b0
mov eax, dword [0x492934]
mov ecx, 0x492934
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
and dword [ebp - 4], 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
push edi
lea esi, [ebp + 0x10]
call fcn.00401881
push edi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.0040a16f
mov eax, dword [ebp + 0x10]
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x4234a5
cmp dword [ebx + 0x14], edi
je 0x4234a5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebx + 0x14]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x18]
mov dword [ebp + 0xc], eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edi
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
neg eax
push eax
mov eax, dword [ebp - 0x24]
neg eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
add dword [ebp - 0x24], 3
inc dword [ebp - 0x20]
sub dword [ebp - 0x1c], 2
mov eax, dword [ebx + 0x1c]
dec dword [ebp - 0x18]
push 0x904
lea ecx, [ebp - 0x24]
push ecx
push dword [eax - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
test esi, esi
je 0x4234a5
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00401980
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov eax, dword [ebp - 0x10]
call fcn.004526ef
ret 0x10

Function at 0x423b3d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
mov esi, eax
call edi
mov ebx, 0xff00
and ax, bx
cmp ax, bx
je 0x423b6d
push 2
call edi
and ax, bx
cmp ax, bx
je 0x423b6d
push 1
push esi
call fcn.00423c34
push 0x3f3
push esi
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.00423777
mov edi, eax
test edi, edi
je 0x423b9d
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x423b9d
push dword [esp + 0x10]
mov eax, dword [edi]
push 0
push 0
push edi
call dword [eax + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x4258db
Capabilities:
Find taskbar

Disassembly:
push 0x214
mov eax, 0x46edfb
call fcn.00452680
xor ebx, ebx
push ebx
push 0x482840
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
cmp edi, ebx
je 0x425aa1
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425aa1
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
lea esi, [ebp - 0x220]
mov dword [ebp - 4], ebx
call fcn.00425fca
mov eax, esi
push eax
push 0x4258c1
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x21c]
xor edi, edi
cmp eax, ebx
jne 0x425956
xor ecx, ecx
jmp 0x42595d
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jge 0x425a92
cmp eax, ebx
je 0x425974
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jb 0x425985
call fcn.0044d9e0
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x21c]
mov esi, edi
shl esi, 2
cmp dword [esi + eax], ebx
je 0x425a52
cmp eax, ebx
je 0x4259a0
sub edx, eax
sar edx, 2
cmp edi, edx
jb 0x4259ab
call fcn.0044d9e0
mov eax, dword [ebp - 0x21c]
add eax, esi
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425a46
cmp dword [ebp - 0x21c], ebx
je 0x4259d8
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 2
cmp edi, eax
jb 0x4259dd
call fcn.0044d9e0
push 0xff
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x21c]
push dword [esi + eax]
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x210]
push str.Button
push eax
call fcn.0044df2a
test eax, eax
pop ecx
pop ecx
jne 0x425a46
cmp dword [ebp - 0x21c], ebx
je 0x425a2a
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 2
cmp edi, eax
jb 0x425a2f
call fcn.0044d9e0
mov eax, dword [ebp - 0x21c]
add eax, esi
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, 0x5de
je 0x425a58
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x21c]
inc edi
jmp 0x42594e
mov ecx, dword [ebp - 0x21c]
cmp ecx, ebx
je 0x425a71
mov eax, dword [ebp - 0x218]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x425a7c
call fcn.0044d9e0
mov ecx, dword [ebp - 0x21c]
mov esi, dword [ecx + edi*4]
or dword [ebp - 4], 0xffffffff
cmp ecx, ebx
je 0x425a8e
push ecx
call fcn.0044a0c8
pop ecx
mov eax, esi
jmp 0x425aa3
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x425aa1
push eax
call fcn.0044a0c8
pop ecx
xor eax, eax
call fcn.00452703
ret