joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420f1d
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x43b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x420f68
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004210b8
test al, al
jne 0x420f62
sub edx, 2
cmp edx, edi
jne 0x420f48
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x420f8a
lea eax, [edi + 2]
cmp edx, eax
je 0x420f8a
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00420e69
add esp, 0x10
jmp 0x421084
push esi
lea ecx, [ebp - 0x255]
call fcn.004210b8
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x420fcd
push dword [ebp - 0x25c]
jmp 0x420f7a
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x42100a
cmp word [ebp - 0x226], 0
je 0x42102b
cmp word [ebp - 0x226], ax
jne 0x42100a
cmp word [ebp - 0x224], 0
je 0x42102b
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00420e69
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421077
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x420fe4
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x42105f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x421084
push 0x420c99
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00418180
add esp, 0x10
jmp 0x421054
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fcbe
leave
ret

Function at 0x421a43
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x421a54
pop esi
ret
push ebx
push edi
push esi
call fcn.00421a0c
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0041b59b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x421a7c
push ebx
push esi
push edi
call fcn.00413470
add esp, 0xc
push 0
call fcn.0041b561
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x421e4c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00421a91
Function at 0x424d20
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041cc85
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x424d8f
cmp esi, dword [ebp - 4]
je 0x424d8a
cmp dword [ebp + 0xc], 0
je 0x424d8a
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x424d67
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00424872
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x424d91
xor eax, eax
inc eax
jmp 0x424d91
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x424df6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0041cc85
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0041cc85
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x424e6d
cmp word [ecx], dx
je 0x424e6d
mov eax, dword [0x43266c]
push edi
dec eax
push eax
push 0x432558
call fcn.00424d95
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x424ee0
cmp word [eax], dx
je 0x424ee0
mov eax, dword [edi]
test eax, eax
je 0x424e91
cmp word [eax], dx
je 0x424e91
lea eax, [ebp - 0x10]
push eax
call fcn.00424778
jmp 0x424e9a
lea eax, [ebp - 0x10]
push eax
call fcn.00424813
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x424f0a
mov eax, dword [0x432554]
push dword [ebp - 0x14]
dec eax
push eax
push 0x432248
call fcn.00424d95
add esp, 0xc
test al, al
je 0x424f0a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x424ed5
cmp word [eax], di
je 0x424ed5
lea eax, [ebp - 0x10]
push eax
call fcn.00424778
pop ecx
jmp 0x424f0c
lea eax, [ebp - 0x10]
push eax
call fcn.00424813
jmp 0x424ed2
mov eax, dword [edi]
test eax, eax
je 0x424ef7
cmp word [eax], dx
je 0x424ef7
lea eax, [ebp - 0x10]
push eax
call fcn.0042472d
pop ecx
jmp 0x424f0a
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x424fd5
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00424c1a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x424fd5
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x424fd5
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x424fd5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x424f62
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0041d7d7
test ebx, ebx
je 0x424fd0
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0041d7d7
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x424fd5
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x424fd5
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00418a9b
add esp, 0x10
xor eax, eax
inc eax
jmp 0x424fd7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fcbe
leave
ret
Function at 0x429b8c
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00429b08
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x429cfb
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x429cfb
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x429cb0
jg 0x429be8
test eax, eax
je 0x429ca6
push 1
push 0x1000
call fcn.0041d162
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x429c0b
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x429c9d
push 0x8000
push ebx
call fcn.00419bab
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x429c34
jg 0x429c2f
cmp ecx, 0x1000
jb 0x429c34
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041f93f
add esp, 0x10
cmp eax, 0xffffffff
je 0x429c79
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x429c2f
jl 0x429c60
test ecx, ecx
jne 0x429c21
push dword [ebp - 0xc]
push ebx
call fcn.00419bab
push esi
call fcn.0041b561
add esp, 0xc
xor ebx, ebx
jmp 0x429d09
cmp byte [edi + 0x24], 0
je 0x429c90
cmp dword [edi + 0x20], 5
jne 0x429c90
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x429c9b
mov ebx, dword [edi + 0x18]
jmp 0x429c9d
xor ebx, ebx
push esi
call fcn.0041b561
pop ecx
jmp 0x429d09
test ecx, ecx
jg 0x429c72
jl 0x429cb0
test eax, eax
jae 0x429c72
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041eff7
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x429cd0
cmp byte [edi + 0x1c], 0
je 0x429c72
jmp 0x429d01
push ebx
call fcn.00422793
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x429c72
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x429d09
cmp byte [edi + 0x1c], 0
je 0x429d06
mov ebx, dword [edi + 0x18]
jmp 0x429d09
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041eff7
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412fc5
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x80000003
mov dword [ebp + 0x5060], eax
mov esi, 0x41b234
lea edi, [ebp + 0x5070]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, 0x20202020
mov cl, 0x36
rep stosd dword es:[edi], eax
push 0xffffffffffffff9f
call fcn.00413137
cmp dword [esp + 4], 0xffffff9b
jne fcn.00412ffc
ret 4

Function at 0x412ffc
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov ax, 0x20
mov word [ebp + 0x190fc], ax
mov esi, 0x41d690
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x5008]
push eax
add eax, 0x60
push eax
push 0
push 0x3f
push 0
add eax, 0x14094
push eax
push 0
add eax, 0xfffec07c
push eax
mov eax, dword [ebp + 0x5060]
push eax
mov al, 9
call sub.ADVAPI32.dll_RegCreateKeyExA
test edx, 0x341e
mov dword [ebp + 0x5058], eax
cmp dword [esp + 4], 0xffffff9c
jne fcn.00413052
ret 4

Function at 0x413052
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 1
mov dword [ebp + 0x5280], eax
mov edi, dword [ebp + 0x5280]
cmp byte [ebp + edi + 0x5177], 0
je 0x413081
cmp dword [ebp + 0x5280], 0x100
jg 0x413081
inc dword [ebp + 0x5280]
jmp 0x41305d
dec dword [ebp + 0x5280]
mov esi, 0x41d6e0
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x5280]
push eax
lea eax, [ebp + 0x5178]
push eax
mov eax, dword [ebp + 0x5278]
push eax
push 0
lea eax, [ebp + 0x5020]
push eax
mov eax, dword [eax + 0x48]
push eax
mov al, 6
call sub.ADVAPI32.dll_RegSetValueExA
test edx, 0x33a2
mov dword [ebp + 0x5058], eax
cmp dword [esp + 4], 0xffffff9d
jne 0x4130ce
ret 4
mov esi, 0x41d718
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x5280]
push eax
lea eax, [ebp + 0x5170]
push eax
mov eax, dword [ebp + 0x5278]
push eax
push 0
lea eax, [ebp + 0x5020]
push eax
mov eax, dword [eax + 0x48]
push eax
mov al, 6
call sub.ADVAPI32.dll_RegSetValueExA
test edx, 0x335b
mov dword [ebp + 0x5058], eax

Function at 0x41310b
Capabilities:
Query or enumerate registry value

Disassembly:
mov esi, 0x41b148
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x5068]
push eax
mov al, 1
call sub.ADVAPI32.dll_RegCloseKey
test edx, 0x3339
mov dword [ebp + 0x5058], eax
cmp dword [esp + 4], 0xffffff9e
jne fcn.00413137
ret 4

Function at 0x413137
Capabilities:
Query or enumerate registry value

Disassembly:
mov esi, 0x41d750
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x5068]
push eax
push 0x3f
push 0
add eax, 8
push eax
mov eax, dword [eax - 0x10]
push eax
mov al, 5
call sub.ADVAPI32.dll_RegOpenKeyExA
test edx, 0x3301
mov dword [ebp + 0x5058], eax
cmp dword [esp + 4], 0xffffff9f
jne fcn.0041316f
ret 4

Function at 0x41316f
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100
mov dword [ebp + 0x5280], eax
mov esi, 0x41d780
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x5280]
push eax
add eax, 0xfffffef8
push eax
add eax, 0x100
push eax
push 0
add eax, 0xfffffda8
push eax
mov eax, dword [eax + 0x48]
push eax
mov al, 6
call sub.ADVAPI32.dll_RegQueryValueExA
test edx, 0x32b2
mov dword [ebp + 0x5058], eax
cmp dword [esp + 4], 0xffffffa0
jne fcn.004131be
ret 4
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e004]
jne 0x40100a
repz ret
jmp fcn.00401a32

Function at 0x40947b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402662
and dword [ebp - 0x14], 0
cmp dword [0x420728], 0
mov dword [ebp - 0x18], eax
jne 0x40952e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4095d6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4095d6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x420728], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42072c], eax
call edi
push eax
call esi
push 0x41c8f0
push ebx
mov dword [0x420730], eax
call edi
push eax
call esi
mov dword [0x420738], eax
test eax, eax
je 0x40952e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x420734], eax
mov eax, dword [0x420734]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409587
cmp dword [0x420738], ecx
je 0x409587
push eax
call esi
push dword [0x420738]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409587
test ebx, ebx
je 0x409587
call edi
test eax, eax
je 0x40957e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40957e
test byte [ebp - 8], 1
jne 0x409587
or dword [ebp + 0x10], 0x200000
jmp 0x4095ba
mov eax, dword [0x42072c]
cmp eax, dword [ebp - 0x18]
je 0x4095ba
push eax
call esi
test eax, eax
je 0x4095ba
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4095ba
mov eax, dword [0x420730]
cmp eax, dword [ebp - 0x18]
je 0x4095ba
push eax
call esi
test eax, eax
je 0x4095ba
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x420728]
call esi
test eax, eax
je 0x4095d6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4095d8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x41a460
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x4220fc]
push ebx
push esi
mov esi, dword [0x421e1c]
mov ebx, eax
cmp eax, 0x5dd
jne 0x41a482
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x41f1d0]
call fcn.0041a340
cmp dword [0x4220fc], 0x2f
jne 0x41a49d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push esi
call fcn.0041a380
add esp, 4
cmp dword [0x4220fc], 0x568
pop esi
pop ebx
jne 0x41a4ca
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
ret
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x427503
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
and dword [ebp - 0x1c], esi
push ebx
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_GetDC]
push dword [0x49d9fc]
mov edi, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42754e
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], esi
push esi
call fcn.0046bf87
mov esi, eax
test esi, esi
jne 0x4275fe
lea eax, [ebp - 0x34]
push eax
push 0x18
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
jne 0x4275fe
push dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x30]
push esi
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
push ebx
mov esi, eax
call fcn.0042a73b
test eax, eax
je 0x4275a9
push 0
push edi
call fcn.0046ba5b
push 2
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.GDI32.dll_DPtoLP]
push esi
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, 0x96
push eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 4
push 4
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor edi, edi
lea eax, [ebp - 0x14]
push edi
push 1
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push eax
push 6
push ebx
call fcn.00426f25
mov esi, eax
test edi, edi
je 0x42760a
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x1c], 0
je 0x427616
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475d95
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429610
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push ebx
push esi
xor ebx, ebx
push edi
test eax, eax
jns 0x429628
mov ecx, dword [ebp + 0x18]
neg eax
jmp 0x42966d
push 9
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, dword [ebp + 8]
mov esi, eax
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0x18]
push 0x6a
push dword [ebp + 0x14]
push edi
call fcn.00434168
push edi
push dword [ebx + 0x40]
mov dword [ebp + 0x18], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 0x18]
imul esi, dword [ebp + 0x10], 0xd0
mov edi, dword [ebp + 0xc]
movsd xmm3, qword [0x478440]
movsd xmm5, qword [0x478430]
movaps xmm1, xmm5
mov edx, dword [esi + edi + 0x44]
sub edx, dword [esi + edi + 0x3c]
mov dword [ebp + 0x18], edx
mov edx, dword [esi + edi + 0x48]
sub edx, dword [esi + edi + 0x40]
inc eax
mov dword [ebp + 0x14], edx
mov edx, dword [ebp + 0x18]
movd xmm6, dword [ebp + 0x14]
cvtdq2pd xmm6, xmm6
mov dword [esi + edi + 0x7c], 0x6a
mov dword [esi + edi + 0x80], ecx
mov dword [esi + edi + 0x84], eax
movd xmm7, edx
cvtdq2pd xmm7, xmm7
movaps xmm2, xmm6
movaps xmm4, xmm7
comisd xmm4, xmm3
jbe 0x4296e9
movaps xmm1, xmm3
divsd xmm1, xmm4
movaps xmm0, xmm1
mulsd xmm2, xmm0
mulsd xmm4, xmm0
comisd xmm2, xmm3
jbe 0x429705
divsd xmm3, xmm2
movaps xmm2, xmm6
movaps xmm4, xmm7
mulsd xmm1, xmm3
mulsd xmm2, xmm1
mulsd xmm4, xmm1
ucomisd xmm1, xmm5
lahf
test ah, 0x44
jnp 0x429735
cvttsd2si edx, xmm4
cvttsd2si ecx, xmm2
sub edx, dword [ebp + 0x18]
add dword [esi + edi + 0x44], edx
add dword [esi + edi + 0x34], edx
add dword [esi + edi + 0x24], edx
sub ecx, dword [ebp + 0x14]
add dword [esi + edi + 0x48], ecx
add dword [edi + esi + 0x38], ecx
add dword [edi + esi + 0x28], ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x434944
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push dword [ebp + 8]
xor edi, edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4349f2
push ebx
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4349eb
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push 0x42
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x4349eb
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
call esi
push edi
mov dword [ebp - 8], eax
call esi
cmp dword [ebp + 8], 0
mov dword [ebp - 4], eax
jle 0x4349de
mov ebx, dword [ebp + 8]
mov ecx, 0xfa00
mov edi, dword [ebp - 8]
cmp ebx, ecx
mov esi, ebx
cmovg esi, ecx
push esi
push edi
push eax
call dword [sym.imp.VCRUNTIME140.dll_memmove]
mov eax, dword [ebp - 4]
sub ebx, esi
add eax, esi
add esp, 0xc
add edi, esi
mov dword [ebp - 4], eax
mov ecx, 0xfa00
test ebx, ebx
jg 0x4349b0
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call esi
push ebx
call esi
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x434c33
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push 1
mov dword [ebp - 0x18], edi
mov ebx, edi
mov dword [ebp - 0x28], edi
call fcn.0044bc76
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00431217
mov esi, eax
test esi, esi
jne 0x434db9
push edi
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebp - 0x18]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x408
push 0x42
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x434d67
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, dword [ebp - 0x20]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push esi
call fcn.00434dcc
mov eax, dword [ebp - 0x1c]
add eax, 0xa
push esi
lea eax, [ebx + eax*4]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.GDI32.dll_CreatePalette]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x434cf3
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
push dword [ebx + 8]
push dword [ebx + 4]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
push ebx
call fcn.0046bf87
mov esi, eax
test esi, esi
jne 0x434d59
push eax
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x2c]
push dword [eax + 8]
push esi
push ebx
push edi
call dword [sym.imp.GDI32.dll_SetDIBits]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
jne 0x434d59
push dword [0x49d9fc]
mov esi, 0x2714
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x434d59
push ebx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x434d53
xor esi, esi
xor ebx, ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
test ebx, ebx
je 0x434d64
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x434d90
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
je 0x434dae
push 0
push dword [ebp - 0x28]
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475d95
mov esp, ebp
pop ebp
ret 0x10