joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431940
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042c0f0
test eax, eax
je 0x431a2f
mov ecx, edi
call fcn.0042c0f0
mov ecx, eax
call fcn.00429760
test eax, eax
jne 0x431a2f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x431a2f
mov eax, dword [0x903da0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x4319a2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042c0f0
mov ecx, eax
call fcn.00429990
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x431a2f
cmp ebx, eax
jne 0x431a2f
cmp dword [esp + 0x10], eax
jne 0x431a15
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x434660
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d938
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x434699
inc eax
mov dword [esi + 0x10], eax
jmp 0x4347ac
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4346ad
mov eax, 0xffffffc7
jmp 0x4347ae
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4346be
cmp dword [esi + 8], eax
jne 0x4346ad
cmp dword [esi + 8], eax
jne 0x4346d7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4346d7
mov eax, 0xffffffc7
jmp 0x4347ae
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4346eb
push eax
mov ecx, ebx
call fcn.00433e90
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00403600
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43471c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00403620
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00433600
test eax, eax
mov dword [esp + 0x38], eax
je 0x43474f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8d8558
call fcn.00403800
mov eax, dword [esp + 0x38]
jmp 0x4347ae
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004344c0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x434793
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004344e0
mov esi, eax
test esi, esi
jne 0x4347c3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004344c0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x434765
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8d8558
call fcn.00403800
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8d8558
call fcn.00403800
mov eax, esi
jmp 0x4347ae

Function at 0x4378f0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x437950
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x437950
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x437950
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x437950
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x437990
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43d8a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46df68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00466b5b
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043d240
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00466a89
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046334d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046334d
push 1
push 0
push 0
mov ecx, esi
call fcn.004632f5
push 1
push 0
push 1
mov ecx, esi
call fcn.004632f5
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00466bcd
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43da20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46df88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00466b5b
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043d240
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00466a89
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43dae4
cmp dword [esp + 0x40], 1
jne 0x43dae2
cmp ecx, eax
jge 0x43dae4
mov eax, ecx
cmp eax, 0xc8
jge 0x43daf0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043d8a0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00466bcd
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43e270
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46dff3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046176b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00466e03
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00468362
test eax, eax
je 0x43e38c
mov ecx, dword [esp + 0x3c]
call fcn.00466e30
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43e350
push edi
mov ecx, esi
call fcn.00464498
mov ecx, esi
call fcn.0043e4f0
cmp dword [esp + 0x38], 1
jne 0x43e385
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004645d3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x440da0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x440dd3
push esi
call fcn.00443eb0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x440dcc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x440e59
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x440e42
mov eax, dword [esi + 8]
test eax, eax
je 0x440df7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x440e3e
cmp eax, 2
je 0x440e42
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x440dea
cmp eax, 3
je 0x440e1d
cmp eax, 1
jne 0x440dea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x440dea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x440dea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00440e80
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x440e68
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00440e80
add esp, 4
pop esi
ret

Function at 0x44cce0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44cd83
test eax, eax
jbe 0x44cd83
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44cd83
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44cd2e
xor esi, esi
jmp 0x44cd34
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44cd5f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00404000
add esi, eax
push esi
mov ebx, esi
call fcn.00404000
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44cd40
pop ebp
test edi, edi
pop edi
jne 0x44cd83
test ebx, ebx
je 0x44cd83
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00451220
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44cec5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44cfdd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44cfdd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00461bbd
mov esi, eax
test esi, esi
je 0x44cfdd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44cfdd
mov ecx, esi
call fcn.0044ce30
cmp edi, eax
jge 0x44cfdd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44cf63
mov dword [esp + 0x34], 1
jmp 0x44cfbe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44cfdd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044c3d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x462560
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x462598
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00460617
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004605ef
jmp 0x4625a4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x463c55
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x463c97
call fcn.00469752
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463c97
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463c8e
xor eax, eax
jmp 0x463c9f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00463ca5
pop edi
pop esi
pop ebx
ret 4
Function at 0x469c82
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x469cb0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469cce
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469be8
jmp 0x469cce
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469cce
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469be8
test edi, edi
mov eax, edi
jne 0x469cb8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x436e25
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x436e5d
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x436e4b
mov al, 1
jmp 0x436ea7
cmp dword [ebx + 0x54], ecx
jne 0x436e54
mov al, 2
jmp 0x436ea7
cmp dword [ebx + 0x7c], ecx
jne 0x436ea7
mov al, 3
jmp 0x436ea7
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x436e72
mov al, 4
jmp 0x436ea7
cmp ecx, 5
jne 0x436e92
cmp ebx, 0
jne 0x436e80
mov al, 5
jmp 0x436ea7
cmp ebx, 1
jne 0x436e89
mov al, 6
jmp 0x436ea7
cmp ebx, 2
jne 0x436e92
mov al, 7
jmp 0x436ea7
cmp ecx, 6
jne 0x436e9e
cmp ebx, 0
jne 0x436ea0
mov al, 8
jmp 0x436ea7
cmp ebx, 1
jne 0x436ea7
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47980a
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
call 0x47980a
push ebp
push word [esp + 3]
lea esp, [esp + 5]
call fcn.004ac7f2
sub al, 0x10
ror dword [0xe1f6ef9c], cl
xor al, 0x82
cdq
cmp eax, ebp
cmp ebp, dword [edi]
add eax, dword [eax]
call 0x4ac764
jle 0x479818
mov eax, dword [esi - 0x3cac20bd]
cmpsb byte [esi], byte es:[edi]
push ebp
out 0x56, eax
rol dword [eax - 0x32b105bd], 0x5d
jne 0x479824
je 0x479802
push esp
pop word [esp]
lea esp, [esp + 1]
lea esp, [esp + 1]
jmp 0x4acad8
push dword [esp + 2]
lea esp, [esp + 8]
jmp 0x4ac833
mov eax, 0x5a4d
call fcn.004acbbc

Function at 0x4abae1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 0x78]
call fcn.004ab7cb
invalid

Function at 0x6588b8
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 4]
jmp fcn.0057c0d8

Function at 0x66550a
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dh, bh
mov dx, cx
not edi
rdtsc
mov dh, ch
mov ax, 0xa831
jmp 0x665423
setp dh
mov ax, word [esp]
push edi
mov dl, 0x44
mov dh, 2
mov dl, dh
jmp 0x6653e3
mov edi, dword [esp + 4]
mov ax, word [esp]
mov edx, 0x1e24845c
call fcn.006654c4
daa
dec esi
fnstcw word [eax]
push esp
mov dh, byte [esp + 3]
mov dword [esp], ebp
mov dh, 0x88
mov dh, byte [esp + 1]
rdtsc
jmp 0x66540d
mov eax, 0x765bc1aa
mov dx, sp
mov dx, bx
mov eax, ecx
mov dx, sp
lea edx, [eax + 0x21]
jmp 0x6653fd
push dword [esp + 2]
mov dword [esp + 2], eax
mov dl, 0x2c
not edx
jmp 0x66543e

Function at 0x66ace5
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebx, dword [esp + 4]
lea eax, [edi + edi]
mov ebp, 0x5227080e
not bp
push edx
mov ebp, dword [esp + 1]
jmp 0x66ad2e
lea esp, [esp + 2]
jmp 0x66acca
Function at 0x481900
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [0x42f338]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x481926
xor eax, eax
jmp 0x4819ad
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4550
je 0x481941
xor eax, eax
jmp 0x4819ad
mov edx, dword [ebp - 8]
add edx, 0x18
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x10b
je 0x481967
cmp dword [ebp - 0x14], 0x20b
je 0x481987
jmp 0x4819ab
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x5c], 0xe
ja 0x481974
xor eax, eax
jmp 0x4819ad
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0xd0], 0
setne cl
mov eax, ecx
jmp 0x4819ad
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6c], 0xe
ja 0x48199a
xor eax, eax
jmp 0x4819ad
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ecx + 0xe0], 0
setne al
jmp 0x4819ad
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x403fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x488250]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x489460], 0
jne 0x40401c
push edi
push 8
push 0x88
push dword [0x48c048]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40401b
push esi
push edi
push dword [0x48c048]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push dword [0x48c048]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push esi
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
mov dword [0x489460], eax
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004380af
mov esp, ebp
pop ebp

Function at 0x4043f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
mov eax, ecx
push esi
push edi
mov dword [ebp - 8], eax
xor esi, esi
mov edi, dword [eax + 0x24]
push edi
call ebx
test eax, eax
jne 0x40442a
cmp esi, 0x3e8
jge 0x404475
push 1
inc esi
call fcn.00413430
add esp, 4
push edi
call ebx
test eax, eax
je 0x404410
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.00404550
movaps xmm0, xmmword [0x4616d0]
lea ebx, [esi + 0x28]
push 4
mov ecx, ebx
mov dword [ebp - 0x10], ebx
movups xmmword [ebp - 0x20], xmm0
call fcn.00404720
xor eax, eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
nop dword [eax]
mov edi, dword [ebx]
mov esi, dword [ecx]
add edi, eax
mov dword [edi], esi
cmp esi, 0xe
ja 0x404482
xor eax, eax
mov word [edi + 4], ax
jmp 0x404496
test eax, eax
jne 0x40442a
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x64
lea ebx, [edi + 4]
push ebx
push esi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
test eax, eax
jne 0x404496
mov word [ebx], ax
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x4044dd
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
lea ecx, [edi + 0xcc]
mov esi, eax
call fcn.004045e0
push ebx
push esi
push dword [edi + 0xcc]
call fcn.0043abd0
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add eax, 0xd8
mov ebx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp eax, 0x360
jl 0x404460
mov edi, dword [sym.imp.USER32.dll_CloseClipboard]
xor esi, esi
call edi
test eax, eax
jne 0x40453a
nop dword [eax]
cmp esi, 0x3e8
jge 0x404532
push 1
inc esi
call fcn.00413430
add esp, 4
call edi
test eax, eax
je 0x404510
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x404479
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret