joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a4f3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x446450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
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.004223cb
mov dword [ebp - 0x14], eax
cmp dword [0x44920c], edi
jne 0x42a5e4
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x42a571
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42a6c4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42a6c4
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42a6c4
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x44920c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x449210], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x449214], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44921c], eax
test eax, eax
je 0x42a5e1
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x449218], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42a609
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42a5fc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x42a61e
push 4
pop eax
jmp 0x42a6c6
cmp dword [ebp - 0x14], edi
je 0x42a61e
push dword [0x44920c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42a603
mov eax, dword [0x449218]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x42a67c
cmp dword [0x44921c], esi
je 0x42a67c
push eax
call ebx
push dword [0x44921c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42a67c
test eax, eax
je 0x42a67c
call ecx
test eax, eax
je 0x42a671
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 0x42a671
test byte [ebp - 8], 1
jne 0x42a67c
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x42a6ac
mov eax, dword [0x449210]
cmp eax, esi
je 0x42a6a9
push eax
call ebx
test eax, eax
je 0x42a6a9
call eax
mov edi, eax
test edi, edi
je 0x42a6a9
mov eax, dword [0x449214]
cmp eax, esi
je 0x42a6a9
push eax
call ebx
test eax, eax
je 0x42a6a9
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x44920c]
call ebx
test eax, eax
je 0x42a6c4
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x42a6c6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b283
leave
ret
Function at 0x42eaa1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00423254
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x42ead9
xor eax, eax
jmp 0x42eb05
cmp esi, dword [ebp - 4]
je 0x42eb02
cmp dword [ebp + 0xc], 0
je 0x42eb02
push dword [edi + 0x9c]
call fcn.0042e6af
push dword [edi + 0x9c]
mov esi, eax
call fcn.00422681
pop ecx
pop ecx
cmp esi, eax
je 0x42ead5
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x402ee4
pop dword [ebp - 8]
mov eax, 0x402ee4
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x4b8af02f
add dword [ebp - 0x18], 0x2c7551c
mov dword [ebp - 0x14], 0x4e19b975
add dword [ebp - 0x14], 0xe41992d0
mov dword [ebp - 0x10], 0xf284ed68
add dword [ebp - 0x10], 0x59c756c6
mov dword [ebp - 0xc], 0x554cc871
sub dword [ebp - 0xc], 0x554cc871
lea eax, [ebp - 0x18]
push eax
mov eax, 0x2ea0a1a1
sub eax, 0x2e60209d
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x9af6ac3c
sub dword [ebp - 0x18], 0x268442e6
mov dword [ebp - 0x14], 0xb29320e6
add dword [ebp - 0x14], 0x8ed9408f
mov dword [ebp - 0x10], 0x8c1d5b2f
add dword [ebp - 0x10], 0xd752113d
mov dword [ebp - 0xc], 0xf42118af
sub dword [ebp - 0xc], 0xf42118af
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x1e7a71c3
sub eax, 0x1e39f0c3
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3335b
push 0
call eax
mov ecx, 0x38b2
xor edi, edi
add edi, eax
mov ebx, 0x46e400
add ebx, dword [ebp - 8]
mov esi, 0x186cdc3b
sub esi, 0x1a765c0a
sub dword [ebp - 4], 0x8a7306f3
mov edx, dword [ebx]
sub edx, esi
add dword [ebp - 4], edi
mov dword [edi], edx
xor dword [ebp - 4], ebx
add edi, 0xfdb40f09
add edi, 0x24bf0fb
add ebx, 0x4e48f540
sub ebx, 0x4e48f53c
loop 0x402ff7
add eax, 0xd59b
mov ebx, eax
add eax, 0xa532010f
add eax, 0x5acdfef6
mov ecx, 0x33cf8f3e
sub ecx, 0x338f8f3e
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x405f41
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, 0x426dc8
push 0x40a5a4
push ebx
call dword [sym.imp.kernel32.dll_lstrcpyW]
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.kernel32.dll_GetShortPathNameW]
test esi, esi
mov edi, 0x400
je 0x405f8f
push 1
push 0
push esi
call fcn.00405de7
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push edi
push ebx
push esi
call ebp
test eax, eax
je 0x4060ae
cmp eax, edi
jg 0x4060ae
mov esi, 0x4275c8
push edi
push esi
push dword [esp + 0x1c]
call ebp
test eax, eax
je 0x4060ae
cmp eax, edi
jg 0x4060ae
push esi
push ebx
push str._ls_ls_r_n
push 0x4269c8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x42a250]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00402ed5
push 4
push 0xc0000000
push esi
call fcn.00405de7
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x4060ae
push 0
push ebp
call dword [sym.imp.kernel32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4060a7
push edi
push esi
push ebp
call fcn.00402ed5
test eax, eax
je 0x4060a7
push str._Rename__r_n
push esi
call fcn.00402ed5
test eax, eax
jne 0x406045
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.kernel32.dll_lstrcpyA]
add edi, 0xa
jmp 0x40607a
add eax, 0xa
push 0x40a588
push eax
call fcn.00402ed5
mov ebp, eax
test ebp, ebp
je 0x406076
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x406067
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x406061
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x40607c
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x4269c8
push eax
call fcn.00405da2
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.kernel32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00402ed5
push esi
call dword [sym.imp.kernel32.dll_GlobalFree]
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4060b3
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
jne 0x4060d6
push dword [esp + 8]
push dword [esp + 8]
call fcn.00405f41
pop ecx
pop ecx
inc dword [0x42a2d0]
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x4ac97dd4
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0xe53888
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40e791
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x41279f
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x9a2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009a21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9a207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9a206a
add dl, dl
jne 0x9a2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9a20dc
xor eax, eax
add dl, dl
jne 0x9a2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9a217d
add dl, dl
jne 0x9a20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9a20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9a2075
mov eax, 1
add dl, dl
jne 0x9a20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9a20e1
sub eax, ebx
mov ebx, 1
jne 0x9a2128
mov ecx, 1
add dl, dl
jne 0x9a210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9a2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9a2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9a2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9a213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9a214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9a2136
cmp eax, 0x7d00
jae 0x9a216d
cmp eax, 0x500
jb 0x9a2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9a2075
cmp eax, 0x7f
ja 0x9a2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9a2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9a219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9a2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401020
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call fcn.00401038

Function at 0x401070
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x24]
cmp edx, 9
jne 0x4010b3
mov eax, 0x40
jmp 0x4010c4
movzx eax, word [ebp - 0x24]
test eax, eax
jne 0x4010c2
mov eax, 0x20
jmp 0x4010c4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4010d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x4010fb
push str.::Debug::_____Invalid_DOS_header_n
call fcn.004016e0
add esp, 4
xor eax, eax
jmp 0x401162
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
jae 0x401120
push 0x40f24c
call fcn.004016e0
add esp, 4
xor eax, eax
jmp 0x401162
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax - 0xf8]
cmp dword [ebp - 4], edx
jbe 0x401143
push 0x40f270
call fcn.004016e0
add esp, 4
xor eax, eax
jmp 0x401162
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
je 0x40115f
push str.::Debug::_____Invalid_NT_header_n
call fcn.004016e0
add esp, 4
xor eax, eax
jmp 0x401162
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4016e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x415020]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
push 0
lea eax, [ebp - 0x804]
push eax
call fcn.00402920
add esp, 0xc
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x808], ecx
mov edx, dword [ebp - 0x808]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x804]
push ecx
call fcn.00401000
add esp, 0xc
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x808], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004022ba
mov esp, ebp
pop ebp
ret
Function at 0x409aaa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x415020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00406f7c
mov dword [ebp - 0x14], eax
cmp dword [0x416f40], esi
jne 0x409b9d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x409b2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x409c7d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x409c7d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409c7d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x416f40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x416f44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x416f48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x416f50], eax
test eax, eax
je 0x409b9a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x416f4c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x409bc2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x409bb5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x409bd7
push 4
pop eax
jmp 0x409c7f
cmp dword [ebp - 0x14], esi
je 0x409bd7
push dword [0x416f40]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x409bbc
mov eax, dword [0x416f4c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x409c35
cmp dword [0x416f50], edi
je 0x409c35
push eax
call ebx
push dword [0x416f50]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x409c35
test eax, eax
je 0x409c35
call ecx
test eax, eax
je 0x409c2a
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 0x409c2a
test byte [ebp - 8], 1
jne 0x409c35
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x409c65
mov eax, dword [0x416f44]
cmp eax, edi
je 0x409c62
push eax
call ebx
test eax, eax
je 0x409c62
call eax
mov esi, eax
test esi, esi
je 0x409c62
mov eax, dword [0x416f48]
cmp eax, edi
je 0x409c62
push eax
call ebx
test eax, eax
je 0x409c62
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x416f40]
call ebx
test eax, eax
je 0x409c7d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x409c7f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004022ba
mov esp, ebp
pop ebp
ret
Function at 0x4010d5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.0040f5b0
mov ebx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x94]
push eax
push esi
push esi
push 0x4000020
push esi
push esi
mov dword [ebp - 0x94], edi
mov edi, dword [ebp + 0xc]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401161
push 0x3c
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0040f5b0
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x401166
mov eax, dword [ebp - 8]
jmp 0x401168
mov eax, dword [ebp - 0x50]
jmp 0x401168
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40116d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREIntelTvWizard_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4011cd
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.IsTvWizardInstalled
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 4], esi
je 0x4011cd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], 1
pop esi
sete al
leave
ret

Function at 0x4011dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREIntelDisplayigfxcuihkcmd
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401241
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.ExpansionAllDisplay
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401238
cmp dword [ebp - 8], 1
jne 0x401238
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x401257
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.0Setup
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 4
call esi
test eax, eax
jne 0x4012aa
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.InstallSuccess
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x4012b0
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], ebx
jne 0x4012f2
lea eax, [ebp - 4]
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.5
push edi
call esi
mov dword [ebp - 0xc], 4
cmp eax, ebx
jne 0x4012ec
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.Install
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x4012f2
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
pop edi
pop esi
pop ebx
je 0x401303
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x4039b8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x427520]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x20
mov eax, 0x41e818
call fcn.0040fd9e
mov edi, dword [ebp + 0x12c]
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp + 0x1c]
push ebx
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
call fcn.0040f5b0
add esp, 0xc
push ebx
lea ecx, [ebp]
mov byte [ebp - 0xd], 1
mov dword [ebp + 0x18], 0xf
call fcn.004014ef
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 4], ebx
jmp 0x403a96
cmp byte [ebp - 0xd], bl
je 0x403a50
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00401d67
mov byte [ebp - 0xd], bl
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x403a7b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00401d67
inc dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
push dword [ebp - 0x24]
call edi
test eax, eax
je 0x403a30
mov eax, dword [ebp - 0x14]
cmp dword [0x4289d8], eax
jne 0x403abd
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x403ab3
lea eax, [ebp + 4]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ebx
push 1
lea ecx, [ebp]
call fcn.0040159b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.0040f62a
add ebp, 0x124
leave
ret 4