joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40772a
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 2
xor esi, esi
mov word [ebp - 8], ax
pop eax
mov word [ebp - 6], ax
mov dword [ebp - 4], 0x409e50
cmp dword [edi + 4], esi
je 0x407766
movzx eax, word [edi + 4]
push 1
push esi
push eax
lea eax, [edi + 8]
push eax
call fcn.004046ae
mov esi, eax
test esi, esi
jne 0x407769
lea eax, [ebp - 8]
push eax
push dword [edi]
call dword [sym.imp.ntoskrnl.exe_ZwDeleteValueKey]
mov edi, eax
test edi, edi
js 0x40777a
xor edi, edi
test esi, esi
je 0x407784
push esi
call fcn.00404832
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x408700
Capabilities:
Attach user process memory

Disassembly:
push 0x3c
push 0x40f808
call fcn.004011b4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
push 1
push 0x410
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.0040899a
mov esi, eax
test esi, esi
js 0x408823
mov edi, dword [ebp - 0x38]
push edi
call fcn.00408910
mov ebx, eax
test ebx, ebx
je 0x408823
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
mov ecx, dword [sym.imp.ntoskrnl.exe_PsProcessType]
push dword [ecx]
push 0x10
push edi
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
js 0x408823
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
and dword [ebp - 4], 0
lea edi, [ebx + 0xc]
push 4
push edi
call fcn.00404b16
test eax, eax
jne 0x40879f
mov dword [ebp - 4], 0xfffffffe
jmp 0x408819
mov edi, dword [edi]
push 4
lea eax, [edi + 0x10]
push eax
call fcn.00404b16
test eax, eax
je 0x408796
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x48], edi
mov ebx, dword [ebp - 0x4c]
push 0x48
push edi
call fcn.00404b16
test eax, eax
je 0x408796
movzx eax, word [edi + 0x24]
push eax
push dword [edi + 0x28]
call fcn.00404b16
test eax, eax
je 0x408796
cmp dword [edi + 0x18], 0
je 0x4087e9
push dword [ebp - 0x44]
push 1
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x40], esi
mov edi, dword [edi]
test esi, esi
js 0x408796
cmp edi, dword [ebp - 0x48]
jne 0x4087b9
test esi, esi
js 0x408796
push dword [ebp - 0x44]
push 1
push 0
call ebx
mov esi, eax
mov dword [ebp - 0x40], esi
jmp 0x408796
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x408831
push edi
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x40883e
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, esi
call fcn.004011fc
ret 0xc
Function at 0x408fc4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x408fd9
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0xc]
add eax, 2
mov word [ebp - 0xa], ax
lea eax, [ebp - 4]
push eax
push esi
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ecx, eax
cmp ecx, 0x80000005
je 0x409021
cmp ecx, 0xc0000023
jne 0x409060
push 0x414e4d5a
push dword [ebp - 4]
push esi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
test esi, esi
jne 0x40903d
mov ecx, 0xc000009a
jmp 0x409060
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push esi
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ecx, eax
test ecx, ecx
js 0x409060
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4094a2
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x416644]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x12
pop ecx
xor edi, edi
mov word [ebp - 0x250], cx
cmp dword [0x416b44], 2
mov esi, 0x40a0e2
push 0x14
pop ecx
mov dword [ebp - 0x23c], edi
mov ebx, edi
mov word [ebp - 0x24e], cx
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x240], edi
jne 0x409639
push edi
push edi
push edi
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00408c94
test eax, eax
js 0x409639
lea eax, [ebp - 0x240]
push eax
push 1
push esi
push dword [ebp - 0x23c]
call fcn.00408fc4
test eax, eax
js 0x409639
mov ecx, dword [ebp - 0x240]
cmp dword [ecx + 4], 7
jne 0x409639
mov eax, dword [ecx + 0xc]
cmp eax, 4
jbe 0x409639
push edi
push eax
jmp 0x409626
push edi
push edi
push edi
xor ecx, ecx
mov dword [ebp - 0x244], edi
push eax
inc ebx
mov dword [ebp - 0x248], ecx
call fcn.004046ae
mov esi, eax
test esi, esi
je 0x40961c
push 1
push esi
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlUnicodeStringToAnsiString]
test eax, eax
js 0x409616
push 0x104
lea eax, [ebp - 0x108]
push edi
push eax
call sub.ntoskrnl.exe_memset
movzx eax, word [ebp - 0x248]
push eax
push dword [ebp - 0x244]
lea eax, [ebp - 0x108]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0x18
lea eax, [ebp - 0x108]
push edi
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00405ae2
test eax, eax
je 0x409609
mov edi, dword [ebp - 0x230]
lea eax, [ebp - 0x11c]
push 0
push eax
push edi
call fcn.00409826
test eax, eax
je 0x409601
push 0
push 0
push 0x14
lea eax, [ebp - 0x11c]
push eax
call fcn.00404cd0
push eax
call fcn.00409424
push edi
call fcn.00409688
xor edi, edi
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlFreeAnsiString]
push esi
call fcn.00404832
mov ecx, dword [ebp - 0x240]
push ebx
push dword [ecx + 0xc]
mov eax, dword [ecx + 8]
add eax, ecx
push eax
call fcn.004047d4
test eax, eax
jne 0x40954f
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x23c]
call dword [sym.imp.ntoskrnl.exe_ZwDeleteValueKey]
cmp dword [ebp - 0x23c], 0
pop edi
pop esi
pop ebx
je 0x409664
push dword [ebp - 0x23c]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp dword [ebp - 0x240], 0
je 0x409678
push dword [ebp - 0x240]
call fcn.0040484e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409b6a
mov esp, ebp
pop ebp
ret 4
Function at 0x4096e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
jmp 0x409789
cmp dword [esi + 0x10], 0x1000
jne 0x409775
test byte [esi + 0x15], 1
jne 0x409775
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409734
cmp eax, 2
je 0x409734
cmp eax, 0x10
je 0x409734
cmp eax, 0x20
jne 0x409749
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409749
mov bl, 1
xor ebp, ebp
jmp 0x40975a
mov eax, dword [esi]
add eax, ebp
call fcn.004096d8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40974d
test bl, bl
je 0x409775
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40970c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5b277e67
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x76746a6d
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x53c3132b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x534a0639
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x576b5218
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x418e4071
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x61f056b6
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x45220f2
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402110
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x406378
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 0x4063c0
call fcn.0040a1b9
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4063c0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x406403
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 0x4063ec
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 0x4063ec
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x406400
mov ecx, dword [esi + 0x4c]
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 0x40828c
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 0x4082b0
cmp dword [edi + 0x54], 0
jne 0x4082b0
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040a1b9
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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.0040824d
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 0x40f698
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 0x40f6df
call fcn.0040a1b9
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40f6df
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40f6fb
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040f212
mov esi, eax
test edi, edi
je 0x40f6f9
test ebx, ebx
je 0x40f6f9
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40feca
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4462d4
call fcn.00424aea
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40feef
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40ff35
lea ecx, [ebp - 0x10]
call fcn.00401490
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.00405da9
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401060
mov eax, esi
call fcn.00424bc2
ret 8

Function at 0x42097d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c5ec]
jne 0x420987
repz ret
jmp fcn.00426b63

Function at 0x431dc7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00426cdb
and dword [ebp - 4], 0
cmp dword [0x46098c], 0
mov ebx, eax
jne 0x431e78
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x431f29
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44ccf0
push edi
call esi
test eax, eax
je 0x431f29
push eax
call fcn.00426c69
mov dword [esp], 0x44cce0
push edi
mov dword [0x46098c], eax
call esi
push eax
call fcn.00426c69
mov dword [esp], 0x44cccc
push edi
mov dword [0x460990], eax
call esi
push eax
call fcn.00426c69
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x460994], eax
call esi
push eax
call fcn.00426c69
pop ecx
mov dword [0x46099c], eax
test eax, eax
je 0x431e78
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00426c69
pop ecx
mov dword [0x460998], eax
mov eax, dword [0x460998]
cmp eax, ebx
je 0x431ed0
cmp dword [0x46099c], ebx
je 0x431ed0
push eax
call fcn.00426ce4
push dword [0x46099c]
mov esi, eax
call fcn.00426ce4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x431ed0
test edi, edi
je 0x431ed0
call esi
test eax, eax
je 0x431ec7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x431ec7
test byte [ebp - 0xc], 1
jne 0x431ed0
or dword [ebp + 0x10], 0x200000
jmp 0x431f09
mov eax, dword [0x460990]
cmp eax, ebx
je 0x431f09
push eax
call fcn.00426ce4
pop ecx
test eax, eax
je 0x431f09
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x431f09
mov eax, dword [0x460994]
cmp eax, ebx
je 0x431f09
push eax
call fcn.00426ce4
pop ecx
test eax, eax
je 0x431f09
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46098c]
call fcn.00426ce4
pop ecx
test eax, eax
je 0x431f29
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x431f2b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4419f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret

Function at 0x444020
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea edx, [ebp - 8]
push edx
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x444360
Capabilities:
Delete file
Download url
Receive data
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447384
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x45c5ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
lea ecx, [ebp - 0x228]
call fcn.004429e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0x104
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x22c]
add ecx, 0x120
call fcn.004023a0
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x120]
push eax
push str.Downloading__s...
mov ecx, dword [ebp - 0x22c]
add ecx, 0x594
push ecx
call fcn.004018e0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x228]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jge 0x444469
push 0
push 0x452414
push 0x45241c
mov ecx, dword [ebp - 0x22c]
call fcn.0040b824
push 0xe0000003
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.004429c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042097d
mov esp, ebp
pop ebp
ret 8
Function at 0x445110
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44754e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x114
mov eax, dword [0x45c5ec]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x124], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x120]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp + 8]
push edx
call fcn.004390a0
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 1
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00445060
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00437a80
add esp, 4
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4451e7
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0042097d
mov esp, ebp
pop ebp
ret 8