joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ce2c
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
xor ecx, ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47cff5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x15
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47cfdc
lea eax, [ebp - 0x121]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
test eax, eax
setne al
neg al
sbb eax, eax
call fcn.0041df08
lea eax, [ebp - 0x226]
push eax
push 0
push 0x47d004
lea eax, [ebp - 0x121]
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
test eax, eax
setne al
neg al
sbb eax, eax
call fcn.0041df08
xor eax, eax
push ebp
push 0x47cfd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x47cfb4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x47cf9d
xor eax, eax
push ebp
push 0x47cf96
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
lea edx, [ebp - 0x22c]
lea eax, [ebp - 0x226]
call fcn.00419968
mov ecx, dword [ebp - 0x22c]
mov dl, 1
mov eax, dword [0x40c75c]
call fcn.00410994
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47cf72
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00410744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cf79
mov eax, dword [ebp - 0x10]
call fcn.00428930
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cfbb
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_FreeResource
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cffc
lea eax, [ebp - 0x22c]
call fcn.00429748
ret
Function at 0x47d8d8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff34
push esi
push edi
xor edx, edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47da16
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call sub.KERNEL32.DLL_GetVersionExA
mov eax, dword [ebp - 0x90]
sub eax, 1
jb 0x47d924
je 0x47d92d
dec eax
je 0x47d96c
jmp 0x47d977
mov dword [ebp - 9], 0x73323303
jmp 0x47d977
and dword [ebp - 0x94], 0xffff
cmp dword [ebp - 0x9c], 4
ja 0x47d952
cmp dword [ebp - 0x9c], 4
jne 0x47d95f
cmp dword [ebp - 0x98], 0xa
jb 0x47d95f
mov esi, 0x47da24
lea edi, [ebp - 9]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x47d977
mov esi, 0x47da28
lea edi, [ebp - 9]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x47d977
mov esi, 0x47da2c
lea edi, [ebp - 9]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 9]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0xc8], 4
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0xc0], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 0xb8], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 6
lea edx, [ebp - 0xcc]
mov ecx, 4
mov eax, 0x47da38
call fcn.00419e58
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 4]
call fcn.00418b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47da1d
lea eax, [ebp - 0xa4]
call fcn.00429748
ret
Function at 0x47fde4
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp + 8]
mov eax, 0x49d810
call fcn.004892ac
mov word [ebp - 0x18], 0xc
mov edx, 0x49dd14
mov ecx, dword [ebx]
mov dword [ecx], edx
push 0x10
call fcn.0048499c
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x47fe31
mov word [ebp - 0x18], 0x30
mov edx, dword [ebp - 4]
push edx
call fcn.00483158
pop ecx
mov word [ebp - 0x18], 0x24
mov ecx, dword [ebp - 4]
jmp 0x47fe34
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x3c], ecx
mov word [ebp - 0x18], 0x18
mov eax, dword [ebx]
mov edx, dword [ebx]
add edx, 0xc
mov dword [eax + 0x14], edx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x10
mov dword [ecx + 0x18], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x1c
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
mov ecx, dword [ebx]
add ecx, 0x20
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x2c
mov dword [ecx + 0x34], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x30
mov dword [edx + 0x38], eax
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x24]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x34]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4857ac
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp + 8]
mov eax, 0x49ecac
call fcn.004892ac
mov word [ebp - 0x18], 0xc
mov edx, 0x49f034
mov ecx, dword [ebx]
mov dword [ecx], edx
push 0x10
call fcn.0048499c
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4857f9
mov word [ebp - 0x18], 0x30
mov edx, dword [ebp - 4]
push edx
call fcn.00483158
pop ecx
mov word [ebp - 0x18], 0x24
mov ecx, dword [ebp - 4]
jmp 0x4857fc
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x3c], ecx
mov word [ebp - 0x18], 0x18
mov eax, dword [ebx]
mov edx, dword [ebx]
add edx, 0xc
mov dword [eax + 0x14], edx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x10
mov dword [ecx + 0x18], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x1c
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
mov ecx, dword [ebx]
add ecx, 0x20
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x2c
mov dword [ecx + 0x34], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x30
mov dword [edx + 0x38], eax
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x24]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x34]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x48a138
call fcn.0048b28c
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x48a157
test bl, 1
je 0x48a157
call fcn.004914a0
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x48df08
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.00488f54
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00488fe4
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00488fe4
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x4a0f15
lea ecx, [ebp - 0x200]
push ecx
call fcn.00488f54
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00488fe4
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0048f2a4
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x48e019
push esi
call fcn.00488fe4
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00488fe4
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.00488bac
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x48dff0
xor eax, eax
jmp 0x48e0a0
push esi
call fcn.00488fe4
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00488fe4
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.00488eac
add esp, 0xc
jmp 0x48e059
mov edi, dword [ebx + 0x24]
push edi
call fcn.00488fe4
pop ecx
push eax
push esi
call fcn.00488fe4
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00488fe4
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.00488bcc
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x48e059
xor eax, eax
jmp 0x48e0a0
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00488f54
add esp, 8
push 0x4a0f17
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00488f54
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00488f54
add esp, 8
push 0x4a0f19
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00488f54
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x491434
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x491461
jmp 0x491498
call fcn.004913e4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00488fe4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00488fe4
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49151c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4a1548], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4915f6
cmp dword [0x4a1544], 0
jne 0x4915f6
cmp dword [0x4a1728], 0
je 0x4915b0
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004912e4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x491596
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004912e4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x491596
lea ebx, [ebp - 0x84]
jmp 0x491597
inc ebx
call fcn.004914d4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x491631
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4a154c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00488fe4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4a154f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x491631
cmp dword [0x4a1544], 0
je 0x491610
cmp dword [0x4a1544], 0xffffffff
je 0x491631
push esi
call dword [0x4a1544]
pop ecx
mov eax, dword [0x4a1548]
test eax, eax
je 0x491631
cmp dword [0x4a1548], 0xffffffff
je 0x491631
cmp byte [eax], 0
je 0x491631
push esi
push eax
call fcn.00491434
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x491e2c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4a9080], 0
jne 0x491ead
cmp dword [0x4a90a0], 0
jne 0x491e5c
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4a90a0], eax
test eax, eax
jne 0x491e5c
push str.GetEnvironmentStrings_failed
call fcn.00491648
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4a90a0]
jmp 0x491e70
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00488fe4
pop ecx
mov edi, eax
test eax, eax
jne 0x491e68
lea edi, [ebp + 1]
push edi
call fcn.00488bac
pop ecx
mov ebx, eax
mov dword [0x4a9084], ebx
test ebx, ebx
jne 0x491e9a
xor eax, eax
jmp 0x491f70
push edi
mov edx, dword [0x4a90a0]
push edx
push ebx
call fcn.00488e18
add esp, 0xc
jmp 0x491ecd
xor esi, esi
mov ebx, dword [0x4a9080]
jmp 0x491ec7
push eax
call fcn.00488fe4
pop ecx
test eax, eax
jne 0x491ec3
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x491eb7
lea ebx, [esi + 4]
push 4
mov dword [0x4a9088], ebx
inc ebx
push ebx
call fcn.00488548
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x491ef0
xor eax, eax
jmp 0x491f70
cmp dword [0x4a9080], 0
jne 0x491f21
xor esi, esi
mov ebx, dword [0x4a9084]
mov eax, dword [esp]
mov ebp, eax
jmp 0x491f12
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00488fe4
pop ecx
mov edi, eax
test eax, eax
jne 0x491f08
jmp 0x491f52
xor esi, esi
mov ebx, dword [0x4a9080]
mov eax, dword [esp]
mov edi, eax
jmp 0x491f4c
push eax
call fcn.00488fe4
pop ecx
test eax, eax
je 0x491f41
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x491f45
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x491f30
mov eax, dword [0x4a9080]
test eax, eax
je 0x491f62
push eax
call fcn.00488bbc
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4a9080], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f90bc69
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4f918464]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x114], eax
mov ebx, edx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x110], eax
movzx eax, word [0x4f918810]
push edi
push eax
mov dword [ebp - 0x118], ecx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4f90bd1e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x4f90bd1e
cmp dword [ebp + 0x18], 1
jne 0x4f90bced
push esi
mov esi, 0x106
lea ecx, [ebp - 0x10c]
mov edx, esi
call fcn.4f903ad2
push 0x4f901964
mov edx, esi
lea ecx, [ebp - 0x10c]
call fcn.4f903b05
lea esi, [ebp - 0x10c]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x118]
mov edx, str.Package
push 2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push ebx
push 0
push esi
call fcn.4f924e71
jmp 0x4f90bd21
push 0xb
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f915630
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4f90c5d1
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push 3
mov edi, edx
and dword [esi], 0
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
jne 0x4f90c5f4
push 4
pop eax
jmp 0x4f90c612
push dword [ebp + 0x10]
mov edx, ebx
mov ecx, eax
push dword [ebp + 8]
push edi
push 0
call fcn.4f90c22c
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4f90c619
Capabilities:
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push 0x10
mov esi, ecx
mov dword [ebp - 4], edx
push 2
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4f90c67e
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4f90c677
mov ecx, dword [ebp - 4]
add esi, 0x3c
push edi
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
test ecx, ecx
je 0x4f90c65c
mov dword [eax + 0xc], ecx
jmp 0x4f90c663
mov eax, dword [ebp - 8]
and dword [eax + 0x48], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 3
call dword [sym.imp.USER32.dll_SetClipboardData]
xor eax, eax
jmp 0x4f90c681
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 4
pop eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f90d410
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4f918464]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
call fcn.4f905812
test eax, eax
jne 0x4f90d436
push 0x12
pop eax
jmp 0x4f90d583
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.4f903a8f
test eax, eax
jne 0x4f90d448
push 0x10
jmp 0x4f90d430
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.4f903a8f
test eax, eax
je 0x4f90d444
push edi
mov edi, dword [ebp + 0x18]
xor edx, edx
inc edx
mov ecx, edi
call fcn.4f903a8f
test eax, eax
jne 0x4f90d470
push 0x10
pop eax
jmp 0x4f90d582
push esi
mov esi, dword [ebp + 0x14]
xor edx, edx
mov ecx, esi
call fcn.4f903a8f
test eax, eax
jne 0x4f90d485
push 0x10
jmp 0x4f90d500
cmp byte [esi], 0
jne 0x4f90d48e
push 0x1d
jmp 0x4f90d500
and dword [edi], 0
push 0xffffffffffffffff
push 0x4f9016d4
push 0xffffffffffffffff
push dword [ebp + 8]
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
je 0x4f90d4b0
push 0xf
jmp 0x4f90d500
movzx eax, word [0x4f918810]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4f90d4dc
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 1
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
push esi
call fcn.4f924e71
jmp 0x4f90d581
movzx eax, word [0x4f9187f4]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [0x4f918814], eax
test eax, eax
je 0x4f90d4fe
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4f90d503
push 0xb
pop eax
jmp 0x4f90d581
mov ecx, eax
call fcn.4f90b848
push dword [0x4f918814]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 0x20]
mov eax, dword [ebp - 8]
push dword [ebp + 0x1c]
push edi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x4f90d53b
call sym.OLECLI32.dll_DefCreateLinkFromClip
mov ecx, eax
jmp 0x4f90d578
imul eax, eax, 0x2c
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 0x4f918ae8]
mov esi, dword [eax + 0x4f918af4]
mov dword [ebp - 0xc], ecx
mov ecx, esi
call dword [0x4f91a330]
call esi
mov ecx, eax
cmp ecx, 1
jle 0x4f90d570
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
dec eax
mov dword [edx + 0x4f918ae8], eax
jmp 0x4f90d578
mov eax, dword [edi]
mov edx, dword [ebp - 8]
mov dword [eax + 0x20], edx
and dword [0x4f918814], 0
mov eax, ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.4f915630
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4f911a22
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4f918464]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
xor edi, edi
mov dword [esp + 0x18], eax
push ecx
push edi
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.4f910760
push 0x4f901cc0
lea ecx, [esp + 0x1c]
call fcn.4f91051c
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x4f911aa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4f911adc
mov ecx, dword [ebp + 4]
mov edx, 0xc8
push 0x4f901bf4
call fcn.4f91125d
mov edi, eax
jmp 0x4f911adc
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.4f911907
mov ebx, eax
test ebx, ebx
jns 0x4f911ace
push ebx
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xce
call fcn.4f91123e
mov edi, ebx
jmp 0x4f911adc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
test esi, esi
je 0x4f911ae6
push esi
call fcn.4f9117b6
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.4f915630
mov esp, ebp
pop ebp
ret 8
Function at 0x4f91f3ab
Capabilities:
Encode data using xor

Disassembly:
call 0x4f91f324
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x4f91f354
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4f91f370
xor edx, 0
jmp 0x4f91f37b
xor edx, edx
jmp 0x4f91f392
jmp 0x4f91f39e
xor eax, eax
push 0x8427d7c0
call 0x4f91f3ab
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x4f91f3e7
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x4f91f3c0
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x4f91f3fe
add eax, 0
jno 0x4f91f403
add esi, 0
ret 0x10

Function at 0x4f92016c
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x4f92018e
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x4f920330
cmp edi, dword [ebp + 0x10]
jb 0x4f920330
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.4f91fc58
inc edi
jmp 0x4f920217
jmp 0x4f920224
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f91fc58
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f91fc58
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x4f920278
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x4f92025c
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.4f9202a6
add dword [eax], 0x39
jle 0x4f920282
sub al, 0xf5
mov ch, al
call fcn.4f9202bb
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10