joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d4374
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d44ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00636078
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
mov dword [esi + 0x18c], ebx
mov dword [ebp - 4], ebx
mov ebx, 2
mov eax, ebx
cmp eax, 0x1f
ja 0x4d43bf
bt dword [ebp - 4], eax
jae 0x4d449d
mov edi, ebx
add di, 0x61
lea eax, [ebp - 0x14]
mov edx, edi
call fcn.00403980
lea eax, [ebp - 0x14]
mov edx, 0x4d44dc
call fcn.00403ab4
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetDriveTypeW
mov byte [ebp - 5], al
cmp byte [ebp - 5], 5
je 0x4d449d
lea eax, [ebp - 0x14]
mov edx, edi
call fcn.00403980
lea eax, [ebp - 0x14]
mov edx, 0x4d44dc
call fcn.00403ab4
mov eax, dword [ebp - 0x14]
call fcn.0061caec
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4d442e
mov al, byte [esi + 0x190]
test al, al
je 0x4d443e
sub al, 2
je 0x4d443e
cmp byte [ebp - 0xd], 0
jne 0x4d449d
mov al, byte [esi + 0x190]
sub al, 2
jae 0x4d449d
cmp byte [ebp - 5], 4
jne 0x4d4450
lea edx, [ebp - 0xc]
mov eax, edi
call fcn.004d429c
jmp 0x4d445a
lea edx, [ebp - 0xc]
mov eax, edi
call fcn.004d4138
mov byte [ebp - 6], 2
cmp byte [ebp - 0xd], 0
je 0x4d4468
mov byte [ebp - 6], 3
lea eax, [ebp - 0x18]
mov edx, edi
call fcn.00403980
push dword [ebp - 0x18]
push 0x4d44e8
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403b78
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [ebp - 6]
mov eax, dword [esi + 0x120]
call fcn.0064f61c
inc ebx
cmp ebx, 0x1a
jne 0x4d43b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d44d1
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00403898
lea eax, [ebp - 0xc]
call fcn.00403880
ret

Function at 0x4d5e78
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d5f24
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, edi
call fcn.00653bb0
cmp ax, 0x5c
jne 0x4d5eac
mov eax, edi
call fcn.006219e4
jmp 0x4d5f06
lea edx, [ebp - 4]
mov eax, edi
call fcn.00655234
mov eax, dword [ebp - 4]
call fcn.006219e4
mov eax, esi
call fcn.00654ea8
test al, al
je 0x4d5f06
push 0
push edi
push esi
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x4d5f06
lea ecx, [ebp - 8]
mov eax, dword [0x670040]
mov eax, dword [eax]
mov edx, edi
call fcn.00655be8
mov eax, dword [ebp - 8]
mov cx, word [0x4d5f34]
mov dl, 1
call fcn.004d5e10
sub eax, 3
je 0x4d5f04
sub eax, 2
jne 0x4d5ebe
jmp 0x4d5f06
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5f2b
lea eax, [ebp - 8]
call fcn.00403274
lea eax, [ebp - 4]
call fcn.00403880
ret
Function at 0x4e53b0
Capabilities:
Write file 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
xor eax, eax
push ebp
push 0x4e55dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [0x66fce8]
mov eax, dword [eax]
call fcn.00654d58
mov eax, dword [ebp - 0xc]
push eax
call fcn.00506a54
mov eax, dword [eax + 0x1b4]
add eax, 0x38
mov edx, dword [0x66fc80]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 8]
pop ecx
call fcn.00403b14
call fcn.00506a54
mov eax, dword [eax + 0x1b4]
mov byte [eax + 0x56], 2
call fcn.00506a54
mov eax, dword [eax + 0x1b4]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4e55b7
mov eax, dword [0x66f1e0]
mov eax, dword [eax]
mov ebx, dword [eax + 0x18]
dec ebx
test ebx, ebx
jl 0x4e5461
inc ebx
xor esi, esi
mov eax, dword [0x66f1e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + esi*4]
cmp byte [edi + 0x427], 0
je 0x4e545d
mov eax, edi
call fcn.00599430
test al, al
jne 0x4e55b7
inc esi
dec ebx
jne 0x4e5438
mov eax, dword [0x66f1e0]
mov eax, dword [eax]
mov ebx, dword [eax + 0x18]
dec ebx
test ebx, ebx
jl 0x4e5506
inc ebx
xor esi, esi
mov eax, dword [0x66f1e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + esi*4]
cmp byte [edi + 0x45c], 0
jne 0x4e54fe
cmp byte [edi + 0x43c], 0
je 0x4e54a5
mov eax, dword [edi + 0x160]
call fcn.00654ea8
test al, al
je 0x4e54fe
cmp dword [ebp - 4], 0
je 0x4e54b8
lea eax, [ebp - 4]
mov edx, 0x4e55f4
call fcn.00403524
call fcn.00539564
mov edx, dword [0x66f1e0]
mov edx, dword [edx]
mov edx, dword [edx + 0x1c]
cmp eax, dword [edx + esi*4]
jne 0x4e54da
lea eax, [ebp - 4]
mov edx, 0x4e5600
call fcn.00403524
lea edx, [ebp - 0xc]
mov eax, dword [edi + 0x160]
call fcn.00626b04
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x10]
call fcn.00654c3c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00403524
inc esi
dec ebx
jne 0x4e5477
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00654e2c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.0040330c
call fcn.00506a54
mov eax, dword [eax + 0x1b4]
lea edx, [ebp - 0xc]
call fcn.00630690
mov eax, dword [ebp - 0xc]
call fcn.00658f24
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4e5563
call fcn.00506a54
mov eax, dword [eax + 0x1b4]
lea edx, [ebp - 0xc]
call fcn.00630690
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.0062016c
cmp ax, 2
je 0x4e55b7
jmp 0x4e551c
cmp dword [ebp - 4], 0
je 0x4e55b1
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040351c
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile
test eax, eax
jne 0x4e55b1
call fcn.00506a54
mov eax, dword [eax + 0x1b4]
lea edx, [ebp - 0xc]
call fcn.00630690
mov eax, dword [ebp - 0xc]
mov dl, 2
call fcn.0062016c
cmp ax, 2
jne 0x4e5569
push ebx
call sub.kernel32.dll_CloseHandle
jmp 0x4e55b7
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e55e4
lea eax, [ebp - 0x10]
call fcn.00403274
lea eax, [ebp - 0xc]
call fcn.00403880
lea eax, [ebp - 4]
call fcn.00403274
ret
Function at 0x4e7a68
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x66f7d4]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00539c00
test eax, eax
je 0x4e7a81
call fcn.0059901c
ret
mov eax, dword [0x66eecc]
cmp byte [eax], 0
je 0x4e7aca
mov eax, dword [0x66f7d4]
mov eax, dword [eax + 8]
call fcn.0053a0f0
test al, al
je 0x4e7aca
push 5
push 0
push 0
mov eax, dword [0x66f7d4]
mov eax, dword [eax + 8]
push eax
push 0x4e7b00
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
jg 0x4e7afd
mov eax, dword [0x66e9fc]
mov eax, dword [eax]
call fcn.0061feb4
jmp 0x4e7afd
mov eax, dword [0x66f7d4]
mov eax, dword [eax + 8]
call fcn.0053a00c
test al, al
je 0x4e7af0
call fcn.0053955c
mov edx, dword [0x66f7d4]
mov edx, dword [edx + 8]
call fcn.0053768c
jmp 0x4e7afd
mov eax, dword [0x66f7d4]
mov eax, dword [eax + 8]
call fcn.00621554
ret

Function at 0x4e7b0c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x4e7c7a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [0x66f7d4]
mov eax, dword [eax + 8]
call fcn.006552dc
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
call fcn.006551b8
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004038bc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
push eax
push 0x4fbb00
mov edx, dword [0x66f900]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov cl, 1
call fcn.004361dc
test al, al
je 0x4e7c5f
mov eax, dword [0x66f7d4]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00539c00
mov ebx, eax
test ebx, ebx
je 0x4e7ba2
mov eax, ebx
call fcn.0059901c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov edx, 0x8c
call fcn.004f3be0
mov eax, dword [0x66e960]
mov eax, dword [eax]
mov edx, ebx
call fcn.0064eb58
test al, al
jne 0x4e7c5f
lea edx, [ebp - 0x10]
mov eax, dword [0x66f7d4]
mov eax, dword [eax + 8]
call fcn.0065530c
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0065512c
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [0x66f7d4]
mov eax, dword [eax + 8]
call fcn.00655234
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
pop ecx
call fcn.00403b14
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x66f7d4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x4e7c3f
mov eax, dword [0x66f7d4]
add eax, 8
mov edx, dword [ebp - 8]
call fcn.004038bc
mov eax, dword [0x66f364]
mov byte [eax + 0x11], 1
test ebx, ebx
je 0x4e7c38
call fcn.0053955c
mov edx, dword [ebp - 8]
call fcn.0053768c
call fcn.00506b9c
jmp 0x4e7c5f
mov eax, dword [0x66f7d4]
mov eax, dword [eax + 8]
call fcn.00654ea8
test al, al
je 0x4e7c5f
mov eax, dword [0x6702e8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.0061ff68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7c81
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403898
ret
Function at 0x4ffe7c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.005c6a50
test al, al
jne 0x4fffa2
cmp byte [ebx + 0x46e], 0
jne 0x4fffa2
cmp byte [ebx + 0x40f], 0
je 0x4ffef1
mov eax, ebx
call fcn.005babf0
lea edx, [ebx + 0x258]
xor ecx, ecx
mov eax, ebx
call fcn.005bf388
mov cl, 0x13
mov dl, 0x28
mov eax, ebx
call fcn.00564f9c
lea edx, [ebx + 0x258]
mov cl, byte [0x4fffa8]
mov eax, ebx
call fcn.005c0150
mov edx, 2
mov eax, ebx
call fcn.00565028
mov byte [ebx + 0x40f], 0
jmp 0x4fffa2
cmp byte [ebx + 0x40d], 0
jne 0x4fff8b
cmp byte [ebx + 0x40e], 0
jne 0x4fff8b
mov eax, 0x12c
call fcn.00656fe8
test al, al
je 0x4fff8b
call fcn.00658fe8
mov esi, eax
mov eax, dword [ebx + 0x13c]
cmp dword [eax + 0x18], 0x3e8
jl 0x4fff3d
mov byte [ebx + 0x40e], 1
call fcn.00506b9c
jmp 0x4fff8b
cmp byte [ebx + 0x14e], 0
je 0x4fff55
mov eax, ebx
call fcn.005c45b4
test al, al
je 0x4fff55
xor eax, eax
jmp 0x4fff57
mov al, 1
and eax, 0x7f
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x13c]
add ecx, dword [eax + 0x18]
mov eax, dword [ebx + 0x13c]
mov edx, dword [eax + 0x18]
mov eax, ebx
call fcn.005bca54
cmp byte [ebx + 0x40d], 0
jne 0x4fff8b
call fcn.00658fe8
sub eax, esi
cmp eax, 0x32
jl 0x4fff20
mov eax, 0x1388
call fcn.00656fe8
test al, al
je 0x4fffa2
xor edx, edx
mov eax, ebx
call fcn.005eb620
pop esi
pop ebx
ret
Function at 0x511290
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd3c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
lea eax, [ebp - 4]
call fcn.00403e18
xor eax, eax
push ebp
push 0x5113da
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c0]
mov eax, dword [ebp - 4]
call fcn.006546a0
mov edx, dword [ebp - 0x2c0]
lea eax, [ebp - 4]
call fcn.004038bc
mov edx, dword [ebp - 4]
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x51139a
lea edx, [ebp - 0x2c0]
mov eax, dword [ebp - 4]
call fcn.0065530c
mov edx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x2c4]
call fcn.004034e4
mov eax, dword [ebp - 0x2c4]
lea edx, [ebp - 8]
call fcn.00654668
mov eax, dword [ebp - 8]
mov edx, 0x5113f4
call fcn.0040362c
je 0x511361
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x24]
dec edi
cmp edi, 0
jl 0x511361
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edi*4]
mov edx, dword [ebp - 8]
call fcn.006551cc
test al, al
je 0x51135b
mov ebx, edi
jmp 0x511361
dec edi
cmp edi, 0xffffffff
jne 0x511342
cmp ebx, 0xffffffff
jne 0x51139a
push 0x101
push 0x2b4
lea eax, [ebp - 0x2bc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetFileInfoW
mov ecx, dword [ebp - 0x2bc]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 4]
call fcn.0064f61c
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x24]
dec ebx
mov edx, ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5113e1
lea eax, [ebp - 0x2c4]
call fcn.00403274
lea eax, [ebp - 0x2c0]
call fcn.00403880
lea eax, [ebp - 8]
call fcn.00403274
lea eax, [ebp - 4]
call fcn.00403880
ret
Function at 0x51ff9c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x51ffa4
push ecx
push ebx
push esi
push edi
mov ebx, eax
mov edi, 0x672fd8
xor eax, eax
push ebp
push 0x5201d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp byte [0x672ff8], 0
jne 0x5201a4
inc byte [0x672ff8]
jmp 0x52018e
mov eax, dword [0x672fcc]
mov eax, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0xc], eax
inc dword [edi]
lea edx, [ebp - 0xc]
mov al, 6
call fcn.0046f160
test bl, bl
jne 0x520033
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0062a1f4
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov eax, dword [0x66fb84]
mov eax, dword [eax]
call fcn.00655b64
mov eax, dword [ebp - 0x18]
mov cl, 0x28
mov dl, 3
call fcn.006200d0
cmp ax, 6
jne 0x52018e
mov eax, dword [ebp - 0xc]
call fcn.0051fed0
mov esi, eax
lea edx, [ebp - 8]
xor eax, eax
call fcn.0061cd68
call fcn.00506a54
call fcn.00503f84
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0062a1f4
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov eax, dword [0x66f7a0]
mov eax, dword [eax]
call fcn.00655b64
mov eax, dword [ebp - 0x18]
push eax
call fcn.00506a54
xor edx, edx
pop ecx
call fcn.00503ed0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x66fc38]
mov eax, dword [eax]
push eax
mov al, byte [0x5201e8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [esi*4 + 0x669550]
mov eax, 0x5201ec
call fcn.00655b64
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
call fcn.00403a24
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, 0x520208
call fcn.00654d58
mov edx, dword [ebp - 0x24]
xor eax, eax
pop ecx
call fcn.00437f04
mov byte [ebp - 0x11], al
call fcn.00506a54
xor edx, edx
call fcn.00503f2c
call fcn.00506a54
call fcn.00503fd4
cmp byte [ebp - 0x11], 0
je 0x52018a
mov ecx, 1
mov edx, 0x80000000
mov eax, dword [ebp - 8]
call fcn.00658f04
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x52017b
lea edx, [ebp - 0x20]
mov al, 5
call fcn.00621750
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x436c0c]
call fcn.00437638
mov edi, eax
mov ebx, dword [edi + 0x24]
dec ebx
cmp ebx, 0
jl 0x520154
mov eax, dword [edi + 0x20]
lea esi, [eax + ebx*4]
mov eax, dword [esi]
call fcn.00654ea8
test al, al
jne 0x52014e
xor ecx, ecx
mov edx, dword [esi]
mov eax, edi
call fcn.004378e8
dec ebx
cmp ebx, 0xffffffff
jne 0x520132
mov eax, edi
call fcn.004028c0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.0052fdcc
mov eax, dword [eax + 8]
call fcn.0064ecc8
call fcn.0052fdcc
call fcn.00529440
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_DeleteFileW
mov byte [ebp - 1], 1
jmp 0x52019e
test bl, bl
jne 0x52019e
mov eax, dword [0x672fcc]
mov eax, dword [eax + 0x18]
cmp eax, dword [edi]
jg 0x51ffe0
dec byte [0x672ff8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5201db
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00403898
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403298
lea eax, [ebp - 8]
call fcn.00403880
ret
Function at 0x532cfc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x532d60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x19c]
mov edx, dword [eax]
call dword [edx + 0x28]
push eax
push 0x64
mov eax, dword [ebx + 0x198]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_MulDiv
mov edx, eax
lea ecx, [ebp - 4]
mov eax, dword [0x66f9a0]
mov eax, dword [eax]
call fcn.00655c8c
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0063fadc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532d67
lea eax, [ebp - 4]
call fcn.00403274
ret
Function at 0x5359b8
Capabilities:
Read clipboard data

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x24], 0
jne 0x5359d0
push esi
call sub.user32.dll_GetClipboardData
jmp 0x535a0a
mov edi, esi
mov edx, edi
mov eax, dword [ebx + 0x18]
call fcn.0064eb58
test al, al
je 0x535a08
push esp
mov edx, edi
mov eax, dword [ebx + 0x18]
call fcn.0064eaf4
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
push eax
mov eax, dword [ebx + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x535a08
mov eax, dword [esp + 4]
jmp 0x535a0a
xor eax, eax
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x535c14
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
call fcn.00658fe8
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.user32.dll_OpenClipboard
neg eax
sbb ebx, ebx
neg ebx
test bl, bl
jne 0x535c48
call fcn.00658fe8
sub eax, esi
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 8]
jl 0x535c20
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x535f84
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x536069
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x2c]
call fcn.00403274
mov edx, dword [0x67301c]
mov eax, dword [ebx + 0x18]
call fcn.0064eb58
test al, al
je 0x536053
mov eax, dword [0x67301c]
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
call sub.kernel32.dll_GlobalSize
mov edi, eax
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00403804
push esi
call sub.kernel32.dll_GlobalLock
mov edx, eax
lea eax, [ebx + 0x28]
mov ecx, edi
call fcn.00403358
push esi
call sub.kernel32.dll_GlobalUnlock
mov edx, dword [ebx + 0x28]
mov eax, 0x536080
call fcn.00654a24
mov esi, eax
test esi, esi
je 0x53604b
add esi, 0xa
jmp 0x536024
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x28]
mov dl, byte [edx + esi - 1]
call fcn.00403418
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2c]
call fcn.00403524
inc esi
cmp edi, esi
jl 0x53604b
mov eax, dword [ebx + 0x28]
cmp byte [eax + esi - 1], 0x20
je 0x536009
mov eax, dword [ebx + 0x28]
xor edx, edx
mov dl, byte [eax + esi - 1]
mov eax, dword [0x66ffcc]
mov eax, dword [eax]
call fcn.0064eea0
test al, al
jne 0x536009
lea eax, [ebx + 0x2c]
call fcn.00653c0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536070
lea eax, [ebp - 4]
call fcn.00403274
ret
Function at 0x53627c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5363ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x28]
call fcn.004b13cc
lea eax, [ebp - 4]
mov ecx, 0x5363dc
mov edx, dword [0x67300c]
call fcn.00403b14
mov eax, dword [ebp - 4]
call fcn.0064e1b0
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 8], 0
jle 0x5363a1
push 0x5363f0
call sub.kernel32.dll_lstrlenA
mov ebx, eax
add ebx, 0x14
mov edx, 0x536448
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
call fcn.00653da0
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edi, dword [eax + 4]
sub esi, edi
add esi, ebx
add esi, 0x16
mov edx, 0x536460
mov eax, dword [ebp + 8]
mov eax, edi
call fcn.00653da0
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 4]
add eax, ebx
sub eax, 2
mov edi, eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
add eax, ebx
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x10], edi
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x28]
mov eax, 0x5363f0
mov ecx, 3
call fcn.00655a28
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0064e4c0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
call fcn.0062036c
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004028c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5363d1
lea eax, [ebp - 8]
call fcn.00403274
lea eax, [ebp - 4]
call fcn.00403880
ret
Function at 0x5369a0
Capabilities:
Write clipboard data

Disassembly:
push ebx
mov ebx, edx
test ebx, ebx
je 0x5369c7
call sub.user32.dll_EmptyClipboard
mov eax, ebx
call fcn.00403aa8
mov edx, eax
inc edx
add edx, edx
mov eax, ebx
call fcn.0062036c
push eax
push 0xd
call sub.user32.dll_SetClipboardData
pop ebx
ret

Function at 0x536f34
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
mov byte [esp + 4], 0
mov ecx, 1
mov edx, 0x80000000
mov eax, dword [esp]
call fcn.00658f04
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x536f71
mov eax, dword [0x66eb48]
mov eax, dword [eax]
mov edx, dword [esp]
call fcn.00620080
jmp 0x536fc6
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov esi, eax
mov eax, edi
mov edx, esi
call fcn.00403804
push 0
lea eax, [esp + 0xc]
push eax
push esi
mov eax, dword [edi]
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x536fb0
mov edx, dword [ebp + 4]
mov eax, dword [0x66ee1c]
mov eax, dword [eax]
call fcn.00620080
push ebx
call sub.kernel32.dll_CloseHandle
jmp 0x536fc6
push ebx
call sub.kernel32.dll_CloseHandle
lea eax, [ebp + 4]
mov edx, dword [esp]
call fcn.004038bc
mov byte [esp + 4], 1
mov al, byte [esp + 4]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret