joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4060ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx + 0x458df845]
xchg esp, eax
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00405d46
push eax
push esi
push dword [ebp + 8]
call fcn.00405cfb
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x4061d1

Function at 0x406188
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x4061d1
mov byte [ebp - 0x1f], 0x59
Function at 0x41972c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41993a
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x4197f8
mov eax, dword [0x41ccc8]
cmp byte [eax + 0x915], 0
jne 0x4197f8
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040af0c
mov edx, dword [ebp - 4]
mov eax, 0x419950
call fcn.00405074
test eax, eax
jne 0x41979c
push ebx
push 0x41995c
push 0x41995c
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404df0
jmp 0x4197c0
mov al, byte [0x419960]
push eax
lea eax, [ebp - 8]
push eax
mov edx, 0x419950
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0040caa8
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404b2c
push 0x40010
push 0
mov eax, dword [ebp - 4]
call fcn.00404f30
push eax
push 0
call fcn.00406bec
mov eax, dword [0x41caf0]
push eax
call fcn.00406bac
mov eax, dword [0xe1f534]
push eax
call fcn.00406b4c
mov eax, dword [0xe1f538]
push eax
call fcn.00406b4c
mov eax, dword [0x41ccc8]
cmp byte [eax], 1
jne 0x41989b
mov eax, dword [0x41ccc8]
cmp byte [eax + 0x917], 2
je 0x41989b
mov eax, dword [0xe1f524]
call fcn.00405844
mov esi, eax
test esi, esi
jl 0x419877
inc esi
xor ebx, ebx
mov eax, dword [0xe1f524]
mov eax, dword [eax + ebx*4]
xor edx, edx
call fcn.004084b4
mov eax, dword [0x41ccc8]
mov al, byte [eax + 0x917]
sub al, 1
jb 0x41984d
je 0x41985c
jmp 0x419873
mov eax, dword [0xe1f524]
mov eax, dword [eax + ebx*4]
call fcn.004085d8
jmp 0x419873
push 4
push 0
mov eax, dword [0xe1f524]
mov eax, dword [eax + ebx*4]
call fcn.00404f30
push eax
call fcn.00406ae4
inc ebx
dec esi
jne 0x41982b
mov eax, dword [0xe1f528]
call fcn.00405844
mov ebx, eax
cmp ebx, 0
jl 0x41989b
mov eax, dword [0xe1f528]
mov eax, dword [eax + ebx*4]
call fcn.004196b4
dec ebx
cmp ebx, 0xffffffff
jne 0x419888
test edi, edi
jne 0x419904
cmp dword [0x41cae8], 0
je 0x419904
push 0
push 0
push 0x41996c
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402e74
push dword [ebp - 0x10]
push 0x41996c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404df0
mov eax, dword [ebp - 0xc]
call fcn.00404f30
push eax
mov eax, dword [0x41cae8]
call fcn.00404f30
push eax
push 0x419970
push 0
call sub.shell32.dll_ShellExecuteA
push 4
push 0
mov eax, dword [0x41cae8]
call fcn.00404f30
push eax
call fcn.00406ae4
cmp dword [0x41cb04], 0
je 0x419918
mov eax, dword [0x41cb04]
push eax
call fcn.00406964
mov eax, edi
call fcn.00404a7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419941
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404ab8
ret
Function at 0x408921
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
call fcn.00408940
or esi, esi
add eax, 0x8d0e1715
xor dword [edx], ecx
add esi, esi
inc edx
dec eax
add esi, eax
cmp edx, ebx
jne fcn.00408921
ret
Function at 0x403210
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405080
test esi, esi
jne 0x403247
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00405170
jmp 0x403268
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.004030ac
mov dword [esp], eax
test esi, esi
je 0x403268
cmp dword [ebx], 0
je 0x403268
dec esi
jmp 0x40324f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403984
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x53d008], 0x8088405
inc edx
mov dword [ebx + 0x53d008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4040bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x53d024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x404154
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404134
xor eax, eax
push ebp
push 0x40412d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x404170
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404134
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x53d024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x53d024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404e58
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x54604c], 0
je 0x404eb9
cmp word [0x546220], 0xd7b2
jne 0x404e81
cmp dword [0x546228], 0
jbe 0x404e81
mov eax, 0x54621c
call dword [0x546238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x53d094
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404ee0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x53d034], 0
jne 0x404ed5
push 0
push 0x53d08c
push 0x53d094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405034
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402dd8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x54604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404ffc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4072e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40734e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00405300
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403ab4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x407338
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407355
lea eax, [ebp - 0x10]
call fcn.00405080
ret

Function at 0x40c458
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405550
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40c471
test al, 0x10
jne 0x40c475
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c47c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00405550
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40c49e
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40f184
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40f1bd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405170
jmp 0x40f1c6
mov eax, ebx
mov edx, esi
call fcn.004050d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40f1d0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40f1f1
mov al, byte [esp]
jmp 0x40f1f3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40f888
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40f6f0
mov eax, dword [0x544f48]
cmp byte [eax], 0
je 0x40f904
mov eax, dword [0x5448a0]
call fcn.004036f4
call fcn.00402fcc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040c6b8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40f94c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40f93a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5447b8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x546668]
call fcn.00406754
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x410220
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4102f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405118
lea eax, [ebp - 8]
call fcn.004055a0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405550
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4102e0
mov eax, ebx
call fcn.00402dd8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4102d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405550
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4102c3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x410308
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4102c3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4102e0
mov eax, dword [ebp - 0x10]
call fcn.00402e08
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4102fd
lea eax, [ebp - 8]
call fcn.00405080
ret

Function at 0x410864
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4108c8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00405300
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040c068
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4108cf
lea eax, [ebp - 0xc]
call fcn.00405080
ret
Function at 0x422544
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0042239c
dec esi
jne 0x422566
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4236c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x548ab4
cmp dword [esi], 0
jne 0x423766
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x548ab0]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x53db98
mov ecx, 2
call fcn.0040306c
mov edx, 0x423698
mov eax, dword [ebp - 8]
add eax, 5
call fcn.004236b8
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.004236b8
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x42372d
mov eax, dword [ebp - 8]
mov dword [0x548ab0], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x424dac
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x424db2
ret

Function at 0x427354
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4273a5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42738c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42737c
jmp 0x4273a5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42738d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436a18
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405540
xor eax, eax
push ebp
push 0x436b48
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x436b1b
xor eax, eax
push ebp
push 0x436b14
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405350
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x436ae9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x436ad8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405350
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405550
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.0040306c
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436adf
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x544604]
mov dl, 1
mov eax, dword [0x40aca4]
call fcn.0040fa3c
call fcn.004049f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436b4f
lea eax, [ebp - 4]
call fcn.00405080
ret
Function at 0x436b58
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x436d09
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405740
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x436d20
call fcn.0040539c
mov eax, ebx
call fcn.00422c3c
mov edi, eax
dec edi
test edi, edi
jl 0x436c10
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00422c10
mov edx, dword [0x432b10]
call fcn.004043e8
test al, al
je 0x436c0c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00422c10
lea edx, [ebp - 0x14]
call fcn.0043e088
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405740
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405410
inc esi
dec edi
jne 0x436bbe
mov al, byte [0x436d24]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x436d30
mov eax, dword [ebp - 0xc]
call fcn.00410e40
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00405118
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043e088
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x436d20
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043e088
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x436d20
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x436d20
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x436d3c
call fcn.0040cdd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436d10
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004050a4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004050a4
lea eax, [ebp - 0x14]
call fcn.00405080
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004050a4
ret
Function at 0x437824
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4378fa
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4378cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4378bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, edi
mov ecx, ebx
call fcn.0040306c
mov eax, dword [ebp - 4]
call fcn.00437760
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4378c2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x43790c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43797e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x437952
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00405288
jmp 0x437959
mov eax, ebx
call fcn.00405080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437985
cmp dword [ebp - 8], 0
je 0x437975
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4379b4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x437a5c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x437a2f
mov edx, ebx
mov eax, dword [0x4247d0]
call fcn.00428c0c
test al, al
je 0x437a1f
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00428b1c
call fcn.00404a9c
jmp 0x437a63
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4379e7
mov ecx, dword [0x544778]
mov dl, 1
mov eax, dword [0x40aca4]
call fcn.0040fa3c
call fcn.004049f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437a63
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret