joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444490
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc20]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc10], 0
xor eax, eax
push fcn.00444480
push ebp
push 0x414010
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc10]
call fcn.00408960
lea eax, [ebp - 0xc10]
call fcn.00403ae0
lea eax, [ebp - 0xc1c]
push eax
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x4444f0
mov eax, 0x5d32f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc18], eax
cmp eax, 0xc00
jbe 0x44459a
mov edx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc0c]
call fcn.0040f7c0
xor eax, eax
push fcn.00444470
push ebp
push 0x414010
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0xc0c]
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x44454c
mov eax, 0x5d32f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x444588
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x58d59c
push eax
push dword [ebp - 0xc0c]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x444588
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00444470
jmp 0x4445f8
lea eax, [ebp - 0xc08]
push eax
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x4445bc
mov eax, 0x5d32f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4445f8
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x58d59c
push eax
lea eax, [ebp - 0xc08]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4445f8
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00444480
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x44f8e0
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, 0x58e4a0
lea eax, [ebp - 0x268]
call fcn.0040e570
xor eax, eax
push fcn.0044f8c0
push ebp
push 0x414010
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x44f923
mov eax, 0x5d32f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x44f96b
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x44f93f
clc
jmp 0x44f946
bt dword [0x58da70], eax
jb 0x44f95f
mov eax, ebp
call fcn.0044fa10
test al, al
je 0x44f95f
mov byte [ebp - 0x26c], 1
jmp 0x44f9f0
mov byte [ebp - 0x26c], 0
jmp 0x44f9f0
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x566e30]
sete byte [ebp - 0x26c]
mov al, bl
and al, byte [ebp - 0x26c]
je 0x44f9f0
and esi, 0x400
je 0x44f9f0
lea ebx, [ebp - 0x268]
mov edx, 0x58e4a0
mov eax, ebx
call fcn.0040e630
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.0044f580
test eax, eax
je 0x44f9c4
sub eax, 1
je 0x44f9dc
jmp 0x44f9e8
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.0044f8e0
mov byte [ebp - 0x26c], al
jmp 0x44f9f0
mov byte [ebp - 0x26c], 1
jmp 0x44f9f0
mov byte [ebp - 0x26c], 0
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0044f8c0
mov al, byte [ebp - 0x26c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44fc00
Capabilities:
Get file attributes

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

Function at 0x44fc20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edx
test eax, eax
jne 0x44fc2e
mov eax, 0x5d32f0
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
je 0x44fc3c
xor ebx, ebx
jmp 0x44fc43
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44fce0
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.0044fcd0
push ebp
push 0x414010
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 0x44fd50
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040b550
cmp ebx, 1
jle 0x44fd40
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.0040ad00
jmp 0x44fd5b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00408960
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0044fcd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x450160
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.00450150
push ebp
push 0x414010
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x5d4b8c]
xor edx, edx
call fcn.00408960
mov dword [ebx*4 + 0x5d4bac], 0xffffffff
cmp ebx, 7
jl 0x450188
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 0x450214
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00409350
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.00446420
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x450214
push 4
push ebx
push esi
mov eax, 0x450030
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x4500c0
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.00450150
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450860
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.00450830
push ebp
push 0x414010
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040aeb0
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0044c1e0
jmp 0x450938
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040ae60
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040b930
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040b6d0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0044c1e0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040b510
test eax, eax
jne 0x450928
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x450916
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040b6d0
jmp 0x45093f
mov eax, esi
call fcn.00404740
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x4508c0
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.00450830
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450970
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x5d4bf0], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x5d4a50], eax
mov eax, dword [ebp - 0x90]
mov dword [0x5d4a60], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x5d4a70], eax
mov eax, dword [ebp - 0x88]
mov dword [0x5d4a80], eax
mov edx, 0x5d4a91
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.004035c0
lea eax, [ebp - 0x80]
call fcn.00404720
mov byte [0x5d4a90], al
mov eax, 0x58db40
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x5d4c00], eax
test eax, eax
je 0x450a10
mov eax, 0x58db4c
push eax
push dword [0x5d4c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5d4bf0], eax
nop
cmp dword [0x5d4a60], 6
jae 0x450a24
mov dword [0x5666f0], 0
nop
cmp dword [0x5d4a60], 6
jb 0x450a40
cmp dword [0x5d4a70], 1
jb 0x450a40
mov dword [0x566700], 2
mov esp, ebp
pop ebp
ret
Function at 0x48cf20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x48cf54
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 + 0x5d5200]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x48cf30
pop edi
pop esi
pop ebx
ret

Function at 0x4ac290
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 0x4ac2c1
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 0x4ac2b0
pop esi
pop ebx
ret

Function at 0x4adaa0
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 0x4adac4
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 0x4adb8a
mov esi, esi
xor eax, eax
push 0x4adb6b
push ebp
push 0x414390
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040ce60
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, 0x5886d8
call fcn.004364f0
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004add20
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004add90
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004ade00
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4adb60
cmp dword [ebp - 4], 0
je 0x4adb60
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 0x4adb8a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b6750
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 0x4b676b
jmp 0x4b6778
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 0x4b6780
jmp 0x4b6788
jmp 0x4b6836
xor eax, eax
push 0x4b6813
push ebp
push 0x414390
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 0x4b67be
jmp 0x4b67e4
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.00434650
mov esi, esi
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x4b67f3
jmp 0x4b6808
cmp dword [ebp - 8], 0
jne 0x4b67fb
jmp 0x4b6808
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 0x4b6836
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b85a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4b85d4
mov eax, esi
call fcn.004bcb20
cmp byte [esi + 0x40], 0
je 0x4b85cc
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4b8685
mov dword [esi + 0x14], 0xcb
nop
cmp dword [esi + 0x14], 0xcb
jne 0x4b8664
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4b865c
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4b8608
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 0x4b8620
xor bl, bl
jmp 0x4b8685
cmp edi, 2
je 0x4b865a
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4b85f8
cmp edi, 3
je 0x4b8638
cmp edi, 1
jne 0x4b85f8
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 0x4b85f8
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
mov esi, esi
jmp 0x4b85f8
mov esi, esi
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4b867c
cmp dword [esi + 0x14], 0xcc
je 0x4b867c
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004b89c0
lea esi, [esi]
mov eax, esi
call fcn.004b8690
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
ret
Function at 0x4d5450
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 0x4d5466
jmp 0x4d54a0
mov eax, dword [0x5660c0]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x170]
cmp eax, dword [edx + 0x24]
je 0x4d547b
jmp 0x4d54a0
mov eax, dword [0x5660c0]
cmp byte [eax + 0x11c], 0
je 0x4d548b
jmp 0x4d54a0
mov eax, dword [0x5664a0]
mov edx, dword [0x5664a0]
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 [0x5664a0]
mov edx, dword [0x5664a0]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx]
je 0x4d54bc
jmp 0x4d559a
mov eax, dword [0x5660c0]
cmp byte [eax + 0x11c], 0
je 0x4d54cf
jmp 0x4d559a
mov eax, dword [0x5664a0]
mov edx, dword [0x5664a0]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.0054a8e0
mov eax, dword [0x5660c0]
cmp dword [eax + 0x170], 0
jne 0x4d54f4
jmp 0x4d5560
push 0x10
push 0
mov eax, dword [0x5660c0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x254]
mov eax, dword [0x5660c0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x248]
mov eax, dword [0x5660c0]
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 [0x5660c0]
mov eax, dword [eax + 0x170]
call fcn.004f6b30
test al, al
jne 0x4d554d
jmp 0x4d5560
push 0
mov eax, dword [0x5660c0]
call fcn.00421120
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 [0x5660c0]
call fcn.00424660
jmp 0x4d5638
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4d55a5
jmp 0x4d55f2
mov eax, dword [ebp - 4]
mov edx, dword [0x5660c0]
mov eax, dword [eax + 0x24]
cmp eax, dword [edx + 0x170]
je 0x4d55bb
jmp 0x4d55f2
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 [0x5660c0]
call fcn.00424660
jmp 0x4d5638
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4d55fd
jmp 0x4d5638
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
test dword [eax + 0x48c], 8
jne 0x4d5611
jmp 0x4d5638
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 [0x5664a0]
mov edx, dword [0x5664a0]
mov edx, dword [edx]
call dword [edx + 0x8c]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dc2e0
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 0x4dc30e
jmp 0x4dc37c
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 0x4dc32a
jmp 0x4dc37c
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.004dc2c0
push ebp
push 0x414010
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.004dc2c0
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dca80
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.004dca60
push ebp
push 0x414010
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 0x4dcad3
jmp 0x4dcb50
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.00467940
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
call fcn.00467890
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
call fcn.00468050
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.00469500
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x4dcba7
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.004dca40
push ebp
push 0x414010
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.004dca40
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.004dca60
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5081b0
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 0x5081cb
jmp 0x5081d8
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 0x5081e0
jmp 0x5081e8
jmp 0x50829a
xor eax, eax
push 0x508277
push ebp
push 0x414390
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov edx, 0
call fcn.0040ce60
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 0x508259
jmp 0x50826c
cmp dword [ebp - 8], 0
jne 0x508261
jmp 0x50826c
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 0x50829a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54ad30
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.0054ad10
push ebp
push 0x414010
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.0040a6e0
cmp dword [ebp - 0xc], 0
jg 0x54ad7c
jmp 0x54ad9c
mov eax, dword [ebp - 0xc]
lea eax, [eax + 1]
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x54ad8f
mov eax, 0x5d32f0
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.0040a6e0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
call fcn.0040ae20
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x54adc5
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x54add1
mov eax, 0x5d32f0
call fcn.0042c7b0
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0054ad10
mov esp, ebp
pop ebp
ret