joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ec9e
Capabilities:
Parse pe header

Disassembly:
push 8
push 0x436a18
call fcn.004288a0
mov esi, ecx
and dword [ebp - 4], 0
lea edi, [esi + 0x80]
push dword [ebp + 0xc]
push 0x40
push 0
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40ed9f
or dword [ebp - 4], 0xffffffff
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x40ed8e
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x40ed8e
mov dword [ebp - 4], 1
lea edi, [esi + 0xc0]
push dword [ebp + 0xc]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40ed9f
or dword [ebp - 4], 0xffffffff
cmp dword [edi], 0x4550
jne 0x40ed8e
mov eax, 0x10b
cmp word [esi + 0xd8], ax
jne 0x40ed8e
movzx eax, word [esi + 0xc6]
test ax, ax
je 0x40ed8e
mov edi, eax
imul edi, edi, 0x28
movzx ecx, word [esi + 0xd4]
mov ebx, dword [esi + 0xbc]
add ecx, 0x18
add ebx, ecx
push edi
call fcn.0041ded8
pop ecx
mov dword [esi + 0x1b8], eax
test eax, eax
jne 0x40ed63
push 8
jmp 0x40eda5
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push edi
push ebx
push eax
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40ed9f
or dword [ebp - 4], 0xffffffff
lea eax, [ebx + edi]
mov dword [esi + 0x18], eax
xor eax, eax
jmp 0x40eda6
push 0xb
jmp 0x40eda5
or dword [ebp - 4], 0xffffffff
push 0x1e
pop eax
call fcn.004288db
ret 8

Function at 0x411a8c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ecx, 0xff077af4
test edi, edi
je 0x411ac5
movzx eax, byte [ebx]
cdq
push 0
xor esi, edx
push 0x1000193
xor ecx, eax
push esi
push ecx
inc ebx
call fcn.00428270
xor esi, esi
mov ecx, eax
dec edi
jne 0x411aa7
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411ace
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x62a180]
or eax, dword [0x62a184]
push ebx
push esi
mov ebx, edx
push edi
mov dword [esp + 0xc], ebx
mov edi, ecx
jne 0x411b2e
xor esi, esi
mov eax, esi
push 8
cdq
pop ebx
mov ecx, eax
shrd eax, edx, 1
and ecx, 1
shr edx, 1
or ecx, 0
je 0x411b10
xor eax, 0xd7870f42
xor edx, 0xc96c5795
dec ebx
jne 0x411af5
mov dword [esi*8 + 0x629988], eax
mov dword [esi*8 + 0x62998c], edx
inc esi
cmp esi, 0x100
jl 0x411aef
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not ecx
not edx
test edi, edi
je 0x411b5f
movzx eax, byte [edi]
xor eax, ecx
shrd ecx, edx, 8
and eax, 0xff
shr edx, 8
xor ecx, dword [eax*8 + 0x629988]
xor edx, dword [eax*8 + 0x62998c]
inc edi
dec ebx
jne 0x411b3c
pop edi
not ecx
pop esi
not edx
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417075
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42a3c2
push eax
mov dword fs:[0], esp
sub esp, 0x38
cmp dword [0x629958], 0
push esi
je 0x417114
mov esi, 0x629948
push ecx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041929d
mov ecx, eax
call fcn.004194c6
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x4170c5
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push dword [eax + ecx*4]
lea ecx, [esp + 0x24]
call fcn.00410db9
and dword [esp + 0x44], 0
mov ecx, esi
call fcn.00419152
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x4170f6
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
or dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402161
cmp dword [0x629958], 0
jne 0x4170a2
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x417124
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4292fc
call fcn.0041e61c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0x10
mov edi, edx
jb 0x417142
mov eax, dword [esi]
jmp 0x417144
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4171f2
push ecx
push ecx
mov ecx, esi
call fcn.004187a8
cmp eax, 0xffffffff
je 0x417197
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00410b25
and dword [ebp - 4], 0
mov edx, edi
mov ecx, eax
call fcn.00417124
mov bl, al
neg bl
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402161
inc bl
je 0x417197
xor al, al
jmp 0x4171fe
mov ecx, dword [0x627c70]
test ecx, ecx
je 0x4171b4
cmp dword [esi + 0x14], 0x10
jb 0x4171ab
mov eax, dword [esi]
jmp 0x4171ad
mov eax, esi
push 0
push eax
call ecx
jmp 0x4171de
cmp dword [0x627c50], 0
je 0x4171dc
push 0x18
pop eax
call fcn.0041ea40
push esp
push 0x435110
call fcn.0040df22
push eax
call dword [0x627c50]
add esp, 0xc
jmp 0x417193
xor eax, eax
test eax, eax
je 0x417193
push esi
mov ecx, 0x629948
call fcn.004190cf
mov byte [edi], 0
jmp 0x4171fc
test eax, 0x410
je 0x417193
mov byte [edi], 1
mov al, 1
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417e5c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42a3a6
call fcn.0041e61c
mov eax, 0x1030
call fcn.0041ea40
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1048], ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push 0x622b18
push 0x80000001
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xf
pop edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [esp + 0x1048], ebx
xor ebp, ebp
inc ebp
mov dword [esp + 0x1c], ebp
test eax, eax
jne 0x417f52
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x1068]
mov dword [esp + 0x24], 0x1000
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x3c], bl
test eax, eax
jne 0x417f48
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 2
ja 0x417f48
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004024bb
mov dword [esp + 0x1048], ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00410a21
mov byte [esp + 0x1048], bl
lea ecx, [esp + 0x20]
call fcn.00402161
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1040]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41a6bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [0x622120]
push edi
test edx, edx
je 0x41a6e6
lea eax, [edx - 1]
shr eax, 2
inc eax
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
sub edx, 4
dec eax
jne 0x41a6d8
mov eax, dword [ebp + 8]
shr edx, 2
lea edi, [eax + edx*4]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x41a717
dec edx
shr edx, 2
inc edx
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
mov eax, ecx
not eax
xor dword [edi], eax
lea edi, [edi + 4]
dec edx
je 0x41a717
mov esi, dword [0x622120]
jmp 0x41a6fb
pop edi
pop esi
pop ebp
ret
Function at 0x425ff2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x621b10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [fcn.0041afae]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041f5be
mov dword [ebp - 0x14], eax
cmp dword [0x627b78], edi
jne 0x4260e3
push 0x800
push edi
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x426070
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4261c3
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4261c3
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4261c3
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x627b78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x627b7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x627b80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x627b88], eax
test eax, eax
je 0x4260e0
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x627b84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x426108
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4260fb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x42611d
push 4
pop eax
jmp 0x4261c5
cmp dword [ebp - 0x14], edi
je 0x42611d
push dword [0x627b78]
call dword [fcn.0041afb2]
push 3
jmp 0x426102
mov eax, dword [0x627b84]
mov ebx, dword [fcn.0041afb2]
cmp eax, esi
je 0x42617b
cmp dword [0x627b88], esi
je 0x42617b
push eax
call ebx
push dword [0x627b88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42617b
test eax, eax
je 0x42617b
call ecx
test eax, eax
je 0x426170
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x426170
test byte [ebp - 8], 1
jne 0x42617b
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4261ab
mov eax, dword [0x627b7c]
cmp eax, esi
je 0x4261a8
push eax
call ebx
test eax, eax
je 0x4261a8
call eax
mov edi, eax
test edi, edi
je 0x4261a8
mov eax, dword [0x627b80]
cmp eax, esi
je 0x4261a8
push eax
call ebx
test eax, eax
je 0x4261a8
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x627b78]
call ebx
test eax, eax
je 0x4261c3
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4261c5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f31f
leave
ret
Function at 0x401400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401419
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401454
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401450
lea ebx, [ebx]
cmp esi, eax
jae 0x401454
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401440
cmp esi, eax
jb 0x40145a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401b40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x25c
mov eax, dword [0x498e00]
xor eax, esp
mov dword [esp + 0x258], eax
mov ecx, dword [esp + 0x264]
mov eax, dword [esp + 0x260]
push ecx
push eax
push str.installdrv64.exe_UpdateDriverForPlugAndPlayDevices
lea eax, [esp + 0x64]
push str._s__s___s_
push eax
call fcn.00401370
push 0x44
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.00448ec0
add esp, 0x20
xor eax, eax
lea edx, [esp + 4]
push edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [esp + 0x78]
push ecx
push 0
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401c38
mov edx, dword [esp + 4]
push esi
push edi
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
call edi
pop edi
test esi, esi
pop esi
je 0x401c38
cmp dword [esp], 0
je 0x401c38
mov eax, 1
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00448544
add esp, 0x25c
ret 8
mov ecx, dword [esp + 0x258]
xor ecx, esp
xor eax, eax
call fcn.00448544
add esp, 0x25c
ret 8
Function at 0x408c95
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 0x408cb9
cmp dword [edi + 0x54], 0
jne 0x408cb9
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004148a3
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.00408c56
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 0x4092e5
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 0x40932d
call fcn.004148a3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40932d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x409370
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 0x409359
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 0x409359
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40936d
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 0x41099f
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 0x4109e6
call fcn.004148a3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4109e6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x410a02
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00410519
mov esi, eax
test edi, edi
je 0x410a00
test ebx, ebx
je 0x410a00
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x411566
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x47557c
call fcn.004494bd
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41158b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4115d1
lea ecx, [ebp - 0x10]
call fcn.00402000
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.00410a14
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.00449595
ret 8

Function at 0x42a2fe
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x476c22
call fcn.004494bd
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402d60
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x42a360
call fcn.00413ccc
cmp eax, 1
jne 0x42a360
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004028e0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402680
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401060
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401060
mov eax, esi
call fcn.00449595
ret 0x10

Function at 0x42a389
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x476c4d
call fcn.004494bd
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402d60
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x42a3eb
call fcn.00413ccc
cmp eax, 1
jne 0x42a3eb
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004028e0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402680
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401060
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401060
mov eax, esi
call fcn.00449595
ret 0x14
Function at 0x42a417
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x476c78
call fcn.004494bd
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402d60
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x42a479
call fcn.00413ccc
cmp eax, 1
jne 0x42a479
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004028e0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402680
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401060
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401060
mov eax, esi
call fcn.00449595
ret 8

Function at 0x448544
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x498e00]
jne 0x44854e
repz ret
jmp fcn.004514cc

Function at 0x468ecf
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.00450dfb
and dword [ebp - 4], 0
cmp dword [0x49cc74], 0
mov ebx, eax
jne 0x468f80
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x469031
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x485694
push edi
call esi
test eax, eax
je 0x469031
push eax
call fcn.00450d89
mov dword [esp], 0x485684
push edi
mov dword [0x49cc74], eax
call esi
push eax
call fcn.00450d89
mov dword [esp], 0x485670
push edi
mov dword [0x49cc78], eax
call esi
push eax
call fcn.00450d89
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49cc7c], eax
call esi
push eax
call fcn.00450d89
pop ecx
mov dword [0x49cc84], eax
test eax, eax
je 0x468f80
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00450d89
pop ecx
mov dword [0x49cc80], eax
mov eax, dword [0x49cc80]
cmp eax, ebx
je 0x468fd8
cmp dword [0x49cc84], ebx
je 0x468fd8
push eax
call fcn.00450e04
push dword [0x49cc84]
mov esi, eax
call fcn.00450e04
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x468fd8
test edi, edi
je 0x468fd8
call esi
test eax, eax
je 0x468fcf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x468fcf
test byte [ebp - 0xc], 1
jne 0x468fd8
or dword [ebp + 0x10], 0x200000
jmp 0x469011
mov eax, dword [0x49cc78]
cmp eax, ebx
je 0x469011
push eax
call fcn.00450e04
pop ecx
test eax, eax
je 0x469011
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x469011
mov eax, dword [0x49cc7c]
cmp eax, ebx
je 0x469011
push eax
call fcn.00450e04
pop ecx
test eax, eax
je 0x469011
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49cc74]
call fcn.00450e04
pop ecx
test eax, eax
je 0x469031
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x469033
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4014e1
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4079e4], eax
push 0xa
push 0
push 0
push dword [0x4079e4]
call 0x4014e1
push eax
call sub.KERNEL32.DLL_ExitProcess
call sub.comctl32.dll_InitCommonControls
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x40162e
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [0x4079e4]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.EMBKG
push 0x2c6
push dword [ebp + 8]
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0x7d0
push dword [ebp + 8]
call fcn.00402900
mov dword [0x4079f8], eax
lea eax, [ebp - 0x64]
push eax
push 0x18
push dword [0x4079f8]
call sub.gdi32.dll_GetObjectA
mov eax, dword [ebp - 0x60]
mov dword [0x407a04], eax
mov eax, dword [ebp - 0x5c]
mov dword [0x407a08], eax
push 0
call sub.user32.dll_GetSystemMetrics
shr eax, 1
mov edx, dword [0x407a04]
shr edx, 1
sub eax, edx
mov dword [ebp - 0x6c], eax
push 1
call sub.user32.dll_GetSystemMetrics
shr eax, 1
mov edx, dword [0x407a08]
shr edx, 1
sub eax, edx
mov dword [ebp - 0x68], eax
push 0
push dword [ebp + 8]
push 0
push 0
push dword [0x407a08]
push dword [0x407a04]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push 0x80000000
push 0x4071cc
push str.EMBKG
push 8
call sub.user32.dll_CreateWindowExA
mov dword [0x4079e8], eax
push 5
push dword [0x4079e8]
call sub.user32.dll_ShowWindow
push dword [0x4079e8]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
or eax, eax
je 0x401627
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x401600
mov eax, dword [ebp - 0x44]
leave
ret 0x10

Function at 0x4019dc
Capabilities:
Get graphical window text
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push dword [0x4079e8]
call sub.user32.dll_OpenClipboard
call sub.user32.dll_EmptyClipboard
push dword [ebp + 8]
call sub.user32.dll_GetWindowTextLengthA
inc eax
push eax
push eax
push 0x42
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 4], eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 8], eax
pop eax
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call sub.user32.dll_GetWindowTextA
push dword [ebp - 4]
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
push eax
push 1
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
leave
ret 4