joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x4201a2
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [edx - 4]
mov dword [ebp - 4], 0xffffffff
add ebx, ecx
mov dword [ebp - 0x10], ebx
lea edx, [edi + ecx]
cmp edx, ebx
jae 0x4201cd
nop dword [eax]
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x4201cd
inc edx
cmp edx, ebx
jb 0x4201c0
mov edi, edx
sub edi, ecx
mov ecx, edi
sub ecx, dword [ebp - 4]
cmp edx, ebx
jae 0x4202ce
cmp ecx, 3
jbe 0x420207
xor esi, esi
mov al, byte [edx + 4]
mov dword [ebp - 4], edi
test al, al
je 0x420242
cmp al, 0xff
je 0x420242
mov ecx, dword [ebp - 8]
and esi, 3
add esi, esi
mov eax, 1
or esi, 1
add edi, eax
jmp 0x4201b2
dec ecx
shl esi, cl
and esi, 7
je 0x4201e5
cmp byte [esi + 0x6a0e04], 0
je 0x42022e
movzx eax, byte [esi + 0x6a0e0c]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x42022e
cmp al, 0xff
jne 0x4201e5
mov ecx, dword [ebp - 8]
and esi, 3
add esi, esi
mov dword [ebp - 4], edi
or esi, 1
inc edi
jmp 0x4201b2
movzx ecx, byte [edx + 3]
movzx eax, al
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 1]
shl eax, 8
or eax, ecx
sub eax, edi
lea ebx, [eax - 5]
test esi, esi
je 0x42029d
movzx eax, byte [esi + 0x6a0e0c]
mov ecx, 0x18
shl eax, 3
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x420289
cmp al, 0xff
jne 0x42029d
mov ecx, 0x20
mov eax, 1
sub ecx, dword [ebp - 0xc]
shl eax, cl
dec eax
xor eax, ebx
jmp 0x420260
mov ecx, dword [ebp - 8]
mov eax, ebx
shr eax, 0x18
and al, 1
mov byte [edx + 1], bl
neg al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
mov byte [edx + 2], al
mov eax, 5
add edi, eax
jmp 0x4201b2
pop ebx
cmp ecx, 3
jbe 0x4202e3
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
dec ecx
shl esi, cl
and esi, 7
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x422220
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x422245
or esi, 2
push 1
call edi
test ax, ax
jns 0x422251
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x42225d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x422269
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x422ee0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x38c], edi
jle 0x422f2f
nop dword [eax + eax]
mov eax, dword [esi + 0x388]
lea edx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + edi*4]
push dword [ebp + 0xc]
push ebx
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp + 0xb], 0
jne 0x423091
inc edi
cmp edi, dword [esi + 0x38c]
jl 0x422f00
sub ebx, 0x100
je 0x42301a
sub ebx, 4
je 0x422fa9
sub ebx, 2
jne 0x42300f
cmp dword [esi + 0xe0], ebx
je 0x42300f
push dword [ebp + 0xc]
mov dword [ebp + 8], ebx
call fcn.00614a46
mov ecx, dword [esi + 0xe0]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_select
push edx
push 0x4284d0
call dword [eax + 0x110]
mov esi, eax
test esi, esi
je 0x42300f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x104]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x42300f
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0xf4]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xf8]
mov dword [ebp - 0x18], 0
movlpd qword [ebp - 0xa], xmm0
mov word [ebp - 2], cx
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00422220
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x42300f
mov ecx, dword [esi + 0xe4]
test ecx, ecx
je 0x423078
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x423078
mov ecx, dword [esi + 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xe8]
call eax
test al, al
je 0x423078
mov ecx, dword [esi + 0xe4]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.005fd483
add esp, 8
test eax, eax
je 0x423078
mov eax, dword [esi + 0xe4]
cmp byte [eax + 0x699], 0
jne 0x42300f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.004261c0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x425d00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x425d3e
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x425d3e
cmp esi, dword [edi + 0xe4]
je 0x425d3e
cmp byte [edi + 0xdc], 0
jne 0x425d3e
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe4]
cmp esi, eax
je 0x425e41
test eax, eax
je 0x425db1
xorps xmm0, xmm0
mov dword [esp + 8], 0x14
movlpd qword [esp + 0x10], xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push ecx
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.004266d0
mov dword [edi + 0xe4], 0
test esi, esi
je 0x425e41
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x425e41
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x425e41
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xe8]
call eax
test al, al
je 0x425e41
xorps xmm0, xmm0
mov dword [edi + 0xe4], esi
movlpd qword [esp + 0x10], xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push ecx
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.004266d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x432500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
and byte [esi + 0x10], 9
mov al, byte [esi + 0x10]
test al, 1
je 0x43253d
test al, 8
jne 0x43253d
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x43253d
mov cl, byte [esi + 0x10]
or cl, 4
mov byte [esi + 0x10], cl
test eax, 0x21000000
jne 0x43253d
or cl, 2
mov byte [esi + 0x10], cl
test byte [esi + 0x10], 2
mov eax, dword [esi + 8]
je 0x43255e
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.004318d0
pop esi
pop ebp
ret 4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
Function at 0x434a90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x434a9b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x434b57
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6a0e28]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6a0e28]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6a0e28]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6a0e28]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6a0e28]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6a0e28]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6a0e28]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6a0e28]
sub edi, 1
jne 0x434ab0
pop edi
test esi, esi
je 0x434b7a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6a0e28]
sub esi, 1
jne 0x434b60
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4352e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov ebx, esi
mov dword [ebp - 8], esi
imul ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x435328
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43531a
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp - 4]
call fcn.005fe040
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x43539b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x435396
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x4353c8
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x4353ac
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x10]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.005fe040
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x18], eax
cmp edi, 1
jne 0x4353dc
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x4353d3
cmp byte [esi + 8], 0
je 0x4353d3
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4365f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx], 0
jne 0x43678c
cmp dword [ebx + 4], 0xffffffff
jne 0x43678c
lea edi, [ebx + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x436621
mov eax, dword [0x6a2f8c]
mov dword [edi], eax
mov edi, dword [ebp + 0x10]
cmp edi, 1
jne 0x436658
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, edi
je 0x436673
mov eax, 0x2000000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 2
je 0x436670
cmp edi, 3
je 0x436670
mov eax, 0x10000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov byte [ebp + 0x13], 0
cmp edi, 1
je 0x4366b7
cmp edi, 2
jne 0x4366f9
push 0
push 0x80
push 3
push 0
push 1
push accept
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x4366eb
mov eax, 0x200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 4]
push 2
push 0
push 0
push eax
call esi
push eax
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x4366e8
mov eax, 0x100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
sete byte [ebp + 0x13]
push 0x1c
call fcn.005c3873
add esp, 4
mov esi, eax
cmp edi, 1
je 0x436745
cmp edi, 2
je 0x436745
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov word [esi], 0x100
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0xc], 0
call fcn.00435660
mov dword [ebx], eax
mov eax, dword [0x6d9440]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov cl, byte [ebp + 0x13]
mov byte [esi], 1
mov byte [esi + 1], cl
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
test cl, cl
je 0x436775
push 1
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0xc], eax
mov ecx, esi
call fcn.00435660
mov dword [ebx], eax
mov eax, dword [0x6d9440]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43e740
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x694], 0
je 0x43e7ae
cmp dword [ebp + 8], 0x100
jne 0x43e79e
cmp word [ebp + 0xc], 0xd
jne 0x43e79e
cmp byte [esi + 0x69a], 0
je 0x43e77e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x43e79e
cmp byte [esi + 0x69b], 0
jne 0x43e79e
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x43e797
push ecx
push 0
push 0
push 0
push str.return
push esi
call fcn.004266d0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x694]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x443020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
push esi
shr edx, 0x10
mov esi, ecx
push edi
test edx, edx
je 0x443060
cmp word [eax], 0x3c
jne 0x443057
push eax
call fcn.00445d50
test al, al
jne 0x4430fa
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push ecx
push eax
call fcn.00445ec0
jmp 0x443044
mov ecx, dword [0x6d9230]
test ecx, ecx
mov ebx, dword [ebp + 0xc]
cmove ecx, dword [0x6d9228]
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x44304c
mov ecx, dword [0x6d9230]
test ecx, ecx
push edi
cmove ecx, dword [0x6d9228]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4430b2
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x140], eax
mov eax, dword [0x6d9230]
test eax, eax
push ecx
cmove eax, dword [0x6d9228]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call fcn.00445e00
test al, al
je 0x44304c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [esi + 0x144], ebx
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00443120
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4514f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 8]
mov ecx, edx
and ecx, 7
mov edi, edx
mov dword [ebp - 4], ecx
je 0x45154d
mov edi, dword [esi + 0xc]
cmp edx, ecx
jge 0x45153f
mov ebx, dword [esi + 4]
mov eax, dword [esi]
cmp eax, ebx
jb 0x45151c
xor cl, cl
jmp 0x451521
mov cl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, cl
mov ecx, edx
shl eax, cl
add edx, 8
or eax, edi
mov dword [esi + 8], edx
mov edi, eax
mov dword [esi + 0xc], edi
cmp edx, 0x18
jle 0x451512
mov ecx, dword [ebp - 4]
jmp 0x451541
mov eax, edi
shr eax, cl
sub edx, ecx
mov dword [esi + 0xc], eax
mov edi, edx
mov dword [esi + 8], edx
xor ecx, ecx
test edx, edx
jle 0x451573
mov edx, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edx, 8
mov dword [esi + 0xc], edx
test edi, edi
jg 0x451556
mov dword [esi + 8], edi
cmp ecx, 4
jge 0x45158f
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x451580
xor dl, dl
jmp 0x451585
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x451576
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx ebx, ah
movzx eax, al
shl ebx, 8
add ebx, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, ebx
xor eax, 0xffff
cmp ecx, eax
jne 0x451625
mov edx, dword [esi]
lea eax, [edx + ebx]
cmp eax, dword [esi + 4]
ja 0x451625
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
lea eax, [ecx + ebx]
cmp eax, edi
jbe 0x451609
cmp dword [esi + 0x1c], 0
je 0x451625
mov edx, dword [esi + 0x14]
sub ecx, edx
sub edi, edx
mov dword [ebp - 4], ecx
lea eax, [ecx + ebx]
cmp eax, edi
jle 0x4515e9
add edi, edi
cmp eax, edi
jg 0x4515e3
push edi
push edx
call fcn.0061449a
add esp, 8
test eax, eax
je 0x451625
mov ecx, dword [ebp - 4]
mov edx, dword [esi]
add ecx, eax
mov dword [esi + 0x14], eax
add eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x18], eax
push ebx
push edx
push ecx
call fcn.005fe040
add dword [esi], ebx
add esp, 0xc
add dword [esi + 0x10], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b430
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xac]
push edi
mov edi, ecx
push eax
mov dword [ebp - 0x9c], edi
mov dword [edi + 0x10], esi
call fcn.0045b650
mov edx, dword [edi + 0x10]
mov eax, dword [esi + 0x6f0]
or eax, 0x40000080
mov dword [ebp - 0x98], eax
mov ecx, dword [edx + 0x668]
test cl, 1
je 0x45b484
or eax, 1
jmp 0x45b48c
test cl, 2
je 0x45b492
or eax, 2
mov dword [ebp - 0x98], eax
mov eax, dword [edx]
mov ecx, edx
mov bl, byte [edx + 0x6e1]
call dword [eax + 0x24]
mov esi, dword [ebp - 0xa8]
mov edi, eax
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x98]
push ecx
mov ecx, dword [ebp - 0xa0]
or eax, 0x20
sub ecx, esi
push ecx
mov ecx, dword [ebp - 0xa4]
sub ecx, edx
test bl, bl
mov ebx, dword [ebp - 0x9c]
cmove eax, dword [ebp - 0x98]
push ecx
push esi
push edx
push 0
push eax
push 0
push dword [edi + 0x84]
mov ecx, ebx
call fcn.00421be0
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x664]
cmp eax, 0xffffffff
je 0x45b50b
push eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00426d10
test eax, eax
jne 0x45b51c
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.004269b0
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
push 0
push dword [eax + 0x6dc]
push 0xc5
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
cmp byte [ecx + 0x6e1], 0
je 0x45b564
movzx eax, word [ecx + 0x6e4]
push 0
push eax
push 0xcc
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
call dword [eax + 0x38]
push dword [eax]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x45b594
push eax
call fcn.006140b6
add esp, 4
push 0
push 0
push 0xb9
push dword [ebx + 4]
call esi
push 0
push 3
push 0xd3
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xe8]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x10]
xor ecx, ecx
push 0
cmp byte [eax + 0x6e0], 1
sete cl
push ecx
push 0xcf
push dword [ebx + 4]
call esi
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
push ecx
cmp byte [eax + 0x6e2], 0
je 0x45b623
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
mov ecx, 1
cmove eax, ecx
push eax
push 0
jmp 0x45b62b
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov byte [ebx + 0x18], 1
xor ecx, ebp
pop ebx
call fcn.005c358e
mov esp, ebp
pop ebp
ret 4
Function at 0x45bc10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x45bc98
cmp dword [esi + 0x10], 0
je 0x45bc98
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.005c4870
mov ebx, esp
test ebx, ebx
je 0x45bc98
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.00420b50
mov ecx, dword [esi + 0x10]
push ecx
push 0
push 0
mov eax, dword [ecx]
push 0
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.004266d0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp byte [eax + 0x145], 0
je 0x45bc98
mov ecx, dword [esi + 0x10]
call fcn.0042d4d0
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x45c3c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x6ce488]
xor eax, esp
mov dword [esp + 0x10], eax
movups xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0042c730
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x45c456
lea eax, [esp + 4]
push eax
call fcn.0045b650
lea eax, [esp + 4]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov esi, dword [esi + 0x6d8]
test eax, eax
je 0x45c431
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005c358e
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
sub eax, edx
mov ecx, dword [esp + 4]
push 0x54
push eax
mov eax, dword [esp + 0x14]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
call fcn.005c358e
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45c470
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x6ce488]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042cbd0
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x45c500
lea eax, [esp + 4]
push eax
call fcn.0045b650
lea eax, [esp + 4]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov esi, dword [esi + 0x6d8]
test eax, eax
je 0x45c4db
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005c358e
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
sub eax, edx
mov ecx, dword [esp + 4]
push 0x54
push eax
mov eax, dword [esp + 0x14]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
call fcn.005c358e
mov esp, ebp
pop ebp
ret 0xc