joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4468c0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c4f0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4a704c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.0041ae60
add esp, 4
test al, al
jne 0x446901
xor eax, eax
jmp 0x446aa1
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 0x2e
push 0x46d5d8
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], eax
call fcn.0041a970
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push 0x489b00
push esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push str._EditElement_type_1__filepath__s__shortcut__s____EditElement_
push eax
call fcn.0041a760
add esp, 0x10
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x40]
cmovae eax, dword [ebp - 0x58]
push dword [ebp - 0x48]
push eax
call fcn.0041a970
push 0x13
push str.__QQRichEditFormat_
lea ecx, [ebp - 0x40]
call fcn.0041a970
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], eax
jb 0x446996
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x446996
xor esi, esi
jmp 0x4469eb
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
lea esi, [edi + 1]
push esi
call fcn.0044cafb
push esi
mov esi, eax
mov dword [ebp - 0x60], eax
push 0
push esi
call fcn.0044ddf0
add esp, 0x10
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x64]
push eax
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x5c]
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x446a02
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0041a9e0
push esi
call fcn.0044cb04
mov esi, dword [ebp - 0x18]
add esp, 4
inc esi
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push ecx
push esi
push eax
call fcn.00446480
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push dword [0x4a82ac]
call dword [sym.imp.USER32.dll_SetClipboardData]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x446a8c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x446a82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446abe
push edx
push ecx
call fcn.0044ca9a
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.0041a780
lea ecx, [ebp - 0x40]
call fcn.0041a780
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ca89
mov esp, ebp
pop ebp
ret 4
call fcn.00451295
int3
Function at 0x446b30
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x14]
test eax, eax
je 0x446baf
push ebx
push esi
add eax, 3
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [edi + 0x18], 0x10
lea esi, [edi + 4]
mov edx, dword [edi + 0x14]
mov ecx, eax
mov dword [ebp - 4], ecx
mov eax, esi
jb 0x446b6a
mov eax, dword [esi]
push edx
push eax
push edx
push ecx
call fcn.00446480
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 4]
push ebx
mov byte [ecx + eax], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push dword [0x4a82ac]
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x446ba0
mov esi, dword [esi]
mov byte [esi], 0
mov eax, 1
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x446cd0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4a704c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x21
xor eax, eax
mov dword [ebp - 0xc], 0
push str.QQpinyin_Private_Clipboard_Format
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.0041a830
mov eax, dword [ebp - 0xc]
lea ebx, [eax + eax]
lea esi, [ebx + 2]
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
push 0
push edi
call fcn.0044ddf0
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
push ebx
cmovae ecx, dword [ebp - 0x1c]
push ecx
push edi
call fcn.0044df80
mov esi, dword [ebp - 0x20]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push dword [0x4a82b0]
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
cmp eax, 8
jb 0x446d93
mov ecx, dword [ebp - 0x1c]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446d89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446da8
push edx
push ecx
call fcn.0044ca9a
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0044ca89
mov esp, ebp
pop ebp
ret 4
call fcn.00451295
int3
Function at 0x446f00
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4a704c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x1c], ax
mov eax, edx
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
lea esi, [eax + 2]
mov dword [ebp - 8], 7
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x446f30
sub eax, esi
lea ecx, [ebp - 0x1c]
sar eax, 1
push eax
push edx
call fcn.0041a830
mov eax, dword [ebp - 0xc]
lea ebx, [eax + eax]
lea esi, [ebx + 2]
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
push 0
push edi
call fcn.0044ddf0
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
push ebx
cmovae ecx, dword [ebp - 0x1c]
push ecx
push edi
call fcn.0044df80
mov esi, dword [ebp - 0x20]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
cmp eax, 8
jb 0x446fd2
mov ecx, dword [ebp - 0x1c]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446fc8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446fe7
push edx
push ecx
call fcn.0044ca9a
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0044ca89
mov esp, ebp
pop ebp
ret 4
call fcn.00451295
int3
Function at 0x4470a0
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4a704c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4472ed
lea eax, [ebp - 0x218]
mov dword [ebp - 0x23c], 0x201
mov dword [ebp - 0x238], 0xf000000
movq xmm0, qword [ebp - 0x23c]
push eax
mov dword [ebp - 0x218], 0x101
mov dword [ebp - 0x214], 0x1000000
mov dword [ebp - 0x210], 0
movq qword [ebp - 0x228], xmm0
mov dword [ebp - 0x220], 2
mov dword [ebp - 0x21c], 1
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
lea esi, [eax*2 + 0x20]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 2
push esi
push eax
mov dword [edi], eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x4472ed
lea eax, [ebp - 0x218]
push eax
push 0x10040000
push 3
push 2
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAceEx]
test eax, eax
je 0x4472ed
cmp byte [0x4ac17a], 0
jne 0x4472b5
push 0x208
lea eax, [ebp - 0x20c]
mov byte [0x4ac17a], 1
push 0
push eax
call fcn.0044ddf0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4472b5
push 0x46d78c
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0041afe0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0
push eax
lea eax, [ebp - 0x20c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x238], xmm0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x230], eax
test eax, eax
je 0x4472b5
push eax
mov byte [ebp - 0x229], 0
call fcn.00453d0f
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20c]
push esi
push dword [ebp - 0x230]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44726b
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0
push eax
push 0x4a01fc
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44726b
mov eax, dword [ebp - 0x240]
mov byte [ebp - 0x229], 1
mov bx, word [eax + 0xa]
mov ax, word [eax + 8]
jmp 0x447279
mov ax, word [ebp - 0x236]
mov bx, word [ebp - 0x238]
mov word [ebp - 0x22c], ax
test esi, esi
je 0x44728d
push esi
call fcn.00453d0a
add esp, 4
cmp byte [ebp - 0x229], 0
je 0x4472b5
movzx ecx, word [ebp - 0x22c]
movzx eax, bx
cmp eax, 6
ja 0x4472ac
jne 0x4472b5
cmp ecx, 2
jb 0x4472b5
mov byte [0x4ac17b], 1
jmp 0x4472be
cmp byte [0x4ac17b], 0
je 0x4472da
lea eax, [ebp - 0x228]
push eax
push 0x10040000
push 3
push 2
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAceEx]
test eax, eax
je 0x4472ed
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ca89
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca89
mov esp, ebp
pop ebp
ret
Function at 0x447760
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
mov eax, dword [0x4a704c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447784
push 0x800
sub ecx, esi
lea eax, [ebp - 0xc04]
push eax
sar ecx, 1
push ecx
push edx
call fcn.0044b3a0
lea ecx, [ebp - 0xc04]
mov dword [ebp - 0xc0c], 0
add esp, 0x10
mov dword [ebp - 0xc08], 0xf
mov byte [ebp - 0xc1c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xc24], 0
mov dword [ebp - 0xc20], 0xf
mov byte [ebp - 0xc34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4477e8
sub ecx, edx
lea eax, [ebp - 0xc04]
push ecx
push eax
lea ecx, [ebp - 0xc34]
call fcn.0041a9e0
lea eax, [ebp - 0xc1c]
push eax
lea eax, [ebp - 0xc34]
push eax
call fcn.0041b1a0
mov edx, dword [ebp - 0xc20]
add esp, 8
cmp edx, 0x10
jb 0x447854
mov ecx, dword [ebp - 0xc34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44784a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4478e7
push edx
push ecx
call fcn.0044ca9a
add esp, 8
cmp dword [ebp - 0xc08], 0x10
lea ecx, [ebp - 0x404]
push 0x200
push ecx
push dword [ebp - 0xc0c]
lea eax, [ebp - 0xc1c]
cmovae eax, dword [ebp - 0xc1c]
push eax
call fcn.0044b520
add esp, 0x10
lea eax, [ebp - 0x404]
push dword [ebp + 0x18]
push ebx
push edi
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0xc08]
pop edi
pop esi
pop ebx
cmp edx, 0x10
jb 0x4478d5
mov ecx, dword [ebp - 0xc1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4478cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4478ec
push edx
push ecx
call fcn.0044ca9a
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0044ca89
mov esp, ebp
pop ebp
ret 0x14
call fcn.00451295
call fcn.00451295
int3

Function at 0x447a30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop ebp
ret 0xc

Function at 0x447a60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop ebp
ret 8
Function at 0x447a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0x80
push 3
call fcn.00447300
push eax
push 3
push 0xc0000000
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x447ae8
push esi
push 0
push 0
push dword [ebp + 0x14]
mov dword [ebp + 0x18], 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 0x18]
push 0
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x18], esi
pop esi
jne 0x447ae8
xor eax, eax
pop edi
pop ebp
ret 0x14
mov eax, 0x80004005
pop edi
pop ebp
ret 0x14
Function at 0x448240
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c568
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4a704c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x220], eax
mov eax, dword [esi]
mov dword [esi + 4], eax
test ebx, ebx
je 0x44832e
push 0x1c
call fcn.0044cacb
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4482ac
mov ecx, eax
call fcn.00446820
jmp 0x4482ae
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x21c], eax
cmp dword [esi + 8], ecx
je 0x4482cb
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x4482da
lea eax, [ebp - 0x21c]
push eax
push ecx
mov ecx, esi
call fcn.00447fc0
push 0x1c
call fcn.0044cacb
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x448300
mov ecx, eax
call fcn.00445e40
mov ecx, eax
jmp 0x448302
xor ecx, ecx
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x21c], ecx
cmp dword [esi + 8], eax
je 0x44831f
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x44832e
lea ecx, [ebp - 0x21c]
push ecx
push eax
mov ecx, esi
call fcn.00447fc0
cmp dword [ebp + 0x10], 0
jne 0x448386
push 8
call fcn.0044cacb
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x448358
mov ecx, eax
call fcn.00446500
jmp 0x44835a
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x21c], eax
cmp dword [esi + 8], ecx
je 0x448377
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x448386
lea eax, [ebp - 0x21c]
push eax
push ecx
mov ecx, esi
call fcn.00447fc0
push 0x1c
call fcn.0044cacb
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4483aa
mov ecx, eax
call fcn.00446e50
jmp 0x4483ac
xor eax, eax
push 0x118
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x128]
push 0
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.0044ddf0
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x448402
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x448436
cmp dword [ebp - 0x128], 5
jne 0x448436
cmp dword [ebp - 0x124], 1
jb 0x448436
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
jmp 0x44843d
push dword [ebp - 0x220]
push ebx
mov ecx, esi
call fcn.004493b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ca89
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4493b0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x449421
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [edi + 4]
xor esi, esi
mov eax, dword [edi]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x4493fc
push ebx
mov ebx, dword [ebp + 8]
nop dword [eax]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x4493ee
mov eax, dword [ecx]
push ebx
call dword [eax]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
inc esi
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x4493e0
pop ebx
mov ecx, dword [edi + 0xc]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [edi + 0x10]
lea ecx, [edi + 0x10]
push 0
call dword [eax]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, 1
pop edi
pop ebp
ret 8
xor eax, eax
pop edi
pop ebp
ret 8
Function at 0x44a550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c806
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4a704c]
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 esi, 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
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x44a5fc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x44a5fc
call fcn.00448d90
mov esi, eax
jmp 0x44a6ec
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x44a61f
call fcn.00448d90
jmp 0x44a6df
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x44a63d
call fcn.00448d90
jmp 0x44a6df
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x44a65e
mov esi, 0x8007000e
jmp 0x44a6e1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00448bc0
jmp 0x44a688
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x44a69f
mov esi, 0x8007000e
jmp 0x44a6e1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x44a6bf
call fcn.00448d90
jmp 0x44a6df
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.0044a3b0
mov esi, eax
test edi, edi
je 0x44a6ec
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x44a710
lea ecx, [ebp - 0x418]
call fcn.004494b0
nop word [eax + eax]
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 - 0x14]
xor ecx, ebp
call fcn.0044ca89
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44c770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x4a7b20]
push esi
push edi
mov edi, ecx
mov esi, 1
mov ecx, dword [0x4a7b24]
mov dword [ebp - 8], edi
cmp ebx, ecx
jae 0x44c7f8
test esi, esi
js 0x44c7f5
mov edi, dword [ebx]
test edi, edi
je 0x44c7ee
mov eax, dword [edi + 8]
mov dword [ebp - 4], 0
test eax, eax
jne 0x44c7af
xor esi, esi
jmp 0x44c7ee
lea ecx, [ebp - 4]
push ecx
push 0x46dd38
push dword [edi + 0xc]
call eax
mov esi, eax
test esi, esi
js 0x44c7db
mov eax, dword [edi + 0x10]
add eax, 4
push eax
push 5
push 4
push dword [ebp - 4]
push dword [edi]
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov esi, eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x44c7e8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [0x4a7b24]
add ebx, 4
cmp ebx, ecx
jb 0x44c793
mov edi, dword [ebp - 8]
test esi, esi
js 0x44c8a1
jne 0x44c89b
cmp byte [edi + 0x3c], 0
je 0x44c886
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x44c878
lea eax, [ebp - 8]
push eax
push 0
push edi
push 0x44c040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x44c84d
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x30], ebx
test ebx, ebx
je 0x44c878
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x44c86f
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 0x44c88e
mov ecx, edi
mov esi, 0x80004005
call fcn.0044c720
jmp 0x44c89f
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x44c8a1
mov ecx, edi
call fcn.0044c720
jmp 0x44c89f
mov byte [edi + 0x3c], 0
test esi, esi
jne 0x44c8e2
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x24]
push 0
push 0
push 0
push eax
call esi
test eax, eax
jle 0x44c8e6
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
nop
lea eax, [ebp - 0x24]
push eax
call ebx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
jg 0x44c8c0
jmp 0x44c8e6
test esi, esi
js 0x44c8fe
mov ecx, edi
call fcn.0044c720
cmp byte [edi + 0x3c], 0
mov esi, eax
je 0x44c8fe
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x461441
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00461101

Function at 0x464560
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004643df
Function at 0xb54139
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0xc]
jb 0xb61f02
cmp eax, esi
test bl, dl
pushfd
cmp byte [edi - 1], 0
mov byte [esp], 0x49
lea esp, [esp + 4]
jne 0xb5b154
mov di, bp
sal edi, 0x11
mov edi, dword [edx + 0x24]
pushfd
clc
add edi, eax
jmp 0xb5c848
pushal
sub esp, 0xffffffdc
je 0xb63ab7
movzx ecx, word [edi + ecx*2]
btr edi, 1
mov edi, dword [edx + 0x1c]
test di, sp
add edi, eax
stc
clc
mov edi, dword [edi + ecx*4]
pushal
stc
test edi, edi
call fcn.011a41df
push ebp
add edi, eax
jmp 0xb56621

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

Disassembly:
je fcn.00b7ba6c
neg si
bt bp, 0xa
seto dh
mov esi, dword [eax + 0x3c]
test sp, cx
add esi, eax
bswap dx
btr dx, bp
mov edx, dword [esi + 0x78]
pushfd
cmc
test edx, edx
call int.00b5f776
shl al, 5
clc
or ah, 0xd3
shrd eax, edx, cl
push ebp
pushal
aaa
lea ebp, [esp + 0x20]
rcl al, 4
or eax, edi
sub esp, 0xfffffff8
sal ax, 5
push esi
sub ax, si
cmp si, 0x2277
sbb ah, dl
push edi
rcr al, 2
setne al
pushal
mov ah, dh
mov dword [esp + 0x1c], ebx
shld ax, sp, cl
mov dword [esp + 0x18], edx
sub ax, sp
xor ah, cl
shl ax, 0xe
xor ah, 0xa5
mov eax, dword [ebp + 8]
stc
jmp 0xb7acb2
cmp esi, 0x52cff423
test eax, eax
push 0xc613fe9e
lea esp, [esp + 0x1c]
jbe 0xbc5725
jmp 0xb5454c
call 0xb7b8a9

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

Disassembly:
lea esp, [esp + 0xc]
jb 0xb61f02
cmp eax, esi
test bl, dl
pushfd
cmp byte [edi - 1], 0
mov byte [esp], 0x49
lea esp, [esp + 4]
jne 0xb5b154
mov di, bp
sal edi, 0x11
mov edi, dword [edx + 0x24]
pushfd
clc
add edi, eax
jmp 0xb5c848
pushal
sub esp, 0xffffffdc
je 0xb63ab7
movzx ecx, word [edi + ecx*2]
btr edi, 1
mov edi, dword [edx + 0x1c]
test di, sp
add edi, eax
stc
clc
mov edi, dword [edi + ecx*4]
pushal
stc
test edi, edi
call fcn.011a41df
push ebp
add edi, eax
jmp 0xb56621