joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417cc9
Capabilities:
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov eax, 0x1018
lea ebp, [esp - 0xf98]
call fcn.004c7d30
mov eax, dword [0x4ed384]
and dword [ebp - 0x7c], 0
push esi
push 0
mov dword [ebp + 0xf94], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x20000005
push dword [ebp + 0xfa4]
mov esi, SysReAllocString
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x80], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x417d1c
mov dword [ebp - 0x78], esi
mov eax, dword [0x4f0980]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x78]
cmp eax, esi
je 0x417d2e
inc eax
jmp 0x417d33
mov eax, 0x2000
lea ecx, [ebp - 0x74]
call fcn.004031e1
or eax, 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.0040320d
and dword [ebp - 0x7c], 0
mov esi, 0x1000
mov eax, dword [ebp - 0x80]
cmp eax, esi
jb 0x417d58
mov eax, esi
lea ecx, [ebp - 0x7c]
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0xfa4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x417d95
mov eax, dword [ebp - 0x7c]
test eax, eax
jbe 0x417d95
mov byte [ebp + eax - 0x70], 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0041a10b
mov eax, dword [ebp - 0x74]
mov eax, dword [eax - 8]
cmp eax, dword [ebp - 0x78]
jl 0x417d4f
mov esi, dword [ebp + 0xfa0]
lea ecx, [ebp - 0x74]
call fcn.00403180
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
pop esi
je 0x417db8
push eax
call fcn.004013aa
mov ecx, dword [ebp + 0xf94]
mov eax, dword [ebp + 0xfa0]
call fcn.004c7b01
add ebp, 0xf98
leave
ret

Function at 0x41c2cd
Capabilities:
Create process on windows

Disassembly:
push edi
mov edi, dword [esi + 0x1d8]
cmp dword [edi - 8], 0
je 0x41c314
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 8]
push edi
push 0x7f9
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x41c314
push 1
push eax
push eax
push dword [esi + 0x1d8]
push 0x4d4218
push dword [esi + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.0049ea35
xor eax, eax
pop edi
ret
Function at 0x41d457
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov ecx, dword [esi + 0x14]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
jne 0x41d493
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d549
mov eax, dword [ebp - 4]
add dword [esi + 8], eax
adc dword [esi + 0xc], ebx
jmp 0x41d549
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0x18]
cmp eax, dword [ebp + 8]
jl 0x41d4a1
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
test eax, eax
mov dword [ebp - 8], eax
jle 0x41d4d6
push eax
mov eax, dword [esi + 0x18]
add eax, ecx
push edi
push eax
call sub.MSVCRT.dll_memcpy
mov edx, dword [ebp - 8]
add dword [esi + 0x18], edx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add esp, 0xc
cmp ecx, eax
jbe 0x41d4cd
mov eax, ecx
add dword [ebp - 4], edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jae 0x41d546
cmp dword [esi + 0x20], 0
je 0x41d4e9
call fcn.0040da81
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
xor edx, edx
sub eax, ecx
add ecx, edi
cmp eax, dword [esi + 0x10]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
jae 0x41d51e
push eax
push ecx
push dword [esi + 0x14]
mov dword [esi + 0x1c], eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 0x1c]
add dword [esi + 0x18], eax
add esp, 0xc
add dword [ebp - 4], eax
mov dword [esi + 0x20], ebx
jmp 0x41d546
push edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
push edx
push eax
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d53a
mov eax, dword [ebp - 8]
add dword [ebp - 4], eax
push esi
call fcn.00417396
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 4
Function at 0x4222c6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
movsx edi, ax
shr eax, 0x10
cmp dword [esi + 0xbc], 0
movsx ebx, ax
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
je 0x42236c
cmp dword [esi + 0xc0], 0
je 0x42236c
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
cmp dword [esi + 0x6c], eax
je 0x42230d
sub ebx, dword [esi + 0xcc]
mov dword [esi + 0xc4], ebx
jmp 0x422319
sub edi, dword [esi + 0xc8]
mov dword [esi + 0xc4], edi
xor ebx, ebx
cmp dword [esi + 0xc4], eax
je 0x42234e
lea edi, [esi + 0x10c]
cmp dword [edi], eax
mov dword [ebp - 4], eax
je 0x42234e
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.0041f006
test eax, eax
je 0x42234c
mov edi, dword [edi]
push dword [ebp - 4]
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ebx, eax
xor eax, eax
cmp ebx, eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
je 0x4223c7
push 1
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4223c7
lea ecx, [ebp - 8]
mov eax, esi
call fcn.00421fe2
test eax, eax
jl 0x4223c7
cmp eax, dword [esi + 0x114]
jge 0x4223c7
lea ecx, [esi + 0x110]
call fcn.00408c86
push dword [esi + 4]
add eax, 4
mov edi, dword [eax]
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
push edi
push 0x7f9
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4223c7
push 1
push eax
push eax
push edi
push 0x4d4218
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.0049ea35
pop edi
xor eax, eax
pop ebx
leave
ret

Function at 0x423ad8
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
cmp dword [esi + 0xc], 0x202
push ebx
jne 0x423b3a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
and ax, 0xfffe
je 0x423b3a
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
push 4
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_calloc]
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x423b3a
push edi
mov edi, dword [esp + 0xc]
push ebx
push dword [esi + 0x1c]
add edi, 4
push dword [esi + 0x18]
push edi
call fcn.00423bb1
push 1
push 0
push 0
push ebx
push 0x4d4218
push dword [edi]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
xor eax, eax
pop ebx
ret 4
Function at 0x42923d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4ed384]
or dword [edi + 8], 0xffffffff
mov dword [ebp + 0x98], eax
push esi
lea eax, [ebp - 0x7c]
xor esi, esi
push eax
mov dword [edi], esi
mov dword [edi + 0xc], esi
mov dword [ebp - 0x7c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x429285
cmp dword [ebp - 0x78], 5
jb 0x429285
xor eax, eax
inc eax
cmp dword [ebp - 0x74], eax
jae 0x429287
xor eax, eax
cmp eax, esi
mov dword [edi + 4], eax
je 0x429296
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
jmp 0x4292cd
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0xc
push esi
push 3
push 0xc
mov dword [ebp - 0x80], eax
pop eax
lea esi, [ebp - 0x80]
call fcn.00428f16
push 0xc
push 1
push 3
push 0xc
mov dword [edi + 0x10], eax
pop eax
call fcn.00428f16
push dword [ebp - 0x80]
mov dword [edi + 0x14], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp + 0x98]
mov eax, edi
pop esi
call fcn.004c7b01
add ebp, 0x9c
leave
ret
Function at 0x42977e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [0x4f20a8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 4], eax
movzx eax, word [ebp + 0xc]
push 0x471413
push eax
mov esi, 0xf0
push esi
xor edi, edi
push ebx
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
cmp word [ebp - 8], 0x804
jne 0x4297c7
mov dword [ebp - 4], 0x3a8
jmp 0x4297d6
cmp word [ebp - 8], 0x404
jne 0x4297d6
mov dword [ebp - 4], 0x3b6
movzx eax, word [ebp + 0xc]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4297f6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x4297fd
xor eax, eax
jmp 0x4298d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x4298cd
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov ax, word [ebx]
cmp ax, di
mov dword [ebp - 0xc], eax
je 0x4298cd
inc ebx
inc ebx
mov ax, word [ebx]
inc ebx
inc ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ax, 0x180
mov dword [ebp - 0x14], ecx
je 0x429882
cmp ax, 0x401
je 0x429882
cmp ax, 0x143
je 0x42984c
cmp ax, 0x403
jne 0x4298c4
push edi
push edi
push 0xffffffffffffffff
push ebx
push edi
push dword [ebp - 4]
call esi
mov dword [ebp - 0x10], eax
add eax, 3
and eax, 0xfffffffc
call fcn.004c7d30
mov dword [ebp + 0xc], esp
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push edi
push dword [ebp - 4]
call esi
push dword [ebp + 0xc]
push edi
push 0x143
jmp 0x4298b6
push edi
push edi
push 0xffffffffffffffff
push ebx
push edi
push dword [ebp - 4]
call esi
mov dword [ebp - 0x10], eax
add eax, 3
and eax, 0xfffffffc
call fcn.004c7d30
mov dword [ebp + 0xc], esp
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push edi
push dword [ebp - 4]
call esi
push dword [ebp + 0xc]
push edi
push 0x180
movzx eax, word [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
add ebx, dword [ebp - 0x14]
jne 0x429814
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a48c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
lea edi, [esi + 0x20]
mov dword [edi], eax
cmp dword [esi + 4], 0
jne 0x42a4bc
lea ebx, [ebp - 4]
mov eax, edi
call fcn.0040b068
mov eax, dword [eax]
push 0
push eax
mov eax, esi
call fcn.004312ed
test eax, eax
je 0x42a545
mov eax, dword [edi]
test eax, eax
je 0x42a50f
lea ecx, [ebp - 8]
push ecx
push 0
push 0x434
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
push 2
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_calloc]
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x42a50f
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
call fcn.00423bb1
test eax, eax
jle 0x42a507
push ebx
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x24]
push eax
call fcn.00430e2a
push dword [ebp + 8]
push esi
call fcn.0042a648
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret 4

Function at 0x42a54b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
lea edi, [esi + 0x24]
push dword [edi]
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
je 0x42a57d
lea eax, [ebx + ebx + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 4], eax
jne 0x42a585
or eax, 0xffffffff
jmp 0x42a643
inc ebx
push ebx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3f6
push dword [esi + 4]
call edi
mov ebx, eax
neg ebx
push 0x3f2
push dword [esi + 4]
sbb ebx, ebx
inc ebx
call edi
test eax, eax
je 0x42a5b8
or ebx, 4
push 0x3f4
push dword [esi + 4]
call edi
test eax, eax
je 0x42a5c9
or ebx, 2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push 0
push 0x434
push dword [esi + 0x20]
call edi
test bl, 1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
je 0x42a5f3
mov eax, dword [ebp - 0x10]
or dword [ebp - 0x24], 0xffffffff
jmp 0x42a5fa
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x47c
push dword [esi + 0x20]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x42a61d
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x42a62d
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x437
push dword [esi + 0x20]
call edi
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
call fcn.004396cf
push ebx
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [ebp - 0xc]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42aa4d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
cmp dword [edi + 0x2c], esi
jne 0x42aa7a
push 1
push edi
call fcn.0042a648
push 1
push dword [edi + 0x28]
push 0x28
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x42ab46
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push esi
push 0x434
push dword [edi + 0x20]
call ebx
push 0x3f6
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x42aabc
push esi
push esi
push 0xe
push dword [edi + 0x20]
call ebx
dec eax
cmp dword [ebp - 0x10], eax
jge 0x42aab4
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x42aaca
cmp dword [ebp - 0x14], esi
jle 0x42aac4
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0x437
push dword [edi + 0x20]
call ebx
mov eax, edi
call fcn.0042a54b
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x42aaed
or eax, 0xffffffff
jmp 0x42ab45
lea esi, [edi + 0x28]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 8], eax
lea eax, [eax + eax + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x42aae8
mov ecx, dword [ebp - 8]
inc ecx
push ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp - 4]
push 1
push 0xc2
push dword [edi + 0x20]
call ebx
mov ebx, dword [ebp - 4]
call fcn.004396cf
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, edi
call fcn.0042a54b
mov eax, dword [ebp - 0xc]
pop ebx
pop esi
leave
ret
Function at 0x42ab49
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push esi
push edi
mov esi, eax
push dword [esi + 0x24]
call ebx
mov edi, eax
test edi, edi
je 0x42ab78
lea eax, [edi + edi + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 8], eax
jne 0x42ab80
or eax, 0xffffffff
jmp 0x42acb8
inc edi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
push dword [esi + 0x24]
call edi
push dword [esi + 0x28]
call ebx
mov ebx, eax
lea eax, [ebx + ebx + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0xc], eax
jne 0x42abb9
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
or eax, 0xffffffff
jmp 0x42acb7
inc ebx
push ebx
push eax
push dword [esi + 0x28]
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push 0
push 0x434
push dword [esi + 0x20]
call edi
mov eax, dword [ebp - 8]
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3f8
push dword [esi + 4]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x42ac01
xor eax, eax
push eax
push eax
push 0xe
push dword [esi + 0x20]
mov dword [ebp - 0x28], eax
call edi
jmp 0x42ac18
push 0x3f9
push dword [esi + 4]
call ebx
test eax, eax
je 0x42ac1b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
push 0x3f2
push dword [esi + 4]
mov dword [ebp - 4], 1
call ebx
test eax, eax
je 0x42ac37
mov dword [ebp - 4], 5
push 0x3f4
push dword [esi + 4]
call ebx
test eax, eax
je 0x42ac49
or dword [ebp - 4], 2
mov eax, dword [ebp - 0xc]
call fcn.0042a8a9
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.0042a8a9
sub ebx, eax
jmp 0x42ac8e
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x437
push dword [esi + 0x20]
call edi
push dword [ebp - 0xc]
push 1
push 0xc2
push dword [esi + 0x20]
call edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x24], ebx
add eax, ebx
cmp eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
jge 0x42aca4
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
push 0x47c
push dword [esi + 0x20]
call edi
cmp eax, 0xffffffff
jne 0x42ac5f
push dword [ebp - 8]
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
push dword [ebp - 0xc]
call esi
pop ecx
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42beaf
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x4ed384]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0x100c
lea esi, [ebx + 0x24]
push dword [esi]
mov dword [ebp + 0x1b4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
and word [ebp - 0x58], 0
mov dword [ebp - 0x5c], eax
xor eax, eax
mov ecx, 0x82
lea edi, [ebp - 0x56]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, ebx
call fcn.0042b601
push dword [eax]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
pop ecx
pop ecx
je 0x42bf1f
push eax
call fcn.004013aa
mov eax, dword [ebx + 4]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x78], eax
xor edi, edi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x7c], 3
mov dword [ebp - 0x74], edi
mov word [ebp - 0x70], 0x40
mov dword [ebp - 0x6e], edi
mov dword [ebp - 0x6a], edi
mov dword [ebp - 0x66], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x42bf63
cmp dword [ebp - 0x6e], edi
jne 0x42bf63
push dword [ebp - 0x5c]
mov eax, esi
call fcn.00414790
mov ecx, dword [ebp + 0x1b4]
pop edi
xor eax, eax
pop esi
call fcn.004c7b01
add ebp, 0x1b8
leave
ret

Function at 0x42c05d
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42c12b
cmp word [eax], 0
je 0x42c12b
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.0042b601
mov eax, dword [0x4f0980]
mov dword [ebp - 4], eax
mov eax, 0x104
push eax
lea ecx, [ebp - 4]
call fcn.00403042
push eax
push 1
push dword [esi + 0x10]
lea eax, [edi + 0x24]
push eax
call fcn.00414713
or eax, 0xffffffff
lea ecx, [ebp - 4]
call fcn.0040306e
push dword [esi + 0x20]
lea eax, [ebp - 4]
push eax
call fcn.00402fdb
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x42c131
push 0x8187
lea eax, [ebp - 8]
call fcn.00408e92
pop ecx
push 0x10
push dword [0x4f2c74]
push dword [eax]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x42c109
push eax
call fcn.004013aa
lea eax, [esi - 0xc]
cmp eax, dword [0x4f0984]
je 0x42c11a
push eax
call fcn.004013aa
lea eax, [ebx - 0xc]
cmp eax, dword [0x4f0984]
je 0x42c12b
push eax
call fcn.004013aa
xor eax, eax
pop esi
pop ebx
leave
ret
lea eax, [esi - 0xc]
cmp eax, dword [0x4f0984]
je 0x42c142
push eax
call fcn.004013aa
lea eax, [ebx - 0xc]
cmp eax, dword [0x4f0984]
je 0x42c153
push eax
call fcn.004013aa
xor eax, eax
inc eax
jmp 0x42c12d
Function at 0x42fafd
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push esi
push 0x4d5310
lea eax, [ebp - 4]
push eax
add ecx, 0x218
call fcn.0041d7b5
mov esi, dword [ebp - 4]
cmp dword [esi - 8], 0
jne 0x42fb3e
lea eax, [esi - 0xc]
cmp eax, dword [0x4f0984]
je 0x42fc50
push eax
call fcn.004013aa
jmp 0x42fc50
push ebx
push edi
call fcn.0049dd24
neg eax
sbb eax, eax
and eax, 0xc
inc eax
cmp eax, 0xd
mov dword [ebp - 0xc], eax
jne 0x42fbb2
lea ecx, [ebp - 4]
lea esi, [ebp - 8]
call fcn.00402eaa
mov esi, dword [ebp - 8]
mov edi, dword [esi - 8]
lea edi, [edi + edi + 2]
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x42fb8b
add esi, 0xfffffff4
cmp esi, dword [0x4f0984]
je 0x42fc3a
push esi
jmp 0x42fbe3
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esi, 0xfffffff4
cmp esi, dword [0x4f0984]
je 0x42fc14
push esi
jmp 0x42fc0f
lea eax, [ebp - 8]
push 0
push eax
mov eax, esi
call fcn.00401754
mov edi, dword [ebp - 8]
mov esi, dword [edi - 8]
pop ecx
pop ecx
inc esi
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x42fbea
lea eax, [edi - 0xc]
cmp eax, dword [0x4f0984]
je 0x42fc3a
push eax
call fcn.004013aa
jmp 0x42fc3a
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [edi - 0xc]
cmp eax, dword [0x4f0984]
je 0x42fc14
push eax
call fcn.004013aa
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42fc3a
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x42fc4e
push eax
call fcn.004013aa
pop edi
pop ebx
xor eax, eax
pop esi
leave
ret 4

Function at 0x433942
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
ret