joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44185a
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x610f20]
call fcn.004547db
xor ebp, ebp
mov esi, eax
cmp dword [0x60b898], ebp
jne 0x441936
xor ebx, ebx
inc ebx
mov dword [0x60b898], ebx
call fcn.004457fb
mov edi, 0xa4
push edi
push ebp
push 0x60b8a0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x60b8a0], 0x13
lea eax, [esp + 0x10]
mov dword [0x60b8a4], edi
mov dword [0x60b8b0], 0x4417a5
mov dword [0x60b8b4], 0x441af0
push eax
mov dword [0x60b908], 0x441780
mov dword [0x60b90c], 0x441a3b
mov dword [0x60b8ac], 0x44175b
mov dword [0x60b930], 0x4417c0
mov dword [0x60b944], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x441936
cmp dword [esp + 0x20], ebx
je 0x44191e
cmp dword [esp + 0x20], 2
jne 0x441936
cmp dword [esp + 0x14], 5
jae 0x441926
mov dword [0x60b944], ebp
jmp 0x441936
jne 0x441936
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x60b944], eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.0044924e
mov eax, dword [esp + 0x140]
push ebp
push dword [0x60aa44]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebp
push str.BUTTON
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x441a0c
push dword [esp + 0x128]
push dword [0x610f10]
call fcn.0045498b
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x4419db
push edi
call fcn.0044f3a5
test eax, eax
je 0x4419db
push ebp
push ebp
push edi
call fcn.0044efef
mov dword [esi + 0x18], eax
jmp 0x4419de
mov dword [esi + 0x18], ebp
push 0x4414aa
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x60b8a0
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x60b89c], eax
call fcn.004455ff
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c

Function at 0x4420cb
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x610f10]
call fcn.0045494c
mov ebx, eax
test ebx, ebx
je 0x44212f
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4420f4
push dword [esp + 0xc]
push ebx
call eax
jmp 0x44212f
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.00455720
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.00455800
pop edi
pop esi
pop ebx
ret 8
Function at 0x4435af
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x610f20]
call fcn.004547db
xor ebx, ebx
mov ebp, eax
cmp dword [0x60bc28], ebx
jne 0x443643
mov esi, 0xa4
push esi
push ebx
push 0x60bc30
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x60bc34], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x60bc30], 0xa
mov dword [0x60bc38], 0x443144
push 0x7f89
push ebx
mov dword [0x60bca8], 0x4457a0
mov dword [0x60bcac], 0x44577a
mov dword [0x60bc3c], 0x443163
mov dword [0x60bcc0], 0x443183
call esi
mov dword [0x60bc28], eax
test eax, eax
jne 0x443643
push 0x7f00
push ebx
call esi
mov dword [0x60bc28], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0044924e
push ebx
push dword [0x60aa44]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40000000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x44370f
push edi
push dword [esp + 0x14]
push dword [0x610f10]
call fcn.0045498b
mov edi, eax
push 8
or dword [edi + 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
push 0
mov dword [edi + 0x14], eax
push dword [0x60aa40]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x60bc30
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.004455ff
push 0x443269
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20
Function at 0x4465e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x446756
mov eax, dword [esp + 0x24]
dec eax
je 0x446739
dec eax
jne 0x446756
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.00446599
pop ecx
test eax, eax
je 0x446697
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x44665a
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x446735
dec ebx
je 0x446731
dec ebx
je 0x446710
dec ebx
je 0x4466ca
sub ebx, 4
jne 0x446756
test edi, edi
jne 0x446756
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x446756
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x44665a
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x446655
sub edi, 0
je 0x446702
dec edi
je 0x4466f4
dec edi
je 0x4466e6
dec edi
jne 0x446756
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x446756
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x446756
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x446756
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x446756
sub edi, 0
je 0x44672d
dec edi
je 0x446729
dec edi
jne 0x446756
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x446756
push 0x3c
jmp 0x446755
push 0x32
jmp 0x446755
push 0x14
jmp 0x446755
push 5
jmp 0x446755
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x446753
cmp eax, 0xa
je 0x44674f
cmp eax, 0x5a
jne 0x446756
push 0x28
jmp 0x446755
push 0x1e
jmp 0x446755
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret
Function at 0x44690c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x610f14]
call fcn.0045494c
mov esi, eax
test esi, esi
je 0x4469e6
cmp dword [ebp + 0xc], 0
je 0x446958
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x446949
cmp dword [esi + 0x1c], 0
jne 0x446949
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4469e6
test byte [ebp + 0x10], 3
je 0x446973
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.00447ccd
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x446998
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x4469ac
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x4469c9
test ebx, ebx
je 0x4469bd
push 8
jmp 0x4469cf
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x4469dc
test ebx, ebx
je 0x4469d2
push 3
pop ecx
jmp 0x4469dc
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x447f40
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x447fd8
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x447fd5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x447fd5
lea eax, [esi - 1]
push eax
push dword [0x610f14]
call fcn.0045494c
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x447fd7
mov edx, dword [edi + 4]
xor ecx, ecx
pop esi
cmp word [ecx + edx + 2], si
jne 0x447fcc
mov esi, 0xfa01
push 9
cmp word [ecx + edx + 4], si
je 0x4480bf
pop esi
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x447fb2
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x44807e
push eax
call esi
test al, al
jns 0x44807e
push 0x11
call esi
test al, al
js 0x44807e
push 0x10
call esi
test al, al
js 0x44807e
push 0x12
call esi
test al, al
js 0x44807e
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x44807e
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x448052
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x448069
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x4480c9
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x4480c9
test ebp, ebp
je 0x4480a2
push 0x11
call esi
test al, al
js 0x44809a
push 0x10
call esi
test al, al
js 0x44809a
push 0x12
call esi
test al, al
jns 0x4480a2
push 1
push ebp
call fcn.004480d5
test ebx, ebx
je 0x4480b6
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x4480c9
test edi, edi
je 0x4480c9
mov eax, dword [edi + 8]
jmp 0x4480cb
and dword [esp + 0x14], 0
jmp 0x447fd7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x449e6b
Capabilities:
Get disk information
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x45c
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x449fb3
xor ecx, ecx
cmp word [eax], cx
je 0x449fb3
push 0x104
push eax
lea eax, [esp + 0x10]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [esp + 0x21c], ax
lea eax, [esp + 0x14]
push eax
call sub.MSVCRT.dll_wcslen
add esp, 0x10
lea ecx, [esp + eax*2 + 6]
cmp eax, 2
je 0x449ec4
cmp eax, 3
jne 0x449efe
cmp word [esp + 0xa], 0x3a
jne 0x449efe
cmp eax, 2
jne 0x449ee2
lea eax, [esp + 8]
push 0x561960
push eax
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x449fb3
push 0xfffffffffffffffe
pop edi
jmp 0x449fb3
push ebx
push ebp
push 0x5c
pop ebp
push 0x2f
pop ebx
movzx eax, word [ecx]
cmp ax, bp
je 0x449f13
cmp ax, bx
jne 0x449f1d
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x449f06
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x449f5c
test byte [esp + 0x21c], 0x10
je 0x449f43
push 0xfffffffffffffffe
pop edi
jmp 0x449f53
mov esi, dword [esp + 0x238]
xor edi, edi
or edi, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x449fb1
cmp word [esp + 0x10], bp
jne 0x449f6a
cmp word [esp + 0x12], bp
je 0x449f89
cmp word [esp + 0x10], bx
jne 0x449f78
cmp word [esp + 0x12], bx
je 0x449f89
push 0x2e
pop eax
cmp word [esp + 0x10], ax
jne 0x449fb1
cmp word [esp + 0x12], ax
jne 0x449fb1
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x449f9e
test al, 0x10
je 0x449fb1
jmp 0x449fae
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x449fb1
push 0xfffffffffffffffe
pop edi
pop ebp
pop ebx
mov eax, edi
mov edx, esi
pop edi
pop esi
add esp, 0x45c
ret 4

Function at 0x44a120
Capabilities:
Set file attributes

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x44a12e
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 8

Function at 0x44a131
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x44a15a
test byte [esp + 8], 2
je 0x44a14e
push pe_nt_image_headers32
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x44a15c
xor eax, eax
ret 8
Function at 0x44a16d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 8], 0
je 0x44a1e5
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcslen
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea eax, [ecx + eax*2]
jmp 0x44a1c6
movzx ecx, word [eax - 2]
cmp ecx, 0x20
je 0x44a1c3
cmp ecx, 0x5c
je 0x44a1c3
cmp ecx, 0x2f
jne 0x44a1d0
add eax, 0xfffffffe
lea ecx, [ebp - 0x20c]
cmp eax, ecx
ja 0x44a1b0
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x44a1e7
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x44a1ed
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x44a2c2
push ebx
push edi
push pe_nt_image_headers32
push 3
push edi
push 3
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44a2c1
push esi
mov esi, dword [ebp + 0x10]
push esi
call fcn.0044adf7
push esi
mov word [ebp - 0x20], ax
call fcn.0044ae1d
push esi
mov word [ebp - 0x1e], ax
call fcn.0044ae3f
push esi
mov word [ebp - 0x1c], ax
call fcn.0044ae60
push esi
mov word [ebp - 0x1a], ax
call fcn.0044ae81
push esi
mov word [ebp - 0x18], ax
call fcn.0044aea2
push esi
mov word [ebp - 0x16], ax
call fcn.0044aec3
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp dword [ebp + 0xc], 1
mov eax, edi
mov ecx, edi
pop esi
jne 0x44a2a0
lea eax, [ebp - 8]
jmp 0x44a2ae
cmp dword [ebp + 0xc], 2
jne 0x44a2ab
lea ecx, [ebp - 8]
jmp 0x44a2ae
lea edi, [ebp - 8]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44bf2b
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor esi, esi
push esi
mov ebx, esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44bf6c
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x44bf64
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x44bf64
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
mov ebx, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x44bf6f
mov edi, dword [ebp + 8]
push dword [ebp + 8]
push ebx
call fcn.00455720
test esi, esi
je 0x44bf97
lea ecx, [ebx*2 + 2]
push ecx
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x44bf9c
xor ecx, ecx
mov word [eax], cx
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x44bfa3
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44c018
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x44bfc1
mov esi, 0x54d0cc
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
lea ebp, [eax*2 + 2]
push ebp
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x44c00f
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44c00f
push ebp
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov edi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
ret 4

Function at 0x44c1a2
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x44cfc7
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov edi, ebx
test esi, esi
je 0x44d024
push esi
call dword [esi + 0x58]
mov ecx, dword [esi + 0x80]
mov edi, eax
mov dword [esi + 0x94], ecx
mov ecx, dword [esi + 0x84]
mov dword [esi + 0x98], ecx
test edi, edi
jne 0x44d024
mov eax, dword [esi + 0x70]
test eax, eax
je 0x44d003
push ebx
push esi
call eax
push esi
push ebx
push dword [0x60aa40]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push dword [0x6114a4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x6114a8], ebx
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x44d043
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x6114a4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 0x90]
add ecx, dword [esp + 8]
push ecx
mov ecx, dword [eax + 0x8c]
add ecx, dword [esp + 8]
push ecx
push eax
call dword [eax + 0x54]
ret 8
Function at 0x44d081
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [0x6114a4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov eax, dword [ebp + 0x14]
cmp eax, dword [esi + 0xac]
je 0x44d0a9
push eax
push esi
mov dword [esi + 0xac], eax
call dword [esi + 0x40]
mov eax, dword [ebp + 0x18]
cmp eax, dword [esi + 0xb0]
je 0x44d0be
push eax
push esi
mov dword [esi + 0xb0], eax
call dword [esi]
push dword [ebp + 0x10]
mov eax, dword [esi + 0x90]
add eax, dword [ebp + 0xc]
push eax
mov eax, dword [esi + 0x8c]
add eax, dword [ebp + 8]
push eax
push esi
call dword [esi + 0x30]
pop esi
pop ebp
ret 0x14

Function at 0x44d165
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x6114a4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x44d19e
mov ecx, dword [edx + 0x90]
add ecx, dword [ebp + 0x10]
push 0xff
push ecx
mov ecx, dword [edx + 0x8c]
add ecx, dword [ebp + 0xc]
push ecx
push dword [ebp + 8]
push edx
call eax
jmp 0x44d1b9
mov eax, dword [edx + 0x90]
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [edx + 0x8c]
add eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
push edx
call dword [edx + 0x24]
pop ebp
ret 0xc

Function at 0x44dc61
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
xor ebp, ebp
push esi
test ebx, ebx
je 0x44dc75
mov esi, ebx
jmp 0x44dc7f
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x44dd70
lea eax, [esp + 0x18]
push eax
push 0x18
pop eax
push eax
push dword [esp + 0x68]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x44dd65
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push edi
mov edi, dword [esp + 0x24]
push 0x2c
push 0
push eax
mov dword [esp + 0x20], ebp
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [esp + 0x34], 0x28
xor eax, eax
mov dword [esp + 0x38], ebp
inc eax
mov dword [esp + 0x3c], edi
mov word [esp + 0x40], ax
xor ecx, ecx
push 0x18
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 esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x44dd64
push 0
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x18]
push edi
push 0
push dword [esp + 0x78]
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
imul edi, dword [esp + 0x14]
test edi, edi
jle 0x44dd64
mov ebx, dword [esp + 0x10]
push 3
pop ebp
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
add eax, ecx
movzx ecx, byte [ebx]
add eax, ecx
cdq
idiv ebp
mov byte [ebx], al
mov ecx, dword [esp + 0x10]
mov byte [ecx + 1], al
mov ecx, dword [esp + 0x10]
mov byte [ecx + 2], al
mov ebx, dword [esp + 0x10]
add ebx, ebp
mov dword [esp + 0x10], ebx
dec edi
jne 0x44dd2d
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x18]
pop edi
test ebx, ebx
jne 0x44dd70
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x50
ret 8
Function at 0x44f503
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push 0x561e18
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x61067c], eax
test eax, eax
je 0x44f531
push str.AlphaBlend
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x610678], eax
lea eax, [ebp - 0x114]
mov dword [0x610680], 1
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44f593
cmp dword [ebp - 0x104], 1
jne 0x44f568
and dword [0x610680], 0
jmp 0x44f5ab
cmp dword [ebp - 0x104], 2
jne 0x44f593
cmp dword [ebp - 0x110], 5
jb 0x44f55f
jne 0x44f593
mov eax, dword [ebp - 0x10c]
neg eax
sbb eax, eax
and eax, dword [0x610680]
mov dword [0x610680], eax
jmp 0x44f598
mov eax, dword [0x610680]
test eax, eax
je 0x44f5ab
call fcn.0044edde
neg eax
sbb eax, eax
and dword [0x610680], eax
mov esp, ebp
pop ebp
ret

Function at 0x450610
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 0x450642
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 0x45063d
cmp dword [esp + 0xc], esi
je 0x450659
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 sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [edi + 8], esi
pop edi
mov eax, 1
pop esi
ret