joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457528
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 5
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x457557
push 7
pop eax
jmp 0x4575fe
push esi
call fcn.00454faa
test eax, eax
je 0x45754f
push ebx
push esi
call fcn.0045fa92
xor ebx, ebx
inc ebx
cmp eax, ebx
je 0x45757b
cmp dword [0x49d624], 0
mov eax, dword [ebp + 0xc]
je 0x45757d
mov eax, ebx
test eax, eax
je 0x457586
push 6
pop esi
jmp 0x4575ed
mov esi, 0x105
lea eax, [ebp - 0x210]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x1ff
call fcn.0046be71
push dword [0x49d9fc]
mov dword [0x49da10], ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x23
push 0x47c2f0
lea eax, [ebp - 0x41c]
push eax
push dword [0x49d9fc]
call dword [sym.imp.USER32.dll_MessageBoxW]
and dword [0x49da10], 0
mov esi, eax
cmp esi, 6
jne 0x4575fb
push edi
call fcn.0045868d
push 2
test eax, eax
pop ecx
cmovne esi, ecx
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00475d95
mov esp, ebp
pop ebp
ret 8
Function at 0x458427
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0x21c], eax
push ebx
push eax
mov dword [ebp - 0x218], ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
test edi, edi
jne 0x458465
mov eax, 0x2714
jmp 0x4585fe
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp dword [esi + 0x224], ebx
je 0x45848d
push 0x7f
call fcn.0044af27
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
or eax, 0xffffffff
jmp 0x4585fd
lea ebx, [esi + 4]
push ebx
push 0x106
lea eax, [ebp - 0x10c]
push eax
call fcn.00442b42
push ebx
push 0x106
lea eax, [ebp - 0x214]
push eax
call fcn.00442b42
lea ecx, [ebp - 0x10c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4584bd
xor ebx, ebx
sub ecx, edx
sete bl
test ebx, ebx
jne 0x4585de
push 2
lea eax, [ebp - 0x10c]
mov byte [ebp + ecx - 0x10d], 0x24
push eax
push dword [ebp - 0x21c]
call fcn.00458983
mov ebx, eax
test ebx, ebx
jne 0x4585de
mov eax, dword [esi + 0x210]
mov dword [ebp - 0x218], 1
cmp eax, 0xffffffff
je 0x458515
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x458562
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 2
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
call fcn.00458983
mov ebx, eax
test ebx, ebx
jne 0x4585de
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push eax
push 0x106
lea eax, [esi + 4]
push eax
call fcn.00442b42
push 2
lea eax, [ebp - 0x214]
push eax
call fcn.0046b716
cmp eax, 0xffffffff
jne 0x45859d
mov ebx, 0x2713
jmp 0x4585de
and dword [esi + 0x224], 0
mov dword [esi + 0x210], eax
lea eax, [esi + 4]
push eax
call fcn.00456257
test eax, eax
je 0x4585ca
push dword [esi + 0x210]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 0x210], 0xffffffff
push 5
push dword [ebp - 0x21c]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.00460cdf
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x218], 0
je 0x4585fb
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00475d95
mov esp, ebp
pop ebp
ret 4
Function at 0x45a21e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x106
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.0045c381
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xc8
push 6
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.0043cc22
test eax, eax
je 0x45a271
xor eax, eax
jmp 0x45a405
push edi
lea eax, [ebp - 0x118]
push eax
push 0
push 0x47c2ec
lea eax, [ebp - 0x10c]
push eax
call fcn.0043cd6b
mov edi, eax
test edi, edi
jne 0x45a3ee
push 0x64
push dword [0x47c2ec]
call fcn.0043b16a
mov edi, eax
test edi, edi
jne 0x45a3e3
push 0x67
push dword [0x47c2ec]
call fcn.0043b16a
mov edi, eax
test edi, edi
jne 0x45a3e3
push 0x68
push dword [0x47c2ec]
call fcn.0043b16a
mov edi, eax
test edi, edi
jne 0x45a3e3
push 0x65
push dword [0x47c2ec]
call fcn.0043b16a
mov edi, eax
test edi, edi
jne 0x45a3e3
push 0x66
push dword [0x47c2ec]
call fcn.0043b16a
mov edi, eax
test edi, edi
jne 0x45a3e3
push 0x6f
push dword [0x47c2ec]
call fcn.0043b16a
mov edi, eax
test edi, edi
jne 0x45a3e3
lea eax, [ebp - 0x114]
push eax
push 0x820
push 1
push 0x64
push dword [0x47c2ec]
call fcn.0043b5e2
mov edi, eax
test edi, edi
jne 0x45a3e3
lea eax, [ebp - 0x110]
push eax
push 0x532
push 0x70
push 0x64
push dword [0x47c2ec]
call fcn.0043b5e2
mov edi, eax
test edi, edi
jne 0x45a3e3
push dword [ebp - 0x110]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
call edi
push 4
pop ecx
and dword [eax + 0x10], 0
add eax, 0x11a
mov byte [eax], 0
add eax, esi
sub ecx, 1
jne 0x45a380
push dword [ebp - 0x110]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
push dword [ebp - 0x110]
call fcn.0043d6c9
push dword [ebp - 0x110]
call fcn.0043d8ec
push dword [ebp - 0x114]
call edi
push eax
call fcn.0045c49b
push dword [ebp - 0x114]
mov edi, eax
call esi
push dword [ebp - 0x114]
call fcn.0043d8ec
test edi, edi
jne 0x45a3e3
push edi
push dword [0x47c2ec]
call fcn.0043cc6f
jmp 0x45a402
push dword [0x47c2ec]
call fcn.0043cbe5
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [0x47c2ec], 0xffffffff
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00475d95
mov esp, ebp
pop ebp
ret
Function at 0x45b27b
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x11c]
xor ebx, ebx
push eax
push 0x20019
push ebx
push dword [0x47c50c]
mov dword [ebp - 0x110], ebx
push reloc.AppVIsvSubsystems32.dll_Ordinal_1
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x124], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45b35e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x114]
push 4
pop edi
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], edi
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
push dword [0x47c510]
push dword [ebp - 0x11c]
call esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], edi
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
push dword [0x47c514]
push dword [ebp - 0x11c]
call esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], edi
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
push dword [0x47c518]
push dword [ebp - 0x11c]
call esi
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x118], ebx
jne 0x45b375
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [ebp - 0x118], eax
push dword [0x47c51c]
push dword [ebp - 0x110]
call fcn.0045c177
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edi, 0x409
mov dword [0x49ddf0], eax
test eax, eax
jne 0x45b3f2
push dword [0x47c51c]
mov eax, dword [ebp - 0x118]
push eax
mov dword [ebp - 0x110], eax
call fcn.0045c177
mov dword [0x49ddf0], eax
test eax, eax
jne 0x45b3f2
call esi
push dword [0x47c51c]
movzx eax, ax
push eax
mov dword [ebp - 0x110], eax
call fcn.0045c177
mov dword [0x49ddf0], eax
test eax, eax
jne 0x45b3f2
push dword [0x47c51c]
mov dword [ebp - 0x110], edi
push edi
call fcn.0045c177
mov dword [0x49ddf0], eax
push dword [ebp - 0x124]
call fcn.0045cd5a
test eax, eax
jne 0x45b425
push dword [ebp - 0x118]
call fcn.0045cd5a
test eax, eax
jne 0x45b425
call esi
movzx eax, ax
push eax
call fcn.0045cd5a
test eax, eax
jne 0x45b425
push edi
call fcn.0045cd5a
cmp dword [0x49ddf0], ebx
jne 0x45b468
mov esi, 0x106
lea eax, [ebp - 0x10c]
push esi
push eax
push dword [ebp - 0x110]
call fcn.0045a414
push dword [0x47c51c]
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.0041c82c
lea eax, [ebp - 0x10c]
push eax
call fcn.0045c416
xor eax, eax
jmp 0x45b4bb
push dword [ebp - 0x110]
call fcn.00448b71
xor edx, edx
movzx ecx, al
cmp al, 1
mov edi, 0x252
push edi
cmove ecx, edx
mov byte [0x49cdd0], cl
call fcn.00461f54
call esi
movzx eax, ax
push eax
call fcn.00448b71
cmp al, byte [0x49cdd0]
jne 0x45b4b8
push 0x100
push 0x47c2f0
push edi
push dword [0x49ddf0]
call dword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475d95
mov esp, ebp
pop ebp
ret
Function at 0x45c381
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x104
push ebx
push esi
mov esi, dword [ebp + 8]
jl 0x45c3ec
push esi
xor ebx, ebx
push ebx
push ebx
push 0x801c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x45c3ec
push str.MicrosoftOffice
push dword [ebp + 0xc]
push esi
call fcn.0041c82c
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x45c3ec
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [eax + esi - 1], bl
jmp 0x45c3f6
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.OrgChartPref.dat
push dword [ebp + 0xc]
push esi
call fcn.0041c82c
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00475d95
mov esp, ebp
pop ebp
ret 8

Function at 0x45c9a4
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
push 1
call fcn.0044bc76
cmp dword [0x49ec68], 0
je 0x45ca5a
push esi
push dword [0x49ec60]
call fcn.0043d45e
push dword [0x49ec60]
call fcn.0043cbe5
movzx eax, word [0x49cd5c]
and dword [0x49ec68], 0
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push eax
call esi
test eax, eax
jne 0x45ca59
movzx eax, word [0x49cd60]
push eax
call esi
test eax, eax
jne 0x45ca59
movzx eax, word [0x49cd64]
push eax
call esi
test eax, eax
jne 0x45ca59
movzx eax, word [0x49cd68]
push eax
call esi
test eax, eax
jne 0x45ca59
lea eax, [ebp - 0x10c]
mov esi, 0x106
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.OrgChartClip.dat
push esi
lea eax, [ebp - 0x10c]
push eax
call fcn.0041c82c
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475d95
mov esp, ebp
pop ebp
ret
Function at 0x45d17c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 8
movzx eax, al
push 0x11
mov dword [ebp - 0x10], eax
call esi
mov ebx, dword [ebp + 8]
shr eax, 8
push 4
movzx eax, al
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp + 8], eax
test ebx, ebx
jne 0x45d1c6
xor eax, eax
jmp 0x45d36f
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [ebp + 0xc]
mov edi, eax
mov eax, dword [edi + 0xe6]
test eax, eax
je 0x45d213
push esi
push eax
call fcn.004396a8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x45d362
push dword [edi + 0xe6]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [edi + 0xe6]
xor ecx, ecx
cmp dword [eax + 0x44], 2
sete cl
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [edi + 0x32]
xor edx, edx
inc edx
test eax, eax
jne 0x45d2b4
cmp dword [ebp - 4], eax
jne 0x45d2b0
push dword [edi + 0x1d6]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [eax + 0x60], 0
je 0x45d25e
cmp esi, 8
je 0x45d246
cmp esi, 0x2e
jne 0x45d25e
push 0
push 0xd3
push 0xc8
push dword [edi + 0x1d6]
push ebx
call fcn.00427dc8
push dword [edi + 0x1d6]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor edx, edx
inc edx
sub esi, 0x21
je 0x45d350
sub esi, 1
je 0x45d33e
sub esi, 1
je 0x45d32c
sub esi, 1
jne 0x45d362
mov esi, dword [edi + 0x42]
push edx
push edx
push edx
push 0
push dword [edi + 0xde]
mov dword [edi + 0x42], edx
push ebx
call fcn.004214a3
mov dword [edi + 0x42], esi
jmp 0x45d362
test eax, eax
je 0x45d2c3
cmp esi, 8
je 0x45d324
cmp esi, 0xd
je 0x45d2db
cmp esi, 0x2e
je 0x45d324
lea eax, [esi - 0x25]
cmp eax, 3
ja 0x45d26d
push dword [ebp - 0x10]
push esi
push edi
push ebx
call fcn.0045d5fd
jmp 0x45d362
cmp eax, edx
jne 0x45d2c3
xor ecx, ecx
cmp dword [edi + 0x42], ecx
jl 0x45d30e
cmp dword [edi + 0x46], ecx
jl 0x45d30e
movzx eax, word [edi + 0x46]
push ecx
push ecx
push ecx
push ecx
push ecx
movzx ecx, word [edi + 0x42]
shl ecx, 0x10
or ecx, eax
push ecx
push 0x459
push ebx
call fcn.00420889
xor edx, edx
xor ecx, ecx
inc edx
mov eax, dword [edi + 0xe6]
test eax, eax
je 0x45d362
push ecx
push edx
push edx
push ecx
push eax
call fcn.0043a07b
jmp 0x45d362
push ebx
call fcn.004748e2
jmp 0x45d362
mov esi, dword [edi + 0x42]
push edi
push ebx
mov dword [edi + 0x42], edx
call fcn.0045dd8b
jmp 0x45d2a8
push 0
push 3
cmp word [ebp - 8], 0
je 0x45d356
push 0x114
jmp 0x45d35b
push 0
push 2
jmp 0x45d342
push 0x115
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x460f4f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 4
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [ebx + 0x2c], 0
mov edi, eax
mov dword [ebp - 8], edi
jl 0x460f81
push ebx
call fcn.0045fe67
mov esi, dword [ebx + 0x30]
mov dword [ebp + 8], esi
test esi, esi
js 0x460f93
mov edi, dword [ebx + 0x34]
mov dword [ebp - 4], edi
jmp 0x460fa0
mov eax, dword [edi + 0xde]
and dword [ebp - 4], 0
mov dword [ebp + 8], eax
push dword [0x49d9fc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x460fc0
push 5
push dword [0x49d9fc]
call esi
push dword [0x49d9fc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 9
push dword [0x49d9fc]
call esi
mov edi, dword [sym.imp.USER32.dll_GetParent]
push 8
push dword [ebx + 0x24]
call edi
push eax
call esi
push dword [ebx + 0x24]
call edi
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov esi, dword [0x49da10]
xor eax, eax
push 0
inc eax
push eax
push 6
mov dword [0x49da10], eax
push dword [ebx + 0x24]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x49da10], esi
push dword [ebx + 0x24]
call edi
push eax
call fcn.0044c960
mov edi, dword [ebp - 8]
xor eax, eax
inc eax
push eax
push eax
mov esi, dword [edi + 0x42]
push eax
push 0
push dword [edi + 0xde]
mov dword [edi + 0x42], eax
push dword [ebx + 0x24]
call fcn.004214a3
mov dword [edi + 0x42], esi
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
push esi
push esi
movzx ecx, ax
mov eax, dword [ebp - 4]
push 1
push 1
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0x459
push dword [ebx + 0x24]
call fcn.00420889
mov eax, dword [edi + 0xe6]
test eax, eax
je 0x4610a3
push esi
push 1
push 1
push esi
push eax
call fcn.0043a07b
push 5
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4610a3
push esi
push esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 5
push ebx
call fcn.00460d58
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46128c
Capabilities:
Delete file
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 4
push esi
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], ebx
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x7531
push esi
mov edi, eax
call fcn.0043f36f
push ebx
push esi
call fcn.00458cf7
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x4614b8
lea eax, [ebp - 0x214]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x10c]
push eax
push ebx
push str.OPWTMP
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
push ebx
call fcn.0044a5c1
mov dword [ebp - 0x218], eax
test eax, eax
je 0x46133a
push ebx
call fcn.0044a92c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4614b2
push 0
or eax, 0xffffffff
push eax
push 0
push 1
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.00435563
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x4614b8
push ebx
call fcn.0044a92c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.0046b716
mov edi, eax
or ebx, 0xffffffff
cmp edi, ebx
jne 0x461392
mov dword [ebp - 0x218], 0x2713
jmp 0x4614a5
lea eax, [ebp - 0x21c]
push eax
push edi
call fcn.0046bf08
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x46149e
mov eax, dword [ebp - 0x21c]
add eax, 4
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4613d4
mov dword [ebp - 0x218], 0x2714
jmp 0x46149e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x21c]
push 0
push 0
mov dword [eax], ecx
add eax, 4
push 0
push edi
mov dword [ebp - 0x224], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x218]
cmp eax, ebx
cmove ecx, ebx
mov dword [ebp - 0x218], ecx
test ecx, ecx
jne 0x46147d
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x46147d
mov ecx, dword [ebp - 0x220]
mov edx, 0xfffe
cmp eax, edx
push 0
cmova eax, edx
mov ebx, eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x224]
push ebx
add eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x461476
mov eax, dword [ebp - 0x21c]
mov edx, 0xfffe
mov ecx, dword [ebp - 0x220]
sub eax, ebx
and dword [ebp - 0x218], 0
add ecx, ebx
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], ecx
test eax, eax
jne 0x461423
jmp 0x46147d
or dword [ebp - 0x218], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x218], 0
je 0x461496
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
mov eax, dword [ebp - 0x228]
mov dword [eax], esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475d95
mov esp, ebp
pop ebp
ret 8
Function at 0x463642
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0
call fcn.0044bc76
cmp dword [0x49e452], 0
mov dword [0x49da10], esi
jne 0x46369a
push 0x105
lea eax, [ebp - 0x210]
push eax
push 0x389
push dword [0x49ddf0]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00463dea
cmp dword [0x47c528], 0
jne 0x4636be
push 0
push 0xcb
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x49d9fc]
push esi
call fcn.0046aecc
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00475d95
mov esp, ebp
pop ebp
ret 4

Function at 0x463a53
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00431217
test eax, eax
jne 0x463b4f
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
push eax
call dword [sym.imp.GDI32.dll_SetMetaFileBitsEx]
push dword [ebp - 0x18]
mov esi, eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebp - 0x18], 0
test esi, esi
jne 0x463acc
xor eax, eax
inc eax
jmp 0x463b4e
push ebx
push edi
push 0x10
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call fcn.0046bf87
mov ebx, eax
test ebx, ebx
jne 0x463b38
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 0x10]
mov esi, eax
mov dword [ebp - 0x1c], 0x90
push edi
mov dword [esi], 8
imul eax, dword [ecx], 0x9ec
cdq
idiv dword [ebp - 0x1c]
mov dword [esi + 4], eax
imul eax, dword [ecx + 4], 0x9ec
cdq
idiv dword [ebp - 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 3
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x463b4a
mov esi, dword [ebp - 0x20]
inc ebx
test edi, edi
je 0x463b43
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
pop edi
mov eax, ebx
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475d95
mov esp, ebp
pop ebp
ret 0x14