joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cea0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5864c3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5e5c10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0045a13d
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [esi], vtable.CTCMemDC.0
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], vtable.CBitmap.0
mov byte [ebp - 4], 1
lea edi, [esi + 0x20]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
mov dword [esi + 0x30], eax
cmp eax, ecx
je 0x41cf87
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0045a70f
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x10]
call fcn.0045a9e3
lea eax, [esi + 0x10]
test eax, eax
je 0x41cf53
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0045aa74
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.0045a2bf
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push edi
mov ecx, esi
call fcn.0046e645
jmp 0x41cf99
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41d5d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5e5c10]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 3
mov dword [ebp - 0x218], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41d641
cmp dword [ebp - 0x208], 1
jne 0x41d61a
cmp dword [ebp - 0x210], 0
je 0x41d641
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055fd94
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x220]
push edx
push 1
push 0
push str.Control_PanelDesktop
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d6bc
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x228]
push edx
push 0
push str.WheelScrollLines
push eax
mov dword [ebp - 0x224], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d6af
push 0xa
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.00560b7a
add esp, 0xc
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
xor ecx, ebp
call fcn.0055fd94
mov esp, ebp
pop ebp
ret
Function at 0x436b30
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esi + 0x88]
cmp eax, 1
jne 0x436b63
cmp dword [0x5f01ec], 0
jne 0x436b8e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x436a00
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x5f01ec], eax
jmp 0x436b8e
cmp eax, 2
jne 0x436bea
cmp dword [0x5f01e8], 0
jne 0x436b8e
push 0
push 0
push 0
push 0
push 0
push 0x436bf0
call fcn.004741a2
mov dword [0x5f01e8], eax
mov edx, dword [0x5f045c]
xor eax, eax
push edi
test edx, edx
jle 0x436bb5
mov edi, dword [0x5f0458]
test eax, eax
js 0x436be5
cmp eax, edx
jge 0x436be5
mov ecx, dword [edi + eax*4]
cmp ecx, esi
je 0x436bc5
inc eax
cmp eax, edx
jl 0x436ba1
push esi
push edx
mov ecx, 0x5f0454
call fcn.004736b8
mov al, 1
pop edi
ret
mov ax, word [esi + 0x84]
mov word [ecx + 0x84], ax
mov dx, word [esi + 0x82]
mov word [ecx + 0x82], dx
mov al, 1
pop edi
ret
call fcn.004572d6
xor al, al
ret
Function at 0x43ec30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5e5c10]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5f01f0], 0
push esi
je 0x43ec5c
lea eax, [edi + 0x120e8]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [edi + 0x120cc]
push ecx
sub eax, 0x10
mov dword [ebp - 0x210], esp
mov esi, esp
push eax
call fcn.0040c280
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00456770
add esp, 4
call dword [0x5f0404]
mov ecx, dword [0x5f0414]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.005632e0
mov eax, dword [0x5f0520]
lea edx, [ebp - 0x20c]
add esp, 0xc
sub edx, eax
jmp 0x43ecd0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43ecd0
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
jmp 0x43ecf0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ecf0
sub eax, edx
sar eax, 1
je 0x43ed44
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x20c]
mov edx, 0x614
push eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], 0
mov word [ebp - 0x220], dx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0055fd94
mov esp, ebp
pop ebp
ret
Function at 0x450390
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftInternet_Explorer_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 0x270f
call esi
test eax, eax
je 0x4503c6
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0x50
call fcn.00456d04
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
mov edi, eax
mov eax, dword [ebp - 0x10]
push edi
lea edx, [ebp - 0x18]
push edx
push 0
push str.Version
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x450407
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebx
mov al, byte [edi]
cmp al, 8
jbe 0x450423
mov dword [ebp - 0xc], 0x2710
jmp 0x450430
jne 0x4504d2
mov dword [ebp - 0xc], 0x1f40
lea edx, [ebp - 4]
push edx
push 0xf003f
xor edi, edi
push edi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocString
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
test eax, eax
je 0x4504a7
lea eax, [ebp - 4]
push eax
push 0xf003f
push edi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x4504a7
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push edi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl
push SysReAllocString
call esi
test eax, eax
jne 0x4504a7
mov eax, dword [ebp - 8]
push edi
lea edx, [ebp - 4]
push edx
push edi
push 0xf003f
push edi
push edi
push edi
push str.FEATURE_BROWSER_EMULATION
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4504eb
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push edi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4504db
mov ecx, dword [ebp - 4]
push ecx
call ebx
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x4504d2
push eax
call ebx
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call ebx
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x4504eb
push eax
call ebx
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4564c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585840
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5e5c10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
jmp 0x456500
cmp dword [0x5f0414], 0
jne 0x4565de
call fcn.00456e5c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x456527
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x5f0520]
push ecx
lea edx, [ebp - 0x10]
push str._sTLib.dll
push edx
call fcn.0040bd00
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5f0414], eax
test eax, eax
jne 0x4565bb
call fcn.00456e5c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x456582
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
push str._s__
push ecx
mov byte [ebp - 4], 1
call fcn.0040bd00
mov edx, dword [ebp - 0x14]
add esp, 0xc
push 0
push 0
push edx
call fcn.00459c74
push 0
call fcn.0056244a
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4565de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x5f0414]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.fun4
push ecx
call esi
mov edx, dword [0x5f0414]
push str.fun5
push edx
mov dword [0x5f040c], eax
call esi
mov dword [0x5f0410], eax
mov eax, dword [0x5f0414]
push str.fun10
push eax
call esi
mov ecx, dword [0x5f0414]
push str.fun2
push ecx
mov dword [0x5f0400], eax
call esi
mov edx, dword [0x5f0414]
push str.fun3
push edx
mov dword [0x5f0404], eax
call esi
cmp dword [0x5f0400], 0
mov dword [0x5f0408], eax
je 0x45668a
cmp dword [0x5f0404], 0
je 0x45668a
test eax, eax
je 0x45668a
cmp dword [0x5f040c], 0
je 0x45668a
cmp dword [0x5f0410], 0
je 0x45668a
jmp 0x45667a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x5bee28
call fcn.00459c74
push 0
call fcn.0056244a
int3
Function at 0x4584b9
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x57d633
call fcn.00562dac
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4584de
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x458530
call fcn.00456e5c
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c30
mov ecx, dword [esi + 0x6c]
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.00562f02
push eax
call fcn.00401000
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401170
mov eax, esi
call fcn.00562e84
ret 8

Function at 0x45987c
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.0046950b
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 0x4598b5
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.004594b9
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 0x459913
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x459937
cmp dword [edi + 0x74], 0
jne 0x459937
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0046950b
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.004598d4
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 0x461d47
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 0x461d8e
call fcn.0046950b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x461d8e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x461daa
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00461847
mov esi, eax
test edi, edi
je 0x461da8
test ebx, ebx
je 0x461da8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x47719f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4771e7
call fcn.0046950b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4771e7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x47722a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x477213
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x477213
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x477227
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x49d7f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x49d813
call fcn.0046950b
mov esi, dword [eax + 0xc]
push dword [0x5eaae0]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x49d831
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x49d829
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x49d85e
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x49d82b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0049d727
mov esi, eax
jmp 0x49d850

Function at 0x4a387d
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004a3521
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4a38c7
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00432b70
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004331e0
jmp 0x4a38d2
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00485fec
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4a38d8
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00457d81
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4a3915
call fcn.004a3521
mov dword [esi + 0xc], 1
jmp 0x4a391a
call fcn.004a3521
cmp dword [esi], 0
je 0x4a3963
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4a393b
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00432b70
jmp 0x4a394d
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401c60
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004331e0
jmp 0x4a3987
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4a3987
push dword [esi]
push dword [ebp + 8]
call fcn.00485fec
pop esi
pop ebp
ret 0xc

Function at 0x4aae63
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4aaea1
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4aaeaf
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4aaeaf
push dword [esi]
push 2
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4aaeb1
cmp dword [esi + 4], 0
je 0x4aaeaf
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x4fe553
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00549c2e
call fcn.00468f3c
cmp dword [eax + 0x14], 0
jne 0x4fe570
mov ecx, esi
pop esi
jmp fcn.004fe0b6
pop esi
ret

Function at 0x4ffb9e
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00458f64
call fcn.00468f3c
cmp dword [eax + 0x14], 0
jne 0x4ffbbb
mov ecx, esi
pop esi
jmp fcn.004ff571
pop esi
ret

Function at 0x54078f
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 0x5407a7
mov edi, dword [esi + 0xc]
jmp 0x5407e7
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x5407c0
call fcn.0045a094
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x5407d5
call fcn.0045a094
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x5407e7
call fcn.0045a094
call fcn.0046950b
cmp dword [eax + 0x3c], 0
je 0x5407fc
push edi
mov ecx, ebx
call fcn.0053f64b
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005406a9
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x54081a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x540826
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x55fd94
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5e5c10]
jne 0x55fd9e
repz ret
jmp fcn.00567c33
Function at 0x5730b8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5e5c10]
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.0056765b
and dword [ebp - 0x14], 0
cmp dword [0x5ee0b8], 0
mov dword [ebp - 0x18], eax
jne 0x57316b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x573213
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5b6848
push ebx
call edi
test eax, eax
je 0x573213
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5b6838
push ebx
mov dword [0x5ee0b8], eax
call edi
push eax
call esi
push 0x5b6824
push ebx
mov dword [0x5ee0bc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5ee0c0], eax
call edi
push eax
call esi
mov dword [0x5ee0c8], eax
test eax, eax
je 0x57316b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5ee0c4], eax
mov eax, dword [0x5ee0c4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5731c4
cmp dword [0x5ee0c8], ecx
je 0x5731c4
push eax
call esi
push dword [0x5ee0c8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5731c4
test ebx, ebx
je 0x5731c4
call edi
test eax, eax
je 0x5731bb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5731bb
test byte [ebp - 8], 1
jne 0x5731c4
or dword [ebp + 0x10], 0x200000
jmp 0x5731f7
mov eax, dword [0x5ee0bc]
cmp eax, dword [ebp - 0x18]
je 0x5731f7
push eax
call esi
test eax, eax
je 0x5731f7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5731f7
mov eax, dword [0x5ee0c0]
cmp eax, dword [ebp - 0x18]
je 0x5731f7
push eax
call esi
test eax, eax
je 0x5731f7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5ee0b8]
call esi
test eax, eax
je 0x573213
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x573215
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055fd94
leave
ret
Function at 0x43a063
Capabilities:
Encode data using xor

Disassembly:
imul ebx, dword [ebp + 0x6d], 0xcd8f680e
fsubr st(2)
mov edi, 0x1fad267a
jle fcn.0043a063
insb byte es:[edi], dx
stosd dword es:[edi], eax
and ah, bl
pop ebp
pop esi
mov eax, 0x8edbd940
xchg edx, eax
mov ch, bh
dec eax
sub byte [0x45efb847], 0x43
cmp al, 0xea
xchg edx, eax
invalid