joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2730
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53c160]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004c3bbd
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004af47b
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f27ad
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x53c160]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00406880
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], 0
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.004058d0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
movzx eax, ax
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0
test ebx, ebx
je 0x4050e0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
test eax, eax
je 0x4050dd
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp + 8]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], ax
jne 0x4050fa
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.004089c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4096b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2730
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53c160]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004c3bbd
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004af47b
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x2c]
mov edx, dword [eax]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
lea eax, [ecx + edx]
cmp ecx, eax
jae 0x40bad0
movzx eax, byte [ecx]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
push ebx
mov ebx, dword [esi + 0x40]
push edi
mov edi, ebx
cmp dword [eax], ebx
jne 0x40baf5
mov eax, dword [esi + 0x3c]
sub ecx, eax
push eax
add ecx, edx
push ecx
push ebx
call fcn.004c5bb0
mov edi, dword [esi + 0x3c]
add esp, 0xc
add edi, ebx
mov eax, dword [esi + 0x44]
lea ecx, [ebp - 4]
sub eax, dword [esi + 0x40]
push 0
sub eax, edi
push ecx
add eax, ebx
push eax
push edi
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x40bb3e
mov eax, dword [ebp - 4]
test eax, eax
je 0x40bb3e
lea ecx, [eax + edi]
mov eax, dword [esi + 0xc]
sub ecx, edi
mov dword [eax], ebx
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov eax, dword [esi + 0x2c]
pop edi
pop ebx
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
pop esi
mov eax, dword [eax]
movzx eax, byte [eax]
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40bfd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f27ad
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x53c160]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00406880
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], 0
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.00409920
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 0
test ebx, ebx
je 0x40c08d
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
test eax, eax
je 0x40c08a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp + 0xb]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x40c0a6
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.004089c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e850
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3190
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x22c], eax
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
or ebx, 0x2001f
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
lea edx, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push edx
push ebx
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x21c]
test esi, esi
jne 0x40e9de
xor esi, esi
test eax, eax
je 0x40e8f4
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x224]
and ebx, 0x300
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
test esi, esi
jne 0x40e9de
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x234]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x100
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
call ebx
test eax, eax
jne 0x40e997
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040e850
mov esi, eax
test esi, esi
jne 0x40e9d8
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x21c]
call ebx
test eax, eax
je 0x40e950
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x40e9ae
push eax
call edi
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x218], 0
call fcn.0040ea10
mov ecx, dword [ebp - 0x21c]
mov esi, eax
test ecx, ecx
je 0x40e9e5
push ecx
jmp 0x40e9e3
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x40e9e5
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 4
Function at 0x40fa80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f324b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x40fb2c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x40fb2c
call fcn.0040dd80
mov edi, eax
jmp 0x40fc51
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40fb4f
call fcn.0040dd80
jmp 0x40fc44
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x40fb6d
call fcn.0040dd80
jmp 0x40fc44
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x40fb8e
mov edi, 0x8007000e
jmp 0x40fc46
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x40fc8a
jb 0x40fbac
cmp eax, 0xffffffff
ja 0x40fc8a
cmp eax, 0x400
jbe 0x40fbc4
push eax
lea ecx, [ebp - 0x418]
lfence
call fcn.0040dd50
jmp 0x40fbea
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x40fbea
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x40fc01
mov edi, 0x8007000e
jmp 0x40fc46
push edi
lfence
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40fc24
call fcn.0040dd80
jmp 0x40fc44
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040f8a0
mov edi, eax
test esi, esi
je 0x40fc51
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40fc6a
lea ecx, [ebp - 0x418]
call fcn.0040dd30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
lfence
call fcn.00407080
int3
Function at 0x416a70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3d8b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x53c160]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov byte [edi + 0x3c], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x38], 0xffffffff
push 1
push 5
push 0x5109ec
push 0xa
mov dword [edi], vtable.fusion::debugviewpp::CFilterDlg.0
lea ecx, [edi + 0x44]
push 0x510a1c
mov dword [edi + 0x40], 0
call fcn.0046cc10
mov dword [edi + 0x44], vtable.fusion::debugviewpp::CFilterPage.0
push 0
push 3
push 0x51099c
push 7
push 0x510a00
lea ecx, [edi + 0x180]
call fcn.0046cc10
mov dword [edi + method.fusion::debugviewpp::CFilterPage.virtual_0], vtable.fusion::debugviewpp::CFilterPage.0
mov dword [edi + 0x2c0], 0
mov dword [edi + 0x2d0], 0
mov dword [edi + 0x2d4], 0
mov dword [edi + 0x2d8], 0
mov dword [edi + method.fusion::debugviewpp::CRegExDlg.virtual_0], vtable.fusion::debugviewpp::CRegExDlg.0
movups xmm0, xmmword [ebp + 8]
mov dword [edi + 0x2e4], 0
xor eax, eax
mov dword [edi + 0x2f4], 0
mov dword [edi + 0x2f8], 0
movups xmmword [edi + 0x2e4], xmm0
mov word [ebp + 8], ax
movq xmm0, qword [ebp + 0x18]
movq qword [edi + 0x2f4], xmm0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov edx, dword [ebp - 0x10]
lea esi, [edi + 0x2fc]
mov byte [ebp - 4], 6
mov ecx, esi
push edx
mov dword [ebp - 0x18], esi
call fcn.00418bf0
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 0xc]
add eax, 0xc
mov byte [ebp - 4], 7
push eax
call fcn.00418bf0
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x164]
mov byte [ebp - 4], 8
cmp ecx, eax
je 0x416c13
push dword [ebp - 0x14]
push dword [eax + 4]
push dword [eax]
call fcn.0042eda0
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x416c29
push ecx
lea ecx, [edi + 0x44]
call fcn.0046edd0
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x2a0]
add eax, 0xc
cmp ecx, eax
je 0x416c46
push dword [ebp - 0x14]
push dword [eax + 4]
push dword [eax]
call fcn.0042eda0
push dword [edi + 0x184]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x416c62
push ecx
lea ecx, [edi + 0x180]
call fcn.0046edd0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x416c98
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416c8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416cad
push edx
push ecx
call fcn.004c3baf
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004cecff
int3
Function at 0x417170
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push 0
push edi
push 0x130c
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, 5
test edi, edi
cmove eax, ecx
push eax
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, 5
cmp edi, 1
cmove eax, ecx
push eax
push dword [ebx + 0x184]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
pop ebp
ret 4
Function at 0x41a950
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x41a981
lfence
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41a970
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x41ad40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x41ad6b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41ad54
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x4243f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x424459
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [edi*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
add edi, edi
mov ebx, eax
push edi
push dword [ebp - 4]
push ebx
call fcn.004c5bb0
add esp, 0xc
xor eax, eax
mov word [edi + ebx], ax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x427680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x427768
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x427757
jg 0x4276c0
test edx, edx
je 0x427757
nop dword [eax]
call fcn.00403f60
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x427714
jg 0x4276d7
test esi, esi
je 0x427714
cmp ebx, eax
jg 0x4276e7
jl 0x4276e1
cmp edi, esi
jae 0x4276e7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.004c5bb0
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x42773b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x427751
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x4276c0
jl 0x427751
test edi, edi
jne 0x4276c0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x42778a
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x42778c
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x42780a
jg 0x42779f
test esi, esi
je 0x42780a
test eax, eax
jl 0x4277ee
jg 0x4277a9
test ebx, ebx
je 0x4277ee
cmp edi, eax
jg 0x4277b9
jl 0x4277b3
cmp esi, ebx
jae 0x4277b9
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.004c5bb0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x42780a
jg 0x4277f1
test esi, esi
je 0x42780a
jmp 0x4277f1
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x42780a
push eax
push esi
push 1
push edx
call fcn.004d32a8
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427e40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x427e70
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x427eac
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x427eac
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x427f97
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x427ed4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x427f07
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004d2545
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x427f67
sub eax, 1
je 0x427f67
sub eax, 2
jne 0x427f97
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0041c920
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x427f87
lfence
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004d32a8
add esp, 0x10
cmp edi, eax
jne 0x427f97
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x427e97
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 4