joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4538b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x26c]
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov bl, cl
mov edx, 0x595ca0
lea eax, [ebp - 0x268]
call fcn.0040e690
xor eax, eax
push fcn.00453890
push ebp
push 0x414b60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4538f3
mov eax, 0x5dd2f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x45393b
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x45390f
clc
jmp 0x453916
bt dword [0x595270], eax
jb 0x45392f
mov eax, ebp
call fcn.004539e0
test al, al
je 0x45392f
mov byte [ebp - 0x26c], 1
jmp 0x4539c0
mov byte [ebp - 0x26c], 0
jmp 0x4539c0
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x56de80]
sete byte [ebp - 0x26c]
mov al, bl
and al, byte [ebp - 0x26c]
je 0x4539c0
and esi, 0x400
je 0x4539c0
lea ebx, [ebp - 0x268]
mov edx, 0x595ca0
mov eax, ebx
call fcn.0040e750
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.00453550
test eax, eax
je 0x453994
sub eax, 1
je 0x4539ac
jmp 0x4539b8
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.004538b0
mov byte [ebp - 0x26c], al
jmp 0x4539c0
mov byte [ebp - 0x26c], 1
jmp 0x4539c0
mov byte [ebp - 0x26c], 0
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00453890
mov al, byte [ebp - 0x26c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453bd0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x453bdc
mov eax, 0x5dd2f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esp, ebp
pop ebp
ret

Function at 0x453ca0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
push fcn.00453c90
push ebp
push 0x414b60
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x453d10
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040b620
cmp ebx, 1
jle 0x453d00
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040add0
jmp 0x453d1b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00408a30
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00453c90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x454120
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00454110
push ebp
push 0x414b60
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x629f7c]
xor edx, edx
call fcn.00408a30
mov dword [ebx*4 + 0x629f9c], 0xffffffff
cmp ebx, 7
jl 0x454148
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4541d4
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00409420
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0044a660
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x4541d4
push 4
push ebx
push esi
mov eax, 0x453ff0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x454080
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00454110
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454820
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor edx, edx
push fcn.004547f0
push ebp
push 0x414b60
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
call fcn.00449e20
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00408a30
lea eax, [ebp - 4]
mov cl, 1
mov dx, 1
call fcn.0040a080
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00408a30
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x1c], eax
mov ebx, eax
jmp 0x45492c
lea ecx, [ebp - 8]
mov eax, ebx
xor dx, dx
call fcn.00409380
mov eax, dword [ebp - 8]
test eax, eax
je 0x4548b7
mov eax, dword [eax - 4]
mov edi, eax
lea eax, [ebp - 8]
xor cl, cl
mov dx, 1
call fcn.0040a080
mov edx, dword [ebp - 8]
mov ecx, 1
mov al, 0x3d
call fcn.004099b0
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi - 1]
mov eax, dword [ebp - 8]
mov edx, 1
call fcn.00409850
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00449e20
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004095f0
test eax, eax
jne 0x454924
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
test eax, eax
je 0x454913
mov eax, dword [eax - 4]
sub eax, esi
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.00409850
jmp 0x454935
lea eax, [ebx + edi]
add eax, 1
mov ebx, eax
cmp byte [ebx], 0
jne 0x4548a0
push dword [ebp - 0x1c]
call sub.kernel32.dll_FreeEnvironmentStringsA
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004547f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454990
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00454960
push ebp
push 0x414b60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040af80
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004502d0
jmp 0x454a68
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040af30
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040ba00
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040b7a0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004502d0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040b5e0
test eax, eax
jne 0x454a58
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x454a46
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040b7a0
jmp 0x454a6f
mov eax, esi
call fcn.00404810
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x4549f0
push edi
call sub.kernel32.dll_FreeEnvironmentStringsW
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00454960
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454aa0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x629fe0], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x629e40], eax
mov eax, dword [ebp - 0x90]
mov dword [0x629e50], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x629e60], eax
mov eax, dword [ebp - 0x88]
mov dword [0x629e70], eax
mov edx, 0x629e81
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00403690
lea eax, [ebp - 0x80]
call fcn.004047f0
mov byte [0x629e80], al
mov eax, 0x595340
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x629ff0], eax
test eax, eax
je 0x454b40
mov eax, 0x59534c
push eax
push dword [0x629ff0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x629fe0], eax
nop
cmp dword [0x629e50], 6
jae 0x454b54
mov dword [0x56d740], 0
nop
cmp dword [0x629e50], 6
jb 0x454b70
cmp dword [0x629e60], 1
jb 0x454b70
mov dword [0x56d750], 2
mov esp, ebp
pop ebp
ret

Function at 0x4743c0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.004743b0
push ebp
push 0x414b60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc]
call fcn.0040ae40
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4743fb
mov eax, 0x5dd2f0
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
or eax, eax
setne al
mov byte [ebp - 8], al
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004743b0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4912b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x4912e4
mov edi, 0xffffffff
nop
add edi, 1
mov cl, al
xor cl, byte [edx]
and ecx, 0xff
mov ebx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x62a5f0]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x4912c0
pop edi
pop esi
pop ebx
ret

Function at 0x4b0760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov edx, eax
xor eax, eax
lea ebx, [edx + 1]
movzx ecx, byte [edx]
add ecx, 1
and ecx, 0xff
add edx, ecx
jmp 0x4b0791
mov ecx, eax
shl ecx, 5
sub ecx, eax
movzx esi, byte [ebx]
xor ecx, esi
mov eax, ecx
add ebx, 1
cmp edx, ebx
ja 0x4b0780
pop esi
pop ebx
ret

Function at 0x4b1f70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, 1
jne 0x4b1f94
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
call dword [edx + 0x34]
mov dword [ebp - 8], eax
lea esi, [esi]
cmp dword [ebp - 8], 0
je 0x4b205a
mov esi, esi
xor eax, eax
push 0x4b203b
push ebp
push 0x414ee0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040cf80
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0xe], 0
mov edx, 1
mov eax, 0x58fec0
call fcn.0043aa20
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004b21f0
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004b2260
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004b22d0
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4b2030
cmp dword [ebp - 4], 0
je 0x4b2030
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x44]
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4b205a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bac20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x4bac3b
jmp 0x4bac48
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x4bac50
jmp 0x4bac58
jmp 0x4bad06
xor eax, eax
push 0x4bace3
push ebp
push 0x414ee0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x4bac8e
jmp 0x4bacb4
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_SizeofResource
mov ebx, eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00438b80
mov esi, esi
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x4bacc3
jmp 0x4bacd8
cmp dword [ebp - 8], 0
jne 0x4baccb
jmp 0x4bacd8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4bad06
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4bca70
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4bcaa4
mov eax, esi
call fcn.004c0ff0
cmp byte [esi + 0x40], 0
je 0x4bca9c
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4bcb55
mov dword [esi + 0x14], 0xcb
nop
cmp dword [esi + 0x14], 0xcb
jne 0x4bcb34
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4bcb2c
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4bcad8
mov eax, esi
mov edx, dword [esi + 8]
call dword [edx]
lea esi, [esi]
mov eax, esi
mov edx, dword [esi + 0x184]
call dword [edx]
mov edi, eax
test edi, edi
jne 0x4bcaf0
xor bl, bl
jmp 0x4bcb55
cmp edi, 2
je 0x4bcb2a
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4bcac8
cmp edi, 3
je 0x4bcb08
cmp edi, 1
jne 0x4bcac8
mov eax, dword [esi + 8]
add dword [eax + 4], 1
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4bcac8
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
mov esi, esi
jmp 0x4bcac8
mov esi, esi
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4bcb4c
cmp dword [esi + 0x14], 0xcc
je 0x4bcb4c
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004bce90
lea esi, [esi]
mov eax, esi
call fcn.004bcb60
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
ret
Function at 0x4d9980
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4d9996
jmp 0x4d99d0
mov eax, dword [0x56d110]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x170]
cmp eax, dword [edx + 0x24]
je 0x4d99ab
jmp 0x4d99d0
mov eax, dword [0x56d110]
cmp byte [eax + 0x11c], 0
je 0x4d99bb
jmp 0x4d99d0
mov eax, dword [0x56d4f0]
mov edx, dword [0x56d4f0]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, dword [0x56d4f0]
mov edx, dword [0x56d4f0]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx]
je 0x4d99ec
jmp 0x4d9aca
mov eax, dword [0x56d110]
cmp byte [eax + 0x11c], 0
je 0x4d99ff
jmp 0x4d9aca
mov eax, dword [0x56d4f0]
mov edx, dword [0x56d4f0]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.00550750
mov eax, dword [0x56d110]
cmp dword [eax + 0x170], 0
jne 0x4d9a24
jmp 0x4d9a90
push 0x10
push 0
mov eax, dword [0x56d110]
mov eax, dword [eax + 0x170]
push dword [eax + 0x254]
mov eax, dword [0x56d110]
mov eax, dword [eax + 0x170]
push dword [eax + 0x248]
mov eax, dword [0x56d110]
mov eax, dword [eax + 0x170]
push dword [eax + 0x12c]
push 0
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x56d110]
mov eax, dword [eax + 0x170]
call fcn.004fb080
test al, al
jne 0x4d9a7d
jmp 0x4d9a90
push 0
mov eax, dword [0x56d110]
call fcn.00424c80
push eax
call sub.user32.dll_ShowWindow
nop
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x56d110]
call fcn.004281c0
jmp 0x4d9b68
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4d9ad5
jmp 0x4d9b22
mov eax, dword [ebp - 4]
mov edx, dword [0x56d110]
mov eax, dword [eax + 0x24]
cmp eax, dword [edx + 0x170]
je 0x4d9aeb
jmp 0x4d9b22
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x56d110]
call fcn.004281c0
jmp 0x4d9b68
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4d9b2d
jmp 0x4d9b68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
test dword [eax + 0x48c], 8
jne 0x4d9b41
jmp 0x4d9b68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x56d4f0]
mov edx, dword [0x56d4f0]
mov edx, dword [edx]
call dword [edx + 0x8c]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e0830
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov byte [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push dword [eax - 8]
call sub.user32.dll_GetClipboardData
mov edx, dword [ebp - 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x14], 0
jne 0x4e085e
jmp 0x4e08cc
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalSize
mov edx, dword [ebp - 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x1c], 0
jg 0x4e087a
jmp 0x4e08cc
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalLock
mov edx, dword [ebp - 8]
mov dword [edx - 0x18], eax
xor eax, eax
push fcn.004e0810
push ebp
push 0x414b60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x84]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004e0810
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e0fd0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x2c]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.004e0fb0
push ebp
push 0x414b60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4e1023
jmp 0x4e10a0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.0046ba70
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
call fcn.0046b9c0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
call fcn.0046c180
mov ebx, eax
mov eax, str._DataSize
push eax
push dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov eax, ebx
call fcn.0046d630
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x4e10f7
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.004e0f90
push ebp
push 0x414b60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
call dword [ebx + pe_nt_image_headers32]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004e0f90
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004e0fb0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50c700
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x50c71b
jmp 0x50c728
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x50c730
jmp 0x50c738
jmp 0x50c7ea
xor eax, eax
push 0x50c7c7
push ebp
push 0x414ee0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov edx, 0
call fcn.0040cf80
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x50c7a9
jmp 0x50c7bc
cmp dword [ebp - 8], 0
jne 0x50c7b1
jmp 0x50c7bc
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x50c7ea
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x550ba0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.00550b80
push ebp
push 0x414b60
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040a7b0
cmp dword [ebp - 0xc], 0
jg 0x550bec
jmp 0x550c0c
mov eax, dword [ebp - 0xc]
lea eax, [eax + 1]
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x550bff
mov eax, 0x5dd2f0
push eax
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextW
mov dword [ebp - 0xc], eax
nop
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040a7b0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
call fcn.0040aef0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x550c35
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x550c41
mov eax, 0x5dd2f0
call fcn.004311d0
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00550b80
mov esp, ebp
pop ebp
ret