joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c511
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebp
xor ebp, ebp
cmp dword [0x59c23c], ebp
je 0x46c6f7
push ebx
mov ebx, dword [esp + 0x60]
push edi
test ebx, ebx
je 0x46c531
mov edi, ebx
jmp 0x46c543
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x46c6f5
lea eax, [esp + 0x18]
push eax
push 0x18
push dword [esp + 0x68]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x46c6ea
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push esi
mov esi, dword [esp + 0x24]
push 0x2c
push 0
push eax
mov dword [esp + 0x20], ebp
call fcn.00449b30
add esp, 0xc
mov dword [esp + 0x34], 0x28
xor eax, eax
mov dword [esp + 0x38], ebp
inc eax
mov dword [esp + 0x3c], esi
mov word [esp + 0x40], ax
xor ecx, ecx
push 0x20
pop eax
push ecx
push ecx
mov word [esp + 0x4a], ax
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x54], ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x46c6e9
push 0
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x18]
push esi
push 0
push dword [esp + 0x78]
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
imul esi, dword [esp + 0x14]
test esi, esi
jle 0x46c6e9
cmp dword [esp + 0x6c], 0
je 0x46c696
mov ebp, dword [esp + 0x10]
push 0xa
pop ebx
movzx ecx, byte [ebp + 1]
xor edx, edx
movzx eax, byte [ebp + 2]
lea eax, [eax + ecx*2]
movzx ecx, byte [ebp]
imul eax, eax, 3
add eax, ecx
div ebx
mov cl, al
cmp cl, 0x40
jae 0x46c62a
movzx eax, cl
sub eax, 0x40
imul eax, eax, 7
cdq
idiv ebx
lea ecx, [eax + 0x40]
jmp 0x46c640
cmp cl, 0xc0
jbe 0x46c640
movzx eax, cl
sub eax, 0xc0
imul eax, eax, 7
cdq
idiv ebx
lea ecx, [eax - 0x40]
movzx eax, byte [ebp + 3]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movzx eax, cl
movd xmm0, eax
divss xmm1, dword [0x5502d8]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
cvttss2si ecx, xmm1
mov byte [ebp], cl
mov eax, dword [esp + 0x10]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
mov byte [ecx + 2], al
mov ebp, dword [esp + 0x10]
add ebp, 4
mov dword [esp + 0x10], ebp
sub esi, 1
jne 0x46c5fa
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x18]
jmp 0x46c6e9
mov edx, dword [esp + 0x10]
mov al, byte [edx + 3]
cmp al, 0xff
jae 0x46c6dd
movzx ecx, al
movzx eax, byte [edx]
imul ecx, eax
shr ecx, 8
mov byte [edx], cl
mov edx, dword [esp + 0x10]
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
imul ecx, eax
shr ecx, 8
mov byte [edx + 1], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
imul ecx, eax
shr ecx, 8
mov byte [edx + 2], cl
mov edx, dword [esp + 0x10]
add edx, 4
mov dword [esp + 0x10], edx
sub esi, 1
jne 0x46c69a
pop esi
test ebx, ebx
jne 0x46c6f5
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop ebx
mov eax, ebp
pop ebp
add esp, 0x50
ret 0xc
Function at 0x46d890
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x46d8c8
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x46d8c3
xor eax, eax
cmp dword [esp + 0xc], esi
pop edi
sete al
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
push esi
push dword [esp + 0x14]
push eax
call fcn.00449c90
add dword [edi + 8], esi
add esp, 0xc
mov eax, 1
pop edi
pop esi
ret
Function at 0x471605
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push dword [0x59c270]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x471666
push esi
push dword [0x59c26c]
push 8
push dword [0x599ff8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
push edi
push dword [0x59c270]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [0x59c268]
jmp 0x471656
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x471654
mov eax, dword [esi + 8]
add eax, edi
push eax
call ecx
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x471644
push edi
push 0x4715a3
call fcn.004f0841
pop esi
mov eax, dword [esp + 8]
add eax, edi
pop edi
ret 4

Function at 0x471670
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ecx, edi
and ecx, 3
je 0x471686
push 4
pop eax
sub eax, ecx
add edi, eax
mov esi, dword [0x59c26c]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
jne 0x4716bf
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push edi
push 8
push dword [0x599ff8]
mov dword [0x59c270], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push dword [0x59c270]
call ebx
mov esi, dword [0x59c26c]
lea eax, [edi + esi]
push eax
push dword [0x59c270]
mov dword [0x59c26c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
push 8
push dword [0x599ff8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ebp, eax
push ebp
push dword [0x59c270]
call ebx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test edi, edi
jne 0x4716fe
test ebx, ebx
je 0x47171f
push 0x14
push 0x59c268
call fcn.00471fa1
pop ecx
pop ecx
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
test edi, edi
je 0x47171f
lea ecx, [esi + ebp]
push ecx
call edi
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x4720a0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x594150]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [esp + 0x18]
mov edi, eax
mov ebp, dword [esp + 0x14]
mov esi, dword [edi + 8]
mov ecx, dword [ebp]
sub esi, ebx
lea eax, [esi + 0xa]
push eax
test ecx, ecx
jne 0x4720d9
push ecx
push dword [0x59cbf8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x4720e8
push ecx
push 0
push dword [0x59cbf8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, eax
shr esi, 1
mov dword [ebp], ecx
mov eax, dword [edi]
push esi
add eax, ebx
push eax
push ecx
call fcn.00472440
mov dword [edi + 8], ebx
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x472200
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x594150]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
add dword [eax + 8], 2
ret

Function at 0x472220
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x594150]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov eax, ecx
ret
Function at 0x472320
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x594150]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [esp + 0x18]
mov esi, eax
cmp ebx, 0xffffffff
jne 0x47233e
mov ebx, dword [esi + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
lea ebp, [eax + eax]
add ecx, ebp
lea eax, [edx - 4]
cmp ecx, eax
jl 0x472362
lea eax, [ecx + 0x4000]
mov dword [esi + 4], eax
add eax, 0xa
jmp 0x47237d
cmp edx, 0x100000
jle 0x472390
cmp ecx, 0x100000
jge 0x472377
mov ecx, 0x100000
mov dword [esi + 4], ecx
lea eax, [ecx + 0xa]
push eax
push dword [esi]
push 0
push dword [0x59cbf8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [esi], eax
lea eax, [ebx + ebp]
mov dword [esi + 8], eax
mov eax, dword [esi]
pop edi
pop esi
pop ebp
add eax, ebx
pop ebx
ret 8

Function at 0x4723b0
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x594150]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 4]
neg ecx
add ecx, ecx
add dword [eax + 8], ecx
ret 4

Function at 0x4723f0
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x594150]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov eax, dword [esp + 4]
mov edx, dword [ecx]
cmp eax, edx
jb 0x472417
mov ecx, dword [ecx + 8]
add ecx, edx
cmp eax, ecx
ja 0x472417
sub eax, edx
inc eax
ret 4
xor eax, eax
ret 4

Function at 0x472420
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x594150]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
mov eax, dword [esp + 4]
dec eax
add eax, ecx
ret 4

Function at 0x472480
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x594150]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax]
add eax, dword [esp + 4]
ret 4

Function at 0x472610
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x594150]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 4]
mov dword [eax + 8], ecx
mov eax, dword [eax]
add eax, ecx
ret 4
Function at 0x47ade0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
cmp dword [esp + 0x1c], 0
jle 0x47aed3
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov ecx, dword [eax + 8]
mov ebx, ecx
add ebx, dword [eax]
mov edx, dword [eax + 0xc]
mov esi, edx
mov edi, dword [eax + 4]
adc edi, edx
mov dword [esp + 0x18], ebx
shld edx, ecx, 0xd
shr esi, 0x13
xor ebp, ebp
shl ecx, 0xd
or ebp, edx
mov edx, dword [eax + 0x1c]
or esi, ecx
mov ecx, dword [eax + 0x18]
xor esi, ebx
xor ebp, edi
mov dword [esp + 0x14], esi
mov esi, ecx
mov dword [esp + 0x20], ebp
add esi, dword [eax + 0x10]
mov ebp, edx
mov ebx, edx
mov dword [esp + 0x10], edi
adc ebp, dword [eax + 0x14]
xor edi, edi
shld edx, ecx, 0x10
shr ebx, 0x10
shl ecx, 0x10
or edi, edx
or ebx, ecx
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x10]
xor ebx, esi
xor edi, ebp
xor esi, esi
or esi, dword [esp + 0x18]
mov edx, edi
add ecx, ebx
mov dword [esp + 0x10], ecx
adc esi, edi
mov dword [eax], ecx
shld edi, ebx, 0x15
xor ecx, ecx
shr edx, 0xb
or ecx, edi
shl ebx, 0x15
mov edi, dword [esp + 0x14]
or edx, ebx
xor edx, dword [esp + 0x10]
xor ecx, esi
add edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [eax + 4], esi
mov esi, ebx
adc esi, ebp
mov dword [eax + 0x18], edx
mov ebp, dword [esp + 0x14]
mov edx, ebx
mov dword [eax + 0x1c], ecx
xor ecx, ecx
shld ebx, ebp, 0x11
shr edx, 0xf
or ecx, ebx
shl ebp, 0x11
xor ecx, esi
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], ecx
or edx, ebp
xor ecx, ecx
xor edx, edi
or ecx, edi
mov dword [eax + 8], edx
sub dword [esp + 0x2c], 1
mov dword [eax + 0x14], ecx
jne 0x47adf6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x47b050
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x1ec], 0
jne 0x47b0ec
push esi
xor esi, esi
nop dword [eax + eax]
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x47b0b6
mov edx, dword [esp + 0x14]
xor ecx, ecx
nop
cmp esi, 4
jae 0x47b0ab
mov eax, edx
shr eax, cl
add ecx, 8
mov byte [esp + esi + 8], al
inc esi
cmp ecx, 0x20
jb 0x47b090
cmp esi, 4
jb 0x47b070
push dword [esp + 8]
push str.rand_s
jmp 0x47b0dd
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [esp + 8]
xor esi, dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, esi
imul eax, eax, 0x7fffffff
push eax
push str.fallback_4_
call fcn.00472630
add esp, 8
mov dword [edi + 0x1ec], eax
pop esi
cmp byte [edi + 0xe8], 0
je 0x47b108
push str.xmlhttp:__www.w3.org_XML_1998_namespace
push edi
call fcn.0047a680
add esp, 8
pop edi
add esp, 8
ret
mov al, 1
pop edi
add esp, 8
ret
Function at 0x48cd7c
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
push esi
push dword [ebp + 0xc]
push dword [edi + 4]
call sub.IMM32.dll_ImmGetCompositionStringW
mov ebx, eax
cdq
sub eax, edx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
sar eax, 1
push eax
call fcn.0048a36a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x48cdb1
mov eax, dword [esi]
push ebx
push eax
push dword [ebp + 0xc]
push dword [edi + 4]
call sub.IMM32.dll_ImmGetCompositionStringW
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x48d32e
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov eax, 0x54264c
call fcn.004f12f4
sub esp, 0x64
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x2b8]
push eax
mov dword [ebp - 0x24], eax
call sub.IMM32.dll_ImmGetContext
mov esi, eax
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
test esi, esi
je 0x48d62c
mov ecx, dword [edi + 0x2ac]
add ecx, 0x10
call fcn.0049f34d
test al, al
jne 0x48d613
mov ecx, edi
call fcn.004b0c1c
test al, al
jne 0x48d613
mov ecx, dword [edi + 0x2ac]
mov byte [ebp - 0xd], al
lea ecx, [ecx + 0x10]
call fcn.0049fca6
test al, al
je 0x48d3a6
mov ecx, dword [edi + 0x2ac]
call fcn.004c7dcb
jmp 0x48d3aa
mov byte [ebp - 0xd], 1
mov eax, dword [ebp + 0xc]
mov ecx, 0x800
mov byte [edi + 0x4da], 0
xchg edx, ebx
add al, 0
add byte [eax], al
push 0
push 4
push 0x15
push esi
call sub.IMM32.dll_ImmNotifyIME
Function at 0x48da26
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov eax, 0x542696
call fcn.004f12f4
sub esp, 0x60
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004a80c6
mov ecx, dword [edi + 0x2ac]
push eax
mov dword [ebp - 0x1c], eax
call fcn.004c76a3
mov edx, dword [edi + 0x2ac]
mov esi, eax
add edx, 4
push esi
push edx
mov ecx, dword [edx]
call dword [ecx + 0x18]
mov edx, dword [edi + 0x2ac]
add edx, 4
mov dword [ebp - 0x14], eax
push esi
push edx
mov ecx, dword [edx]
call dword [ecx + 0x54]
mov ecx, edi
mov esi, eax
call fcn.0048b5a8
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, edi
lea eax, [ebp - 0x54]
push eax
call fcn.004afe84
and dword [ebp - 4], 0
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x48da9c
mov ecx, dword [eax]
push dword [ebp - 0x18]
push dword [eax + 0x10]
lea eax, [ebp - 0x3c]
push ecx
push eax
call fcn.0048fea6
add esp, 0x10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00490f11
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp + 8]
lea edx, [eax + eax]
mov dword [ebp - 0x18], edx
lea esi, [edx + 0x22]
test edi, edi
je 0x48db90
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push edx
cmovae eax, dword [ebp - 0x3c]
lea ecx, [edi + 0x20]
push eax
push ecx
call fcn.00449c90
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [eax + 0x2b8]
push eax
mov dword [ebp - 0x24], eax
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
test eax, eax
jne 0x48db0f
xor esi, esi
jmp 0x48db90
push 8
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0048cd7c
lea ecx, [ebp - 0x6c]
mov esi, dword [eax + 0x10]
call fcn.00490f37
push 0
push 0
push pe_nt_image_headers32
push dword [ebp - 0x20]
call sub.IMM32.dll_ImmGetCompositionStringW
neg eax
push eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov ecx, dword [eax + 0x2ac]
call fcn.004c5d00
push eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax + 0x2ac]
call fcn.004c3fdf
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x20]
and dword [edi + 4], 0
push dword [ebp - 0x24]
mov dword [edi + 0x10], esi
mov dword [edi + 0x18], esi
mov esi, dword [ebp - 0x18]
mov dword [edi + 8], ecx
add esi, 0x22
lea ecx, [eax + eax]
mov dword [edi + 0xc], 0x20
mov dword [edi + 0x14], ecx
mov dword [edi + 0x1c], ecx
call sub.IMM32.dll_ImmReleaseContext
lea ecx, [ebp - 0x3c]
call fcn.00490f37
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x48eb44
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [esp + 4]
mov ecx, edx
cwde
shr eax, 0x1f
add eax, eax
shr ecx, 3
and ecx, 1
shr edx, 2
or eax, ecx
and edx, 1
add eax, eax
or eax, edx
ret

Function at 0x48edd4
Capabilities:
Open clipboard

Disassembly:
push esi
xor esi, esi
test esi, esi
jle 0x48edea
xor eax, eax
lea ecx, [esi - 1]
inc eax
shl eax, cl
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x48ee02
inc esi
cmp esi, 8
jl 0x48edd7
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x48efa7
Capabilities:
Read clipboard data

Disassembly:
mov eax, 0x5427ab
call fcn.004f12f4
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x2b8]
call fcn.0048edd4
pop ecx
test al, al
je 0x48f123
mov eax, dword [esi + 0x2ac]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x20], cl
mov dword [ebp - 0x24], eax
lea ecx, [eax + 0x10]
call fcn.0049e82c
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call fcn.004b0c8a
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test al, al
je 0x48f011
movzx eax, word [esi + 0x86a]
push eax
call edi
test eax, eax
jne 0x48f00e
movzx eax, word [esi + 0x86c]
push eax
call edi
test eax, eax
je 0x48f011
push 2
pop ebx
cmp dword [esi + 0x53c], 1
mov ecx, esi
sete al
movzx eax, al
push eax
call fcn.004a78ae
movzx eax, word [esi + 0x866]
push eax
call edi
test eax, eax
setne byte [ebp - 0xd]
test eax, eax
jne 0x48f083
movzx eax, word [esi + 0x868]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x48f083
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48f083
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x48f077
mov eax, dword [ebp - 0x14]
cmp byte [eax], 2
jne 0x48f077
mov byte [ebp - 0xd], cl
jmp 0x48f07c
xor eax, eax
mov byte [ebp - 0xd], al
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp byte [ebp - 0xd], 0
push 1
pop eax
push 0xd
cmovne ebx, eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x48f104
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x48f104
push ecx
push ecx
mov edx, esp
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
mov dword [edx], ecx
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x18]
jne 0x48f0b4
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, esi
push eax
call fcn.0048c3bb
xor eax, eax
mov ecx, esi
inc eax
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], al
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ebx
push dword [ebp - 0x2c]
push eax
call fcn.004ab518
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], al
call fcn.00490f11
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
mov dword [ebp - 4], 2
call fcn.0049ec72
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x495009
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x542a8c
call fcn.004f12f4
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.Scintilla::Internal::ListBoxX.0
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.004d4fef
mov ecx, dword [ebp - 0xc]
xorps xmm0, xmm0
mov dword [esi + 0x28], ebx
mov eax, esi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x48], 9
mov dword [esi + 0x50], 8
mov dword [esi + 0x5c], 0x60
mov dword [esi + 0x68], 1
movups xmmword [esi + 0x70], xmm0
movups xmmword [esi + 0x80], xmm0
movups xmmword [esi + 0x90], xmm0
movups xmmword [esi + 0xa0], xmm0
mov dword [esi + 0xb0], ebx
mov byte [esi + 0xb8], bl
mov byte [esi + 0xc0], bl
mov byte [esi + 0xc8], bl
mov byte [esi + 0xd0], bl
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], 0x40000
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x49524c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542aca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
movd xmm0, dword [ebp + 0xc]
xor eax, eax
movd xmm1, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
lea ecx, [ebp - 0x24]
cvtdq2ps xmm0, xmm0
push ecx
push esi
mov dword [edi + 4], vtable.Scintilla::Internal::SurfaceD2D.1.0
lea ebx, [edi + 0x14]
mov dword [edi + 8], eax
mov byte [edi + 0xc], al
mov dword [edi + 0x10], eax
mov dword [ebx], eax
mov byte [edi + 0x18], al
mov dword [edi + 0x28], 0x60
cvtdq2ps xmm1, xmm1
mov dword [edi], vtable.Scintilla::Internal::SurfaceD2D.0
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0xf
mov dword [edi + 0x2c], 1
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov eax, dword [esi]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
call dword [eax + 0xc8]
push ebx
push 0
mov ecx, dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 3
push ecx
push esi
call dword [eax + 0x30]
test eax, eax
js 0x495317
mov eax, dword [ebx]
mov ecx, edi
push eax
mov dword [edi + 0x10], eax
call fcn.0049b2a9
mov eax, dword [edi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov byte [edi + 0x18], 1
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x28], eax
mov eax, edi
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x4bc30f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x543e68
call fcn.004f12f4
sub esp, 0x14
push ebx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x10], ebx
push esi
push edi
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebp - 4], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
or dword [ebx + 0x18], 0xffffffff
lea esi, [ebp - 0x20]
sub esp, 0x10
mov dword [ebp - 0x20], eax
mov edi, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x1c], eax
or dword [ebx + 0x20], 0xffffffff
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x24], eax
mov byte [ebp - 4], 1
mov dword [ebx + 0x28], eax
movsd dword es:[edi], dword [esi]
mov word [ebx + 0x2c], ax
mov dword [ebx + 0x30], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004bc417
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret