joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a860
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x324], 0
push edi
jne 0x40a8b4
cmp dword [esi + 0x328], 0
jne 0x40a8b4
cmp dword [esi + 4], 0
je 0x40a89c
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x80]
call edx
test eax, eax
jne 0x40a8b4
mov eax, dword [0x9f48bc]
cmp byte [eax + 0xa8], 0
je 0x40a8b4
cmp dword [esi + 4], 0
je 0x40a8b4
mov bl, 1
jmp 0x40a8b6
xor bl, bl
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [esi + 8]
mov ecx, 0
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 1
mov byte [esp + 0x18], bl
shr eax, 0xf
test al, 1
mov eax, dword [esi + 0x28]
sete cl
mov dword [esp + 0x14], eax
lea edi, [ecx + ecx - 1]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x1c], ecx
test bl, bl
je 0x40a8ff
call fcn.00424300
mov byte [esp + 0x20], 1
test al, al
jne 0x40a904
mov byte [esp + 0x20], 0
cmp byte [esi + 0x40], 0
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x24], edx
je 0x40a91c
cmp byte [esi + 0x41], 0
mov byte [esp + 0x28], 1
jne 0x40a921
mov byte [esp + 0x28], 0
mov ecx, dword [0x9f48bc]
mov eax, dword [esi + 0xa8]
mov dl, byte [ecx + 0xa9]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], dl
call dword [sym.imp.USER32.dll_GetFocus]
xor edx, edx
cmp dword [esp + edx*8 + 0xc], eax
je 0x40a94f
inc edx
cmp edx, 5
jb 0x40a943
cmp edx, 5
jne 0x40a960
mov edx, edi
neg edx
jmp 0x40a960
lea eax, [edi + edx + 5]
xor edx, edx
mov ecx, 5
div ecx
cmp byte [esp + edx*8 + 0x10], 0
je 0x40a960
mov edx, dword [esp + edx*8 + 0xc]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x2c
ret
Function at 0x411af0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x220
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push ebx
push ebp
push esi
push edi
push 0x104
lea edx, [esp + 0x28]
xor ecx, ecx
push edx
push ecx
mov dword [esp + 0x28], eax
mov word [esp + 0x30], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [esp + 0x22a], ax
lea eax, [esp + 0x24]
call fcn.00455200
mov ebx, eax
mov dword [esp + 0x10], ebx
mov esi, ebx
test ebx, ebx
je 0x411b81
cmp word [ebx], 0
je 0x411b68
movzx ecx, word [esi]
push ecx
call fcn.0065de86
mov word [esi], ax
add esi, 2
add esp, 4
cmp word [esi], 0
jne 0x411b50
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411b70
sub eax, edx
sar eax, 1
jmp 0x411b83
xor eax, eax
add eax, eax
mov edx, ebx
call fcn.00455db0
push eax
push str.SumatraPDF__08x
call fcn.00458200
mov ebp, dword [sym.imp.USER32.dll_FindWindowExW]
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 3
lea esp, [esp]
mov edx, dword [esp + 0x14]
push edx
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x411c49
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
push 0
push 0
push 0xf001f
cmp eax, 0xb7
push edi
sete bl
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x411bfa
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411c45
test bl, bl
je 0x411c5c
mov ebx, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.SUMATRA_PDF_FRAME
push 0
push 0
call ebp
mov esi, eax
test esi, esi
je 0x411c45
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [esp + 0x20], ebx
je 0x411c82
push 0
push str.SUMATRA_PDF_FRAME
push esi
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x411c21
mov ebx, dword [esp + 0x10]
dec dword [esp + 0x18]
js 0x411ca4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x411bb0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push edx
mov dword [ecx], edi
call fcn.00658a01
mov eax, dword [esp + 0x14]
push eax
jmp 0x411caf
push ebx
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00658a01
mov edx, dword [esp + 0x14]
push edx
call fcn.00658a01
add esp, 8
mov eax, esi
jmp 0x411cb9
mov eax, dword [esp + 0x14]
push eax
call fcn.00658a01
push ebx
call fcn.00658a01
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x220
ret
Function at 0x41c9a0
Capabilities:
Create thread

Disassembly:
push ecx
push edi
push 0x40
call fcn.00659e93
add esp, 4
test eax, eax
je 0x41c9bf
mov ecx, dword [esp + 0xc]
push ecx
push esi
mov edi, eax
call fcn.0041c610
jmp 0x41c9c1
xor eax, eax
push 0
push 0
push eax
push 0x41c8c0
push 0
push 0
mov dword [esi + 0x370], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x370], eax
pop edi
pop ecx
ret
Function at 0x41f2e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x9c
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [0x9eef24]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
cmp eax, ebp
je 0x41f30f
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
jmp 0x41f4a4
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp word [0x9eef20], bp
jne 0x41f353
push 0x41f0d0
push str.SUMATRA_PDF_ABOUT
lea esi, [esp + 0x38]
call fcn.00450ce0
add esp, 8
push 1
push ebp
call edi
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0x48], eax
mov eax, esi
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov word [0x9eef20], ax
push ebp
push ebp
call edi
push eax
push ebp
push ebp
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0xc80000
mov eax, str.About_SumatraPDF
call fcn.0044a3e0
push eax
push str.SUMATRA_PDF_ABOUT
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x9eef24], eax
cmp eax, ebp
je 0x41f4a4
mov ecx, dword [0x9f4968]
cmp ecx, 2
je 0x41f3b5
cmp ecx, 0x17
je 0x41f3b5
cmp ecx, 0x1f
je 0x41f3b5
cmp ecx, 0x25
je 0x41f3b5
xor ebx, ebx
jmp 0x41f3ba
mov ebx, 1
push 0xffffffffffffffec
push eax
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
test bl, bl
je 0x41f3d3
or ecx, 0x500000
jmp 0x41f3d9
and ecx, 0xffafffff
cmp ecx, eax
je 0x41f3e7
push ecx
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [0x9eef24]
lea ecx, [esp + 0x60]
push ecx
push edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_SetLayout]
mov eax, dword [0x9eef24]
push eax
lea ecx, [esp + 0x14]
mov edx, esi
call fcn.0041e890
mov edx, dword [0x9eef24]
add esp, 4
lea ecx, [esp + 0x60]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov eax, dword [0x9eef24]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
push eax
lea esi, [esp + 0x14]
add edi, 0x10
add ebp, 0x10
call fcn.00401100
mov ecx, dword [0x9eef24]
push ecx
lea esi, [esp + 0x24]
call fcn.00401090
sub ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
sub edi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
add ecx, ebp
push ecx
mov ecx, dword [0x9eef24]
add eax, edi
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [0x9eef24]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x9c
ret
Function at 0x420cd0
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x414
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [0x9e8900]
cmp eax, 0xffffffff
je 0x420d0a
xor ecx, ecx
test eax, eax
setne al
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0065865c
add esp, 0x414
ret
mov dword [0x9e8900], 1
call fcn.00420b90
test al, al
je 0x420d3e
mov dword [0x9e8900], 0
xor al, al
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0065865c
add esp, 0x414
ret
push esi
push edi
push 0x104
lea eax, [esp + 0xc]
xor edx, edx
push eax
push edx
mov word [esp + 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
lea eax, [esp + 8]
mov word [esp + 0x20e], cx
call fcn.00455200
mov esi, eax
xor edx, edx
lea eax, [esp + 0x210]
push eax
push edx
push edx
push 0x26
push edx
mov word [esp + 0x224], dx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x420d92
xor edi, edi
jmp 0x420da4
lea ecx, [esp + 0x210]
push ecx
call fcn.00661039
add esp, 4
mov edi, eax
test esi, esi
je 0x420dd7
test edi, edi
je 0x420dd7
mov edx, esi
call fcn.00454f40
cmp eax, esi
jbe 0x420dd7
xor edx, edx
push edi
mov ecx, esi
mov word [eax - 2], dx
call fcn.004553c0
add esp, 4
test al, al
jne 0x420dff
mov edx, esi
call fcn.00454f40
cmp eax, esi
ja 0x420db7
push edi
call fcn.00658a01
push esi
call fcn.00658a01
add esp, 8
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0065865c
add esp, 0x414
ret
push edi
mov dword [0x9e8900], 0
call fcn.00658a01
push esi
call fcn.00658a01
mov ecx, dword [esp + 0x420]
add esp, 8
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.0065865c
add esp, 0x414
ret

Function at 0x420e40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x208], eax
test ebx, ebx
jne 0x420e6f
xor eax, eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0065865c
add esp, 0x20c
ret
call fcn.00420cd0
test al, al
je 0x420e94
mov ecx, ebx
call fcn.004557d0
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0065865c
add esp, 0x20c
ret
push edi
xor eax, eax
lea ecx, [esp + 4]
push ecx
push eax
push eax
push 0x801a
push eax
mov word [esp + 0x18], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x420ec6
lea edx, [esp + 4]
push edx
call fcn.00661039
mov edi, eax
add esp, 4
test edi, edi
jne 0x420ee8
push 0
call fcn.00658a01
add esp, 4
xor eax, eax
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0065865c
add esp, 0x20c
ret
push esi
mov eax, 0x9233f0
mov edx, edi
call fcn.00455100
push edi
mov esi, eax
call fcn.00658a01
add esp, 4
test esi, esi
je 0x420f3c
mov eax, esi
call fcn.00455d80
test al, al
je 0x420f3c
mov eax, ebx
mov edx, esi
call fcn.00455100
push esi
mov edi, eax
call fcn.00658a01
add esp, 4
pop esi
mov eax, edi
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0065865c
add esp, 0x20c
ret
push esi
call fcn.00658a01
mov ecx, dword [esp + 0x214]
add esp, 4
pop esi
pop edi
xor ecx, esp
xor eax, eax
call fcn.0065865c
add esp, 0x20c
ret
Function at 0x421690
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push esi
cmp eax, 0x201
ja 0x421735
je 0x42171d
sub eax, 7
je 0x4216f8
dec eax
je 0x4216f0
sub eax, 0xf8
jne 0x4216f0
cmp dword [esp + 0x18], 8
jne 0x4216f0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 0xf
test al, 1
je 0x4216f0
push 0x10
call esi
shr eax, 0xf
test al, 1
jne 0x4216f0
push 0
push 0
push 0x8002
push ebp
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
mov al, 1
pop ebp
add esp, 8
ret
pop esi
xor al, al
pop ebp
add esp, 8
ret
cmp byte [0x9f5c66], 0
jne 0x421887
push 0
push 0
push 0x8001
push ebp
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
mov al, 1
pop ebp
add esp, 8
ret
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebp
setne al
pop esi
mov byte [0x9f5c66], al
mov al, 1
pop ebp
add esp, 8
ret
sub eax, 0x202
je 0x42184d
sub eax, 0x7dff
je 0x421835
dec eax
jne 0x4216f0
push ebx
push ebp
call fcn.00452810
add esp, 4
push 0
push 0
push 0xb0
mov ebx, eax
push ebp
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
movzx esi, ax
mov dword [esp + 0x10], esi
test esi, esi
jle 0x4217ff
lea ebx, [ebx + esi*2]
cmp word [ebx - 2], 0x7f
push edi
lea edi, [ebx - 2]
jne 0x4217b4
mov eax, edi
call fcn.00457900
add eax, eax
push eax
push ebx
push edi
call fcn.006586a0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
push 0
push 0xc
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
dec esi
mov dword [esp + 0x14], esi
test esi, esi
jle 0x4217fe
mov edx, dword [esp + 0x10]
lea edi, [edx + esi*2 - 2]
movzx eax, word [edi]
push eax
call fcn.0065dd04
add esp, 4
test eax, eax
je 0x4217da
dec esi
sub edi, 2
test esi, esi
jg 0x4217c0
jmp 0x4217fe
test esi, esi
jle 0x4217fe
mov eax, dword [esp + 0x10]
lea edi, [eax + esi*2 - 2]
movzx eax, word [edi]
push eax
call fcn.0065dd04
add esp, 4
test eax, eax
jne 0x4217fe
dec esi
sub edi, 2
test esi, esi
jg 0x4217e6
pop edi
mov ecx, dword [esp + 0x10]
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xb1
push ebp
call esi
push 0
push 0
push 0x303
push ebp
call esi
mov edx, dword [esp + 0xc]
push edx
call fcn.00658a01
add esp, 4
pop ebx
pop esi
mov al, 1
pop ebp
add esp, 8
ret
push 0xffffffffffffffff
push 0
push 0xb1
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
mov al, 1
pop ebp
add esp, 8
ret
cmp byte [0x9f5c66], 0
je 0x421887
push 0
push 0
push 0xb0
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
shr ecx, 0x10
cmp ax, cx
jne 0x421880
push 0
push 0
push 0x8001
push ebp
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [0x9f5c66], 0
pop esi
mov al, 1
pop ebp
add esp, 8
ret
Function at 0x421d70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x22c], eax
push 0x104
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x421e86
cmp eax, 0x104
jae 0x421e86
push esi
mov eax, str.xpsrchvw.exe
lea edx, [esp + 0x28]
call fcn.00455100
mov esi, eax
test esi, esi
je 0x421df7
lea ecx, [esp + 4]
push ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x421df7
test byte [esp + 4], 0x10
jne 0x421df7
push 0
call fcn.00658a01
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0065865c
add esp, 0x230
ret
push edi
call fcn.00450e60
test al, al
je 0x421e64
push 0x104
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x421e64
cmp eax, 0x104
jae 0x421e64
mov eax, str.Sysnativexpsrchvw.exe
lea edx, [esp + 0x2c]
call fcn.00455100
push esi
mov edi, eax
call fcn.00658a01
push edi
mov esi, edi
call fcn.00455870
add esp, 8
test al, al
je 0x421e64
push 0
call fcn.00658a01
add esp, 4
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0065865c
add esp, 0x230
ret
push esi
call fcn.00658a01
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0065865c
add esp, 0x230
ret
mov ecx, dword [esp + 0x22c]
xor ecx, esp
xor eax, eax
call fcn.0065865c
add esp, 0x230
ret

Function at 0x421ea0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x22c], eax
push 0x104
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x421fcc
cmp eax, 0x104
jae 0x421fcc
push esi
mov eax, str.hh.exe
lea edx, [esp + 0x28]
call fcn.00455100
mov esi, eax
test esi, esi
je 0x421f27
lea ecx, [esp + 4]
push ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x421f27
test byte [esp + 4], 0x10
jne 0x421f27
push 0
call fcn.00658a01
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0065865c
add esp, 0x230
ret
push 0x104
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x421fab
cmp eax, 0x104
jae 0x421fab
push edi
mov eax, str.hh.exe
lea edx, [esp + 0x2c]
call fcn.00455100
push esi
mov edi, eax
call fcn.00658a01
push edi
call fcn.00455870
add esp, 8
test al, al
je 0x421f89
push 0
call fcn.00658a01
add esp, 4
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0065865c
add esp, 0x230
ret
push edi
call fcn.00658a01
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0065865c
add esp, 0x230
ret
push esi
call fcn.00658a01
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0065865c
add esp, 0x230
ret
mov ecx, dword [esp + 0x22c]
xor ecx, esp
xor eax, eax
call fcn.0065865c
add esp, 0x230
ret
Function at 0x422b60
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
cmp dword [edi + 0x328], 0
push esi
jne 0x422c00
cmp byte [edi + 0x324], 0
jne 0x422c00
mov eax, dword [0x9f48bc]
cmp byte [eax + 0xa8], 0
je 0x422bab
cmp dword [edi + 4], 0
je 0x422ba3
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x80]
call eax
test eax, eax
jne 0x422bab
mov ecx, dword [edi + 0x14]
push 5
push ecx
jmp 0x422bcf
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
cmp dword [edi + 0x1c], eax
je 0x422bbf
call esi
cmp dword [edi + 0x28], eax
jne 0x422bc9
mov edx, dword [edi + 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x14]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 8]
push ecx
lea esi, [esp + 0xc]
call fcn.00401090
movzx edx, word [esp + 0x14]
movzx eax, word [esp + 0x10]
mov ecx, dword [edi + 8]
shl edx, 0x10
or edx, eax
push edx
push 0
push 5
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
add esp, 0x18
ret
Function at 0x424930
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push 0xb8
push ebx
mov dword [esi], 0x927344
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
call ebp
push 0
push 0
test eax, eax
push 0xe
setne dl
push ebx
mov byte [esi + 0xc], dl
call ebp
mov dword [esp + 8], eax
inc eax
push 2
push eax
call fcn.00658a3b
mov edi, eax
add esp, 8
test edi, edi
jne 0x424984
mov dword [esi + 0x10], edi
pop edi
mov dword [esi + 0x14], eax
mov eax, esi
pop ebp
pop ecx
ret
mov eax, dword [esp + 8]
push edi
inc eax
push eax
push 0xd
push ebx
call ebp
mov ecx, dword [esp + 8]
xor eax, eax
mov word [edi + ecx*2], ax
mov dword [esi + 0x10], edi
pop edi
mov dword [esi + 0x14], eax
mov eax, esi
pop ebp
pop ecx
ret

Function at 0x4250a0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 1
mov eax, ebp
call fcn.00425040
add esp, 4
push 0x18
call fcn.00659e93
mov esi, eax
add esp, 4
test esi, esi
je 0x4250d6
mov ebx, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, ebp
call fcn.00424930
mov edi, eax
jmp 0x4250d8
xor edi, edi
mov eax, dword [ebp + 0x1c]
push 0
push 0
push 0xb9
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4250f9
xor ecx, ecx
cmp cx, word [eax]
jne 0x425109
mov edx, dword [edi]
mov eax, dword [edx + 8]
push 1
mov ecx, edi
call eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp byte [esp + 0x1c], cl
sete cl
movzx edx, cl
push edx
call fcn.004249b0
push 0
push 0
push edi
push 0x424db0
push 0
push 0
mov dword [ebp + 0x378], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
mov dword [ebp + 0x378], eax
pop ebp
pop ebx
ret
Function at 0x427950
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx + 4]
sub esp, 0x34
push esi
xor esi, esi
cmp dword [eax], esi
jbe 0x4279c8
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0xffff0002
mov dword [esp + 0x14], 0xd
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x20
mov dword [esp + 0x38], eax
call fcn.004270e0
lea edx, [esp + 0xc]
push edx
push 0
mov edi, eax
mov eax, dword [esp + 0x4c]
push 0x1132
push eax
mov dword [esp + 0x34], edi
call ebp
push edi
call fcn.00658a01
mov eax, dword [ebx + 4]
inc esi
add esp, 4
cmp esi, dword [eax]
jb 0x427965
pop edi
pop ebp
pop esi
add esp, 0x34
ret

Function at 0x4281e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
cmp eax, 0xfffffffc
ja 0x4282c0
je 0x42826a
cmp eax, 0xfffffe64
je 0x42820d
cmp eax, 0xfffffff4
jne 0x42832f
xor eax, eax
pop edi
pop esi
add esp, 0x3c
ret
mov eax, 9
cmp ax, word [esi + 0xc]
jne 0x42832f
cmp byte [ebx + 0x110], 0
je 0x428258
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 0xf
test al, 1
je 0x428258
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx ecx, al
push ecx
mov eax, ebx
call fcn.00434220
add esp, 4
mov eax, 1
pop edi
pop esi
add esp, 0x3c
ret
mov ecx, ebx
call fcn.0040a860
mov eax, 1
pop edi
pop esi
add esp, 0x3c
ret
mov esi, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 9
push 0x110a
push esi
call edi
lea edx, [esp + 0x18]
push edx
push 0
push 0x113e
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 4
call edi
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x42832f
push esi
call fcn.00426bf0
push eax
push ebx
mov eax, esi
call fcn.004277c0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
add esp, 0x3c
ret
cmp eax, 0xfffffffe
jne 0x42832f
xor eax, eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
push 1
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi]
push eax
push ecx
push 0
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi]
lea edx, [esp + 8]
push edx
push 0
push 0x1111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x10], 0x46
je 0x42832f
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push ebx
call fcn.004278f0
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x3c
ret
Function at 0x429160
Capabilities:
Create directory

Disassembly:
sub esp, 0x34
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x58], 0
push edi
je 0x429222
mov ecx, dword [esi]
call fcn.00428a10
mov edi, eax
test edi, edi
jne 0x429191
push eax
jmp 0x42921a
call fcn.00455060
mov ebp, eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4291b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
test al, al
je 0x429210
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
push 0
push edx
mov dword [esp + 0x20], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov ebx, dword [esp + 0x14]
lea esi, [esp + 0x18]
call fcn.0045c400
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0xc]
push 0
lea eax, [esp + 0x30]
push eax
push edi
push ebx
mov dword [esp + 0x48], edx
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
push ebx
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push ebp
call fcn.00658a01
add esp, 4
push edi
call fcn.00658a01
add esp, 4
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x34
ret

Function at 0x429240
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
push esi
mov eax, edi
call fcn.00429050
test al, al
je 0x42929f
mov ecx, dword [edi]
call fcn.00428a10
mov ebx, eax
test ebx, ebx
je 0x42926c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42926c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [edi + 0x58]
test esi, esi
je 0x42928f
mov eax, dword [esi]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.006590fa
add esp, 4
push ebx
mov dword [edi + 0x58], 0
call fcn.00658a01
add esp, 4
pop esi
pop ebx
pop ecx
ret