joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432eae
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
push edi
push eax
mov ebx, edx
call dword [ecx + 0x38]
test byte [eax + 0x6c], 0x20
je 0x432ee9
xor edi, edi
push edi
push edi
push ebx
push dword [esi + 0x20]
call fcn.004063b5
add esp, 0x10
jmp 0x432fb4
movzx eax, byte [esi + 0xb8]
push eax
lea eax, [esi + 0x2c]
call fcn.00432391
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
xor edi, edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x14]
push eax
push ebx
lea ebx, [ebp - 0x40]
call fcn.00401d95
movzx ebx, byte [esi + 0x8a]
push edi
push edi
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [esi + 0x50]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0x18], ebx
cmp ebx, dword [ebp - 0xc]
jge 0x432f76
push 0xcc0020
push edi
push edi
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x1c]
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call esi
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
add eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xc]
jl 0x432f4c
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], eax
cmp ebx, eax
jge 0x432fac
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 0xcc0020
push edi
push edi
push dword [ebp - 0x20]
push ebx
push eax
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x20]
call esi
add dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jl 0x432f86
lea esi, [ebp - 0x40]
call fcn.00401d4b
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00447d7e
leave
ret
Function at 0x433471
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x28], 0
push ebx
mov ebx, dword [esi + 0x40]
push edi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
push eax
mov byte [ebp - 0x59], 0
call dword [ecx + 0x38]
movzx eax, word [eax + 0x28]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x4334e1
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4334e1
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0xe4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x20]
add dword [ebp - 0x10], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x418
push ebx
call edi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x64], eax
imul eax, dword [ebp - 0x60]
mov edx, ecx
sub edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x433514
xor eax, eax
mov word [esi + 0xbc], ax
jmp 0x4335bf
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
push 0x433
push ebx
call edi
push 2
lea eax, [ebp - 0x38]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
push 0
push dword [ebp + 8]
mov dword [ebp - 0x68], eax
push 0x419
push ebx
call edi
cmp dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
je 0x43359b
cmp dword [ebp - 0x58], ecx
jne 0x43359b
cmp dword [ebp - 0x50], edx
jne 0x43359b
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x64]
dec eax
push eax
push 0x41d
push ebx
call edi
push 2
lea eax, [ebp - 0x48]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x10]
mov eax, ecx
sub eax, dword [ebp - 0x40]
js 0x4335e2
mov eax, ecx
sub eax, dword [ebp - 0x40]
jmp 0x4335b8
cmp ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
jge 0x4335b4
mov edx, dword [ebp - 0x60]
imul edx, eax
neg edx
mov word [esi + 0xbc], dx
jmp 0x4335bf
mov eax, ecx
sub eax, edx
add word [esi + 0xbc], ax
sub ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x28]
sub eax, dword [ebp - 0x14]
add ecx, dword [ebp - 0x20]
or dword [esi + 0x44], 0x80000
push eax
push ecx
mov ecx, esi
mov byte [ebp - 0x59], 1
call fcn.004335f5
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 0x59]
pop edi
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret 4
Function at 0x4342a3
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2114
call fcn.00448890
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x20ac], eax
mov eax, dword [ebp + 0x10]
push edi
lea ecx, [ebp - 0x20a0]
mov dword [ebp - 0x20b4], eax
mov eax, dword [ebp + 0x14]
push ecx
push 0x44cfb0
mov dword [ebp - 0x20a4], eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0x20b0], esi
call dword [eax]
test eax, eax
js 0x4344d2
lea eax, [ebp - 0x20c8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 6
push str.Atalic
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, dword [esi]
lea edx, [ebp - 0x20c8]
push edx
push 1
push eax
push esi
mov dword [ebp - 0x20a8], eax
call dword [ecx + 0x20]
test eax, eax
js 0x4344ba
cmp word [ebp - 0x20c8], 3
jne 0x4344ad
cmp dword [ebp - 0x20c0], 0x8001
jne 0x4344ad
mov eax, dword [ebp - 0x20a0]
lea edx, [ebp - 0x209c]
xor esi, esi
push edx
mov dword [ebp - 0x209c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov ecx, dword [ebp - 0x209c]
cmp dword [ebp - 0x209c], esi
jne 0x43437d
mov ecx, 0x44b914
mov edi, 0x824
push edi
lea eax, [ebp - 0x2098]
call fcn.00401aca
pop ecx
push dword [ebp - 0x209c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x38
lea eax, [ebp - 0x2110]
push esi
push eax
call fcn.00445b20
add esp, 0xc
push 0x3c
pop ebx
lea eax, [ebp - 0x2114]
push eax
push esi
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCrackUrlW]
lea eax, [ebp - 0x2098]
push eax
mov dword [ebp - 0x2114], ebx
mov dword [ebp - 0x20dc], 1
call esi
mov eax, dword [ebp - 0x20e0]
test eax, eax
je 0x4343e7
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x1050]
call fcn.00401aca
push ebx
xor edi, edi
lea eax, [ebp - 0x2114]
push edi
push eax
call fcn.00445b20
add esp, 0x10
lea eax, [ebp - 0x2114]
push eax
mov dword [ebp - 0x2114], ebx
push edi
xor ebx, ebx
push edi
lea eax, [ebp - 0x1050]
inc ebx
push eax
mov dword [ebp - 0x20dc], ebx
call esi
mov eax, dword [ebp - 0x20e0]
cmp eax, edi
je 0x434439
xor ecx, ecx
mov word [eax], cx
push ebx
lea eax, [ebp - 0x2098]
push eax
lea eax, [ebp - 0x1050]
push eax
call dword [sym.imp.SHLWAPI.dll_UrlCompareW]
test eax, eax
jne 0x4344ba
call dword [sym.imp.USER32.dll_GetFocus]
push dword [ebp - 0x20b4]
call fcn.00401eb5
pop ecx
test al, al
je 0x4344ba
push 9
pop eax
mov word [ebp - 0x20d8], ax
mov eax, dword [ebp - 0x20b0]
push edi
push edi
mov dword [ebp - 0x20d0], eax
push edi
lea eax, [ebp - 0x20d8]
push eax
mov eax, dword [ebp - 0x20ac]
push 0x60000007
call fcn.0041520f
add esp, 0x14
test eax, eax
je 0x4344ba
mov ecx, dword [ebp - 0x20a4]
or eax, 0xffffffff
mov word [ecx], ax
jmp 0x4344ba
lea eax, [ebp - 0x20c8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x20a8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x20a0]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret
Function at 0x434f0f
Capabilities:
Read file via mapping

Disassembly:
push ebx
push edi
xor edi, edi
push edi
push 4
push esi
mov ebx, 0x80004005
mov dword [esi], edi
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.00424668
add esp, 0x18
test eax, eax
je 0x434f52
push edi
push edi
push edi
push 4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
cmp eax, edi
je 0x434f52
xor ebx, ebx
pop edi
mov eax, ebx
pop ebx
ret

Function at 0x4368bd
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x5a4]
sub esp, 0x624
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
mov eax, dword [ebp + 0x5ac]
push 0x61
mov dword [ebp - 0x80], edx
pop edx
mov byte [ebp - 0x79], 0
cmp dx, word [eax]
jne 0x436a2a
push 0x62
pop edx
cmp dx, word [eax + 2]
jne 0x436a2a
push 0x6f
pop edx
cmp dx, word [eax + 4]
jne 0x436a2a
push 0x75
pop edx
cmp dx, word [eax + 6]
jne 0x436a2a
push 0x74
pop edx
cmp dx, word [eax + 8]
jne 0x436a2a
push 0x3a
pop edx
cmp dx, word [eax + 0xa]
jne 0x436a2a
push ebx
push esi
push edi
mov esi, 0x104
lea ecx, [eax + 0xc]
push esi
lea eax, [ebp + 0x190]
call fcn.00401aca
lea eax, [ebp + 0x190]
mov dword [esp], str..html
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
push esi
lea eax, [ebp - 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.settingcustomize
lea ecx, [ebp - 0x78]
lea esi, [ebp + 0x398]
call fcn.00444a59
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
pop ecx
lea eax, [ebp + 0x190]
push eax
mov eax, esi
push eax
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, esi
push eax
call edi
test eax, eax
jne 0x436a01
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov word [ebp + eax*2 + 0x396], cx
mov eax, esi
push eax
call edi
test eax, eax
jne 0x436a01
push str.resource
lea ecx, [ebp - 0x78]
call fcn.00444a59
pop ecx
lea eax, [ebp + 0x190]
push eax
mov eax, esi
push eax
call ebx
mov eax, esi
push eax
call edi
test eax, eax
jne 0x436a01
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov word [ebp + eax*2 + 0x396], cx
mov eax, esi
push eax
call edi
test eax, eax
jne 0x436a01
mov word [ebp + 0x398], ax
cmp word [ebp + 0x398], 0
pop edi
pop esi
pop ebx
je 0x436a3e
cmp dword [ebp - 0x80], 0
mov byte [ebp - 0x79], 1
je 0x436a3e
lea eax, [ebp + 0x398]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x436a3e
test ecx, ecx
je 0x436a3e
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x436a3e
mov byte [ebp - 0x79], 1
mov ecx, dword [ebp + 0x5a0]
mov al, byte [ebp - 0x79]
xor ecx, ebp
call fcn.00447d7e
add ebp, 0x5a4
leave
ret
Function at 0x436c7b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 7
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x218], eax
mov edi, ecx
jne 0x436cb6
push edi
push str.default
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x436dac
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x218]
mov esi, 0x80004005
push 0x449944
mov ebx, esi
call fcn.004012e8
pop ecx
pop ecx
test eax, eax
js 0x436daa
movzx eax, word [edi]
cmp eax, 0x64
jne 0x436d17
mov eax, dword [ebp - 0x214]
push 0
push 0x401779
call fcn.00401788
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x436d9e
test ebx, 0xffff
jne 0x436d9e
mov ebx, esi
jmp 0x436d9e
cmp eax, 0x75
jne 0x436d60
cmp dword [ebp + 0xc], 5
jbe 0x436d60
push str.settinguserStyleSheet
xor ecx, ecx
lea esi, [ebp - 0x210]
call fcn.00444a59
pop ecx
lea eax, [edi + 0xa]
push eax
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436d60
mov eax, esi
push eax
mov eax, dword [ebp - 0x214]
call fcn.00401841
pop ecx
mov ebx, eax
cmp word [edi], 0x61
jne 0x436d9e
cmp dword [ebp + 0xc], 0xa
jbe 0x436d9e
and dword [ebp - 0x224], 0
and dword [ebp - 0x220], 0
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 0x214]
add edi, 0x14
push 0x401884
mov dword [ebp - 0x21c], edi
call fcn.00401788
pop ecx
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret
Function at 0x43d121
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x38]
xor esi, esi
push 0x58
mov dword [ebp - 4], eax
lea eax, [ebp - 0x74]
push esi
push eax
mov dword [ebp - 0x78], esi
call fcn.00445b20
add esp, 0xc
push 0x11
xor edi, edi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x43d15e
push 4
pop edi
or edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
or edi, 0x10001
mov dword [ebp - 0x74], edi
test dword [ecx + 0xa8], 0x800
mov eax, 0x80
je 0x43d181
add eax, 0x10
push 1
push eax
lea edi, [ebp - 0x78]
call fcn.0043cd7c
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x60], eax
push esi
mov eax, 0x4000
mov word [ebp - 0x18], ax
push esi
lea edx, [ebp - 0x18]
mov eax, edi
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax]
push 0x80000506
push eax
call dword [ecx + 0xc]
mov eax, edi
mov dword [ebp - 0x60], esi
call fcn.0044547c
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x43f5c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push dword [ebp + 8]
lea eax, [esi + 0x14]
push ebx
push 0x222
call fcn.00442fa2
mov edi, dword [esi + 0x24]
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp + 8]
je 0x43f5eb
test ebx, ebx
jne 0x43f688
test ebx, ebx
je 0x43f62c
lea eax, [ebp - 8]
push eax
push ebx
call fcn.00440a2d
pop ecx
pop ecx
test eax, eax
js 0x43f62c
push 0xb
pop eax
xor ecx, ecx
push ecx
push ecx
push ecx
mov word [ebp - 0x1c], ax
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push 0x80000400
push eax
call dword [edx + 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x154]
inc dword [eax + 0xd8]
mov eax, dword [eax + 0xd8]
push 1
mov ecx, esi
mov dword [esi + 0x3c], eax
call fcn.00440628
test byte [esi + 0x28], 4
je 0x43f688
test ebx, ebx
je 0x43f688
cmp ebx, dword [ebp + 8]
je 0x43f688
push 0xfffffffffffffff0
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
call edi
test eax, 0x1000000
je 0x43f688
push 4
push ebx
call edi
mov edi, eax
test edi, edi
je 0x43f688
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xc]
pop edi
leave
ret 4
Function at 0x44313b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x452864]
push esi
push edi
cmp eax, 1
jne 0x44315d
push 0xd
push 0
push dword [0x45283c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x443181
jmp 0x4431c3
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4431c3
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x443185
xor eax, eax
jmp 0x4431c3
mov eax, dword [esi]
push dword [0x452864]
call edi
mov edi, eax
test edi, edi
je 0x4431a7
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4431c3
lea edi, [esi + 0xff0]
push esi
push dword [0x452864]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4431ad
mov eax, esi
pop edi
pop esi
ret

Function at 0x443e11
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
jne 0x443e74
test eax, eax
je 0x443e74
and dword [ebp - 4], 0
lea ecx, [eax + 2]
cmp ecx, 0x1000
setb bl
test bl, bl
je 0x443e4f
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
mov dword [ebp - 4], ecx
push esi
push edi
push dword [ebp + 8]
lea esi, [ebp - 4]
mov edi, eax
call fcn.004440f9
pop ecx
pop edi
pop esi
test eax, eax
js 0x443e88
test bl, bl
jne 0x443e88
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], ecx
jmp 0x443e88
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x443e88
and eax, 0xffff
or eax, 0x80070000
pop ebx
leave
ret

Function at 0x4440f9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
cmp dword [esi], 0
jne 0x444120
lea eax, [edi + 2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x44415e
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [esi]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x444148
cmp dword [ebp - 4], edi
jne 0x444148
mov eax, dword [esi]
xor ecx, ecx
mov word [edi + eax], cx
mov eax, dword [ebp - 8]
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x444163
and eax, 0xffff
or eax, 0x80070000
leave
ret
mov eax, 0x8007000e
leave
ret

Function at 0x444165
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 1
push 3
push SysReAllocStringLen
push dword [ebp + 8]
call fcn.0044409b
mov esi, eax
add esp, 0x14
test esi, esi
js 0x4441ae
push edi
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov edi, eax
call fcn.004440f9
pop ecx
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x444315
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, eax
lea eax, [ebp + 8]
push eax
push 0x80
push 4
push 0x40000000
push dword [ebp + 8]
mov edi, 0x80004005
call fcn.0044409b
add esp, 0x14
test eax, eax
jne 0x44438b
mov eax, dword [esi + 0x1c]
mov esi, dword [esi + 0x24]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44436c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
jmp 0x444380
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x444380
and eax, 0xffff
or eax, 0x80070000
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x444d20
Capabilities:
Read clipboard data

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
push esi
push 0xd
mov byte [edi], 0
call ebx
mov esi, eax
test esi, esi
jne 0x444d48
push 1
call ebx
mov esi, eax
mov byte [edi], 1
test esi, esi
jne 0x444d48
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop esi
pop ebx
ret

Function at 0x444fa4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp eax, esi
je 0x444fe4
mov ecx, dword [eax]
push esi
lea edx, [ebp - 4]
push edx
push esi
push dword [ebp + 8]
push esi
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x444fe4
push 0x208
push 0x2b4
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x444ff5
mov ecx, dword [ebp + 8]
push 0x104
lea eax, [edi + 0xc]
call fcn.00401aca
pop ecx
lea eax, [edi + 0xc]
pop esi
leave
ret
Function at 0x4452d1
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx + 0x214]
push ecx
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
je 0x4453a2
push edi
push 0x22
pop eax
mov word [esi], ax
push 0x104
lea eax, [esi + 2]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp + 8]
mov edi, eax
push 0x22
pop eax
mov word [esi + edi*2 + 2], ax
push 0x20
pop eax
mov word [esi + edi*2 + 4], ax
push 0x22
pop eax
mov word [esi + edi*2 + 6], ax
mov eax, dword [ebp + 0xc]
inc eax
push eax
lea eax, [esi + edi*2 + 8]
call fcn.00401aca
mov eax, dword [ebp + 0xc]
push 0x22
pop ecx
add eax, edi
push 0x44
mov word [esi + eax*2 + 0xa], cx
pop edi
xor ecx, ecx
push edi
mov word [esi + eax*2 + 0xc], cx
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00445b20
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push esi
push ebx
mov dword [ebp - 0x58], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x445396
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x14]
call edi
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x447d7e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x447d88
repz ret
jmp fcn.00447f15

Function at 0x427432
Capabilities:
Encode data using xor

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
jmp loc.00401219