joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a143
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [eax + 0x190]
test al, al
jns 0x44a165
or eax, 0xffffffff
jmp 0x44a16a
mov eax, dword [0x579134]
mov edx, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x290]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x57a588
call fcn.004544e7
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x44a207
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x44a207
cmp edi, ebx
je 0x44a1bc
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x200]
push eax
push 0x57a640
call fcn.004544e7
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x44a210
test ebx, ebx
je 0x44a1f3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, 0x40
je 0x44a207
cmp dword [ebp - 4], 0
je 0x44a1f3
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x224]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x44a209
mov eax, dword [esi]
push 5
push 0
push edi
mov ecx, esi
call dword [eax + 0x1d0]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], 3
jne 0x44a207
test edi, edi
je 0x44a207
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x15c]
test eax, eax
je 0x44a207
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
test eax, eax
je 0x44a207
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x218]
mov eax, dword [esi]
push 0
push 1
push 5
push edi
mov ecx, esi
call dword [eax + 0x328]
mov edx, dword [ebp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
jmp 0x44a209

Function at 0x44bf8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x57bf70]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x52a0ac
call fcn.00505841
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x1c], esi
call fcn.005038f0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
xor eax, eax
cmp byte [ebp + 0x214], bl
push str.InstallDir
setne al
push str.SoftwareAdvancedSystemRepairPro
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0x104
add eax, 0x80000001
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
shr eax, 1
mov word [ebp + eax*2], cx
push esi
lea ecx, [ebp]
call fcn.00449760
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
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 + 0x208]
xor ecx, ebp
call fcn.00418014
add ebp, 0x20c
leave
ret
Function at 0x45674b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x456792
call fcn.004b9935
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x456792
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4567ae
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040cdd2
mov esi, eax
test edi, edi
je 0x4567ac
test ebx, ebx
je 0x4567ac
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45ab10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x528faa
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57bf70]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov eax, dword [0x5837a8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5837a8
call edx
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], esi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebp
push esi
push 0xfde9
mov dword [esp + 0x38], 1
call ebx
cmp eax, 1
jle 0x45ac38
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
call fcn.00448aa0
mov dword [esp + 0x24], 2
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor edi, edi
push edi
push edi
push eax
push ecx
push 0xffffffffffffffff
push ebp
push edi
push 0xfde9
call ebx
cmp eax, 1
jle 0x45abf0
mov edx, dword [esi]
mov byte [edx + eax - 1], 0
mov ebx, dword [esi]
cmp ebx, edi
jne 0x45abd8
xor eax, eax
push eax
push ebx
mov ebx, dword [esp + 0x34]
mov ecx, ebx
call fcn.004346bf
jmp 0x45abf4
push ebx
call fcn.00503f80
add esp, 4
push eax
push ebx
mov ebx, dword [esp + 0x34]
mov ecx, ebx
call fcn.004346bf
jmp 0x45abf4
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x24], 0
add dword [esi + 8], 0xffffffff
jne 0x45ac22
cmp dword [esi + 4], edi
je 0x45ac15
mov eax, dword [esi]
push edi
push eax
call fcn.00503cd5
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], edi
push esi
call fcn.0043fd85
add esp, 4
mov dword [esp + 0x14], edi
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x45fecb
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x5240ae
call fcn.005058aa
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
call fcn.00413928
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, 0x13
jne 0x45fef9
push 0x54637c
jmp 0x45ff3c
push 0x66
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.005038f0
add esp, 0xc
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
shl eax, 0x10
add esi, 0xffffffdf
or eax, 1
cmp esi, 0xe
ja 0x45ff2b
or eax, 0x1000000
push 0x32
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004e3d13
lea ecx, [ebp - 0x7c]
call fcn.00456cdb
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 0xc], edi
jle 0x45ff8d
push edi
lea ecx, [ebp - 0x7c]
call fcn.00492fed
movzx ebx, ax
push ebx
call dword [sym.imp.USER32.dll_IsCharLowerW]
test eax, eax
jne 0x45ff73
inc edi
cmp edi, dword [esi - 0xc]
jl 0x45ff54
jmp 0x45ff8d
movzx eax, bx
push eax
call fcn.005087bf
pop ecx
movzx eax, ax
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.0047f0ab
mov esi, dword [ebp - 0x7c]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x80]
push esi
call fcn.0047bc3f
cmp dword [ebp + 0x10], 0
jne 0x45ffa9
mov ecx, dword [ebp - 0x80]
push 0x2b
call fcn.004884fe
lea ecx, [esi - 0x10]
call fcn.00471a40
call fcn.0050592d
ret 0xc
Function at 0x46083e
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x10
mov eax, 0x52a7b2
call fcn.00505841
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
push 0x23
push edi
mov dword [ebp - 0x10], esi
call fcn.0048ea7f
pop ecx
pop ecx
mov dword [ebp - 4], esi
xor ebx, ebx
push 0x94
lea eax, [ebp - 0x1c]
inc ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.00473367
mov esi, eax
mov dword [ebp - 4], ebx
push 0x90
lea eax, [ebp - 0x18]
push eax
call fcn.00473367
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x14]
push ecx
mov esi, eax
call fcn.0043fc75
pop ecx
pop ecx
mov byte [ebp - 4], 3
push edi
call fcn.00481e95
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00434d80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00434d80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00434d80
push dword [edi]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
jne 0x4608e9
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [edi]
call fcn.0043ddae
pop ecx
push 0x95
lea eax, [ebp - 0x14]
push eax
call fcn.00473367
mov esi, eax
mov dword [ebp - 4], 4
push 0x90
lea eax, [ebp - 0x18]
push eax
call fcn.00473367
mov byte [ebp - 4], 5
push esi
lea ecx, [ebp - 0x1c]
push ecx
mov esi, eax
call fcn.0043fc75
pop ecx
pop ecx
mov byte [ebp - 4], 6
push edi
call fcn.00481e95
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00434d80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00434d80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00434d80
push dword [edi]
call ebx
test eax, eax
jne 0x460969
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [edi]
call fcn.0043ddae
pop ecx
mov eax, edi
call fcn.00505919
ret
Function at 0x462f53
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
push 0x30
mov eax, 0x52887c
call fcn.00505841
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xf003f
push esi
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x46305b
push 0x2c
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
je 0x46305b
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push ebx
call esi
test eax, eax
je 0x463046
cmp dword [ebp - 0x38], 1
je 0x46305b
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x462ff7
push dword [ebp - 0x24]
call edi
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push 0
push ebx
call esi
test eax, eax
je 0x463046
cmp dword [ebp - 0x38], 1
je 0x463046
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
ja 0x463046
cmp dword [ebp - 0x38], 3
je 0x462fc9
lea eax, [ebp - 0x3c]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x463046
jmp 0x463040
push 0x3e8
call edi
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push 0
push ebx
call esi
test eax, eax
je 0x463046
cmp dword [ebp - 0x38], 1
je 0x463046
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
ja 0x463046
cmp dword [ebp - 0x38], 1
jne 0x463010
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 0x18]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00434d80
call fcn.00505919
ret
Function at 0x4633a0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x528564
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57bf70]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x30], ebx
push 0xc
mov dword [esp + 0x18], ebx
call fcn.004991f5
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp eax, ebx
je 0x4633fc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
jmp 0x4633fe
xor eax, eax
mov byte [esp + 0x30], bl
mov dword [ebp], eax
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x40]
push ebx
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x50]
push eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4634a4
mov edi, dword [ebp]
cmp esi, dword [edi + 4]
je 0x463465
mov eax, dword [edi]
push esi
push eax
call fcn.00503cd5
mov ecx, dword [edi + 4]
add esp, 8
mov dword [edi], eax
cmp esi, ecx
jbe 0x463462
mov edx, esi
sub edx, ecx
push edx
add ecx, eax
push ebx
push ecx
call fcn.005038f0
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [ebp]
mov edx, dword [esp + 0x3c]
push ebx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], esi
mov eax, dword [eax]
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46348b
cmp dword [esp + 0x40], esi
je 0x4634a4
mov esi, dword [ebp]
cmp dword [esi + 4], ebx
je 0x4634a4
mov eax, dword [esi]
push ebx
push eax
call fcn.00503cd5
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x469c0c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x57fc58], 0
mov dword [ebp - 4], ecx
jne 0x469c22
xor eax, eax
jmp 0x469c5c
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x469c32
call fcn.004b9935
mov esi, dword [eax + 0xc]
push edi
push dword [0x57f778]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x469c58
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x469c60
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x469c7e
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x469c5a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004844ea
mov esi, eax
jmp 0x469c70

Function at 0x46e542
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004b9935
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46e57b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004dd13c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x471ade
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x471af6
mov edi, dword [esi + 0xc]
jmp 0x471b36
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x471b0f
call fcn.004f7e44
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x471b24
call fcn.004f7e44
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x471b36
call fcn.004f7e44
call fcn.004b9935
cmp dword [eax + 0x3c], 0
je 0x471b4b
push edi
mov ecx, ebx
call fcn.004c69ba
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004110a9
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x471b69
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x471b75
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x47406a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x522b8d
call fcn.00505841
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x47408f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4740d5
lea ecx, [ebp - 0x10]
call fcn.00413928
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00478e60
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00471a40
mov eax, esi
call fcn.00505919
ret 8

Function at 0x482a2e
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x48
mov eax, 0x523779
call fcn.00505874
mov dword [ebp - 0x14], ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.00445c95
mov edi, dword [0x57fbf0]
mov ebx, dword [0x57fbf4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00445615
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00470042
mov dword [ebp - 0x1c], esi
mov esi, vtable.CBitmap.0
mov dword [ebp - 0x20], esi
push ebx
push edi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004e694a
test eax, eax
jne 0x482ace
push 0xffffffffffffffff
push 0
push 0x3e8a
call fcn.004f9533
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.004312ac
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004451d4
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.004e31ed
xor eax, eax
call fcn.00505919
ret
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.00483d8e
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
push 0x57fb74
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ebx
call fcn.004497db
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00488484
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.00483d8e
call fcn.004d3fca
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x482a91
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x482b4f
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.004f9533
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x482a9f
lea ecx, [ebp - 0x20]
call fcn.0041d639
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x482b71
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.004f9533
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.004312ac
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004451d4
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.004e31ed
xor eax, eax
inc eax
jmp 0x482ac8
Function at 0x483450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x483474
cmp dword [edi + 0x54], 0
jne 0x483474
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004b9935
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004cd79f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x48519b
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x52a71b
call fcn.00505841
mov edi, dword [ebp + 8]
push edi
call fcn.00438b13
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push eax
call fcn.0041adbb
pop ecx
mov byte [ebp - 4], 1
call fcn.004c5c04
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00434d80
push dword [edi]
mov byte [ebp - 0xd], bl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4851e6
mov byte [ebp - 0xd], 1
mov eax, dword [edi]
push ebx
push ebx
push 4
push ebx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x485207
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xd], bl
je 0x48523a
push dword [edi]
call fcn.0043ddae
pop ecx
push ebx
call fcn.0050377c
pop ecx
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x55a508
call fcn.00449760
mov byte [ebp - 4], 2
push edi
mov byte [ebp - 4], bl
call fcn.00472d1c
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.00505919
ret 4

Function at 0x486786
Capabilities:
Get common file path

Disassembly:
push 0x30
mov eax, 0x5298f5
call fcn.005058aa
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
push 0x400
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], eax
call fcn.00447854
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4867be
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4867d6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0049261c
mov byte [ebp - 4], 2
push dword [ebp - 0x38]
mov esi, eax
push edi
call fcn.004b15b4
pop ecx
pop ecx
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], bl
lea eax, [ebp - 0x30]
push eax
call fcn.0041977a
mov byte [ebp - 4], 0
push 0
push ebx
lea esi, [ebp - 0x2c]
call fcn.004465fa
mov eax, edi
call fcn.0050592d
ret