joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428910
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
test edi, edi
mov esi, ecx
je 0x428935
cmp edi, 1
je 0x428935
cmp edi, 0xffffffff
je 0x42896f
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10
ret 4
cmp edi, 0xffffffff
je 0x42896f
mov eax, dword [esi + edi*4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x428956
mov ecx, dword [esi + edi*4]
push 5
push ecx
call ebx
xor edx, edx
push 0
test edi, edi
sete dl
mov eax, dword [esi + edx*4]
push eax
call ebx
cmp dword [esi + 0x1c], edi
je 0x42898a
mov dword [esi + 0x1c], edi
jmp 0x42898a
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x42898a
xor ecx, ecx
push 5
test eax, eax
sete cl
mov edx, dword [esi + ecx*4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 0xffffffff
push ebp
mov dword [esi + 0x40], edi
jne 0x42899c
cmp dword [esi + 0x18], edi
je 0x428aca
test esi, esi
je 0x4289a5
lea ebp, [esi - 0x20]
jmp 0x4289a7
xor ebp, ebp
xor ebx, ebx
cmp edi, 0xffffffff
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jne 0x428a70
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x428a06
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x20]
push 1
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x28]
add edx, edi
add edx, ecx
lea ecx, [esp + 0x14]
add edx, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 4]
push ecx
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor edi, edi
mov ebx, esi
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push edi
call fcn.00429500
test al, al
je 0x428a5b
mov edx, dword [ebx]
test edx, edx
je 0x428a4a
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
sub ecx, eax
push 4
push ecx
mov ecx, dword [esp + 0x18]
sub ebp, ecx
push ebp
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebp, dword [esp + 0x24]
jmp 0x428a5b
mov eax, dword [ebp + 4]
lea edx, [esp + 0x10]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
inc edi
add ebx, 4
cmp edi, 2
jl 0x428a0a
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret 4
lea ecx, [esp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.00429500
test al, al
je 0x428aca
mov edx, dword [esi + 0x40]
mov esi, dword [esi + edx*4]
cmp esi, ebx
je 0x428ab9
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub ecx, eax
push 4
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
push ecx
push ebx
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret 4
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x10]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret 4
Function at 0x429f7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebp, dword [esp + 0x18]
mov eax, dword fs:[0x30]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov edi, dword [edi]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x429f90
test ebp, ebp
je 0x429fa0
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x429fe0
mov edx, dword [edi + 0x30]
movzx eax, word [edx]
test ax, ax
je 0x429f90
add edx, 2
xor ecx, ecx
lea esi, [esi]
lea esi, [eax - 0x41]
lea ebx, [eax + 0x20]
cmp si, 0x1a
cmovb eax, ebx
add edx, 2
movzx eax, ax
add ecx, eax
movzx eax, word [edx - 2]
test ax, ax
jne 0x429fbc
cmp dword [esp + 0x14], ecx
jne 0x429f90
pop ebx
mov eax, dword [edi + 0x18]
pop esi
pop edi
pop ebp
ret

Function at 0x429fec
Capabilities:
Access peb ldr_data
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
add eax, 0xc
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x429fff
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 0
mov dword [esp + 0x1c], eax
mov eax, dword [0x483aa0]
mov dword [esp], eax
call fcn.00429f7c
mov ecx, dword [0x483ab4]
mov edi, eax
mov eax, dword [ecx]
test eax, eax
je 0x42a088
movzx edx, word [esi]
movzx ebp, byte [ecx]
test dx, dx
je 0x42a1af
xor eax, eax
lea esi, [esi]
nop
add eax, 1
cmp word [esi + eax*2], 0
jne 0x42a04c
mov ebx, ebp
cmp bl, al
je 0x42a065
cmp byte [ecx + 1], al
jne 0x42a1a2
lea eax, [esi + 2]
xor esi, esi
nop
add eax, 2
add esi, edx
movzx edx, word [eax - 2]
test dx, dx
jne 0x42a06c
cmp dword [ecx + 4], esi
je 0x42a088
cmp dword [ecx + 8], esi
jne 0x42a1a2
mov eax, dword [0x483aa8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [0x483ac0]
xor edx, edx
sub esp, 0x10
test ecx, ecx
je 0x42a0ea
lea esi, [esi]
mov ecx, dword [0x483ac8]
mov ecx, dword [ecx + edx]
mov dword [eax + edx], ecx
mov ecx, dword [0x483a8c]
add edx, ecx
mov ecx, dword [0x483ac0]
cmp ecx, edx
ja 0x42a0cc
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00429e2c
mov edi, eax
test eax, eax
je 0x42a1a2
mov esi, dword [0x483aac]
lea ebp, [esp + 0x2c]
mov edx, dword [0x483ac0]
mov dword [esp + 0xc], ebp
mov eax, dword [0x483ab0]
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call edi
mov eax, dword [0x483a9c]
sub esp, 0x10
invalid
invalid

Function at 0x42a130
Capabilities:
Terminate process

Disassembly:
mov al, 0x3a
dec eax
add byte [ebx + 0x11c245c], cl
ret

Function at 0x42a190
Capabilities:
Terminate process

Disassembly:
cmp cl, byte [eax]
sub esp, 0x10
add eax, dword [esi + 0xc]
add eax, esi
add esi, edx
mov dword [esp], esi
call eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x42bff0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x14
lea ecx, [esp]
call fcn.00409fc0
lea eax, [esp + 0x18]
lea ecx, [esp]
push eax
call fcn.0040a060
lea ecx, [esp]
call fcn.0040a1b0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42c082
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [esp + 0x10]
call fcn.0040a360
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0040a360
lea ecx, [esp + 0x10]
mov ebp, eax
call fcn.0040a350
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0xf
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
lea ecx, [esp]
call fcn.00409fe0
mov eax, dword [esp + 0x18]
mov edx, dword [0x46b220]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42c0ba
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42c0ba
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00459de2
add esp, 4
add esp, 0x14
ret

Function at 0x42c2a0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [0x46d97c]
sub esp, 8
cmp eax, 0xffffffff
jne 0x42c34e
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x10]
xor edi, edi
push eax
push ecx
push edi
push 2
push edi
push edi
push edi
push str.MC_Admin_Test
push SysReAllocStringLen
mov dword [0x46d97c], edi
xor esi, esi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
jne 0x42c33b
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push 0xf003f
push edi
push edi
push SysReAllocStringLen
mov dword [0x46d97c], 1
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c325
cmp esi, edi
je 0x42c321
push esi
call ebp
mov esi, dword [esp + 0x10]
push str.MC_Admin_Test
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x42c33b
mov dword [0x46d97c], edi
mov ebx, dword [0x46d97c]
cmp esi, edi
je 0x42c348
push esi
call ebp
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x42f980
Capabilities:
Create directory

Disassembly:
sub esp, 0x800
push ebx
push ebp
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esp + 0x410]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x814]
lea ecx, [esp + 0x10]
push eax
push 0x46c0ac
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x1c]
push edx
call fcn.0045a751
mov edi, eax
add esp, 0x10
test edi, edi
jle 0x42f9ef
lea eax, [esp + 0x10]
mov ecx, edi
cmp word [eax], 0x2f
jne 0x42f9e9
mov word [eax], 0x5c
add eax, 2
dec ecx
jne 0x42f9de
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor ebx, ebx
xor esi, esi
test edi, edi
jle 0x42fa28
cmp word [esp + esi*2 + 0x10], 0x5c
jne 0x42fa16
lea eax, [esp + 0x410]
push 0
push eax
call ebp
test eax, eax
je 0x42fa16
inc ebx
mov cx, word [esp + esi*2 + 0x10]
mov word [esp + esi*2 + 0x410], cx
inc esi
cmp esi, edi
jl 0x42f9fd
lea edx, [esp + 0x410]
push 0
push edx
call ebp
test eax, eax
je 0x42fa39
inc ebx
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x800
ret
Function at 0x42fa50
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x218
mov eax, dword [0x4837e4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24]
xor ebx, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
push ecx
push 0x467050
push 1
push ebx
push 0x467080
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebp, dword [esp + 0x234]
mov esi, dword [esp + 0x22c]
test eax, eax
jl 0x42fb72
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push 0x467220
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x42fb72
mov ecx, dword [esp + 0x244]
mov eax, dword [esp + 0x10]
cmp ecx, ebx
mov edx, dword [eax]
jne 0x42fae3
push esi
push eax
call dword [edx + 0x50]
jmp 0x42fae8
push ecx
push eax
call dword [edx + 0x14]
cmp eax, ebx
jl 0x42fb72
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x238]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jl 0x42fb72
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x23c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jl 0x42fb72
mov eax, dword [esp + 0x18]
push 1
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x240]
push ecx
push esi
mov edx, dword [eax]
push eax
call dword [edx + 0x44]
test eax, eax
jl 0x42fb72
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
mov edx, dword [eax]
push 0x104
push ecx
push eax
call dword [edx + 0x40]
test eax, eax
jl 0x42fb72
mov eax, dword [esp + 0x18]
push 1
push ebp
push eax
mov edx, dword [eax]
mov dword [esp + 0x20], 1
call dword [edx + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x42fb80
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x42fb8e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [0x46b220]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x42fbb4
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x42fbb4
push esi
call fcn.00459de2
add esp, 4
mov eax, dword [esp + 0x230]
mov edx, dword [0x46b220]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42fbdb
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x42fbdb
push esi
call fcn.00459de2
add esp, 4
mov eax, dword [0x46b220]
lea edx, [ebp - 0xc]
cmp edx, eax
je 0x42fbfa
lea esi, [ebp - 0xc]
push esi
call edi
test eax, eax
jg 0x42fbfa
push esi
call fcn.00459de2
add esp, 4
mov esi, dword [esp + 0x238]
mov ecx, dword [0x46b220]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x42fc21
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x42fc21
push esi
call fcn.00459de2
add esp, 4
mov esi, dword [esp + 0x23c]
mov eax, dword [0x46b220]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x42fc47
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x42fc47
push esi
call fcn.00459de2
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
Function at 0x42fe50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x83c
mov edx, dword [esp + 0x840]
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 4]
push edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x854]
mov ecx, dword [0x4837e4]
or ah, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x44], ecx
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x48]
lea edx, [esp + 0x44]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x24], str._UserProfile_
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x40]
push 0x2e
push eax
call fcn.0045a555
add esp, 8
test eax, eax
pop edi
je 0x42fecc
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x844]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x848]
lea ecx, [esp]
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
add esp, 0x83c
ret
Function at 0x430470
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 8

Function at 0x4304a0
Capabilities:
Delete registry key

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x483978]
xor ebp, ebp
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x4304c3
mov dword [esp + 0xc], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x430515
mov eax, dword [0x46b21c]
test esi, esi
mov dword [esp + 0xc], eax
jne 0x4304d4
xor ebx, ebx
jmp 0x4304dd
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push ebx
lea ecx, [esp + 0x10]
call fcn.00401de0
test eax, eax
je 0x430515
lea eax, [ebx + ebx]
push edi
mov edi, dword [esp + 0x10]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0xc]
mov word [eax + edx], 0
mov ecx, dword [esp + 0x14]
mov eax, reloc.OLEAUT32.dll_SysReAllocString
test ecx, ecx
jne 0x430527
mov eax, SysReAllocStringLen
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43054f
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x43056a
push ebp
call esi
xor ebp, ebp
mov eax, dword [esp + 0xc]
mov edx, dword [0x46b220]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x430599
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x430599
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00459de2
add esp, 4
test ebp, ebp
je 0x4305a0
push ebp
call esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x43c540
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, ecx
push edi
push 0
push 0
mov eax, dword [esi + 0x4f4]
push 0x1042
push eax
call ebp
mov edi, dword [esi + 0x25c]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x43c701
mov ecx, dword [esi + 0x4f4]
push 0
push 0
push 0x101f
push ecx
call ebp
lea edx, [esp + 0x34]
mov dword [esp + 0x34], 1
push edx
push 0
push 0x120b
push eax
call ebp
mov ecx, dword [esi + 0x4f4]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
sub ebx, ecx
cmp ebx, 0x1f4
jge 0x43c5c9
mov ebx, 0x1f4
mov edx, dword [esi + 0x4f4]
push 0
push 0
push 0x1032
push edx
add edi, 0xc
call ebp
mov ebp, eax
mov eax, dword [esi + 0x4f4]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43c701
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
imul ebp, edi
mov ecx, dword [esp + 0x10]
push ebp
push ebx
push ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, dword [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x2c], ebx
xor ebx, ebx
cmp ebp, eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], edi
jle 0x43c6e1
mov eax, dword [esi + 0x4f4]
push 2
push ebx
push 0x102c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43c6dc
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x80], edx
lea edx, [esp + 0x60]
push 2
mov dword [esp + 0x8c], ecx
push edx
push 0x409
mov ecx, esi
mov dword [esp + 0x90], eax
mov dword [esp + 0x74], ebx
call fcn.004389f0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
add ecx, edi
add eax, edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
inc ebx
cmp ebx, ebp
jl 0x43c66f
mov eax, dword [esp + 0x20]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [esp + 0x10]
push ecx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 4
Function at 0x43c710
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
mov edi, dword [esp + 0xc]
test eax, eax
je 0x43c76a
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 6]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x43c764
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
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]
mov eax, dword [0x46b220]
lea ecx, [edi - 0xc]
cmp ecx, eax
je 0x43c78d
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c78d
push esi
call fcn.00459de2
add esp, 4
pop edi
pop esi
ret 4
Function at 0x43c7a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x280
mov eax, dword [0x4837e4]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x84], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x84]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [ebx + 0x4f4]
push 0
push 0
push 0x1032
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp eax, 1
jne 0x43c818
mov eax, dword [ebx + 0x38]
lea ecx, [esp + 0x84]
push eax
push ecx
call esi
lea edx, [esp + 0x84]
push 0x47f550
push edx
call esi
lea eax, [esp + 0x84]
push str.FontViewOK_tmp.png
push eax
call esi
mov eax, dword [esp + 0x290]
test eax, eax
jne 0x43c900
mov ecx, 0x15
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x84]
push 0x4837e8
push ecx
call esi
push 0
mov dword [esp + 0x30], 0x58
mov dword [esp + 0x64], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x34], eax
mov eax, 0x104
lea edx, [esp + 0x84]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x48], edx
call fcn.0040a660
lea eax, [esp + 0x2c]
mov dword [esp + 0x44], 1
push eax
mov dword [esp + 0x3c], str.PNG__.png_
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
test eax, eax
je 0x43c96c
lea ecx, [esp + 0x84]
push 0x2e
push ecx
call fcn.0045a555
add esp, 8
test eax, eax
je 0x43c8e8
push 0x47f4f4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43c8f7
lea edx, [esp + 0x84]
push 0x47f4f4
push edx
call esi
lea ecx, [esp + 0x1c]
call fcn.0040a6e0
lea ecx, [esp + 0xc]
call fcn.0040a660
push 0
mov ecx, ebx
call fcn.0043c540
push 0
lea ecx, [esp + 0x10]
call fcn.0040a880
test eax, eax
jne 0x43c957
push 0x47f4e0
lea eax, [esp + 0x88]
push 0x4b
push eax
lea ecx, [esp + 0x18]
call fcn.0040a8c0
test eax, eax
je 0x43c957
mov eax, dword [esp + 0x290]
test eax, eax
je 0x43c957
lea ecx, [esp + 0x84]
push ecx
mov ecx, ebx
call fcn.0043c990
lea ecx, [esp + 0xc]
call fcn.0040a6e0
pop edi
pop esi
pop ebx
add esp, 0x280
ret 4
lea ecx, [esp + 0x1c]
call fcn.0040a6e0
pop edi
pop esi
pop ebx
add esp, 0x280
ret 4
Function at 0x43c990
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x858
mov eax, dword [0x4837e4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
mov dword [esp + 0x5c], eax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x5c]
push str.mspaint
push ecx
call esi
lea edx, [esp + 0x5c]
push 0x47f554
push edx
call esi
mov eax, dword [esp + 0x864]
lea ecx, [esp + 0x5c]
push eax
push ecx
call esi
lea edx, [esp + 0x5c]
push 0x46d884
push edx
call esi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov dword [esp + 0xc], eax
push ecx
mov dword [esp + 0x14], eax
push edx
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x30], eax
push eax
lea eax, [esp + 0x7c]
push eax
push 0
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], 1
mov word [esp + 0x70], 3
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x858
ret 4