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

Disassembly:
push 0xffffffffffffffff
push 0x46bad8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], vtable.IShadowEdge.0
mov dword [esi], vtable.CShadowEdgeWindow.0
mov dword [esi + 0x24], vtable.CShadowEdgeWindow.1.0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push 0x2c
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.0044ff4d
add esp, 4
cmp eax, edi
je 0x42ef9e
call fcn.0042f990
jmp 0x42efa0
xor eax, eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x42f560
Capabilities:
Hide graphical window

Disassembly:
push ecx
push edi
mov eax, esi
call fcn.0042f7d0
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f5a8
test edi, edi
je 0x42f5a8
cmp dword [esp + 0xc], 0
je 0x42f59c
mov eax, esi
call fcn.0042f6c0
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ecx
ret 4
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ecx
ret 4

Function at 0x430000
Capabilities:
Get file size

Disassembly:
push ecx
push esi
call fcn.0042ff90
test eax, eax
jne 0x430013
or eax, 0xffffffff
or edx, eax
pop esi
pop ecx
ret
mov ecx, dword [ecx + 4]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
mov esi, eax
call fcn.00463c00
xor ecx, ecx
add eax, esi
adc edx, ecx
pop esi
pop ecx
ret

Function at 0x4301c0
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x431560
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0xc], ax
mov byte [esi], 0xe
mov byte [esi + 1], 6
mov byte [esi + 2], 0x34
mov byte [esi + 3], 0x30
mov al, byte [edi]
mov byte [esi + 4], al
mov eax, 0xffffffff
test ecx, ecx
je 0x4315ac
push ebx
lea esp, [esp]
movsx ebx, byte [edx]
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [ebx*4 + 0x488b58]
dec ecx
inc edx
test ecx, ecx
jne 0x431590
pop ebx
not eax
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 6], eax
mov ax, word [0x490240]
inc ax
movzx ecx, ax
push ecx
mov word [0x490240], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0xa], ax
mov dl, byte [edi + 0x84]
mov byte [esi + 0xc], dl
ret

Function at 0x4316b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov byte [esi], 0xc
mov byte [esi + 1], 0xb
mov byte [esi + 2], al
mov al, byte [ebp + 0x78]
mov byte [esi + 3], al
movzx ecx, word [ebp + 0x7c]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esp + 0xc]
mov word [esi + 4], ax
or eax, 0xffffffff
mov ecx, edi
test edi, edi
je 0x43170b
mov edi, edi
movsx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x488b58]
dec ecx
inc edx
test ecx, ecx
jne 0x4316f0
not eax
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 6], eax
mov byte [esi + 0xb], 0
mov dl, byte [ebp + 0x84]
pop edi
mov byte [esi + 0xa], dl
pop ebp
ret

Function at 0x4317a0
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
call esi
test eax, eax
jne 0x4317e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
je 0x4317cd
xor al, al
pop esi
pop ecx
ret
push 8
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
call esi
test eax, eax
je 0x4317c8
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push ebx
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov edx, dword [esp + 8]
push 0
test eax, eax
push edx
setne bl
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
pop ebx
pop esi
pop ecx
ret
Function at 0x431b20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x54
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
push esi
push edi
mov edi, edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea edx, [esp + 8]
lea eax, [esp + 0x18]
call fcn.00433b80
mov esi, dword [esp + 0x60]
lea edx, [esp + 0x18]
mov eax, edx
xor ecx, ecx
sub esi, edx
sub edi, eax
lea ebx, [ebx]
lea eax, [esp + ecx + 0x18]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, 0x30
mov byte [edi + eax], dl
jl 0x431b70
mov ecx, dword [esp + 0x58]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0044fcda
add esp, 0x54
ret

Function at 0x431c00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
mov ebx, eax
push edi
mov ecx, 0x20
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov edx, 0x4774c0
sub edx, ebx
lea esi, [ecx + 0x1f]
mov edi, dword [edx + eax]
add edi, dword [eax]
add eax, 4
add ecx, edi
movzx edi, cl
mov dword [eax - 4], edi
shr ecx, 8
sub esi, 1
jne 0x431c25
sub ecx, 0xffffff80
add dword [ebx + 0x7c], ecx
mov edx, dword [ebx + 0x7c]
shr edx, 7
and edx, 1
lea edi, [esp + 0x10]
lea ebp, [esp + 0x14]
neg edx
xor ecx, ecx
sub edi, ebx
lea eax, [ebx + 8]
sub ebp, ebx
nop
mov esi, dword [eax - 8]
mov ebx, dword [esp + ecx*4 + 0x10]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax - 4]
mov dword [eax - 8], ebx
mov ebx, dword [esp + ecx*4 + 0x14]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax]
mov dword [eax - 4], ebx
mov ebx, dword [edi + eax]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax + 4]
mov dword [eax], ebx
mov ebx, dword [eax + ebp]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov dword [eax + 4], ebx
add ecx, 4
add eax, 0x10
cmp ecx, 0x20
jb 0x431c60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret

Function at 0x4328c0
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x1a8]
push 0x20
push eax
lea ecx, [esp + 0x188]
push ecx
call fcn.00454ea0
mov dl, byte [esp + 0x1ab]
and byte [esp + 0x18c], 0xf8
and dl, 0x3f
or dl, 0x40
add esp, 0xc
mov byte [esp + 0x19f], dl
xor eax, eax
lea esp, [esp]
movzx ecx, byte [eax + edi]
mov dword [esp + eax*4], ecx
inc eax
cmp eax, 0x20
jb 0x432910
lea edx, [esp + 0x180]
push edx
lea eax, [esp + 4]
push eax
call fcn.00432030
lea ecx, [esp + 0x88]
push ecx
mov eax, ecx
call fcn.004324d0
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x110]
push eax
lea edx, [esp + 0x14]
call fcn.00431cc0
add esp, 0x14
lea eax, [esp + 0x100]
call fcn.00431c00
xor eax, eax
jmp 0x432970
mov cl, byte [esp + eax*4 + 0x100]
mov byte [esi + eax], cl
inc eax
cmp eax, 0x20
jb 0x432970
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
xor eax, eax
call fcn.0044fcda
add esp, 0x1a4
ret
Function at 0x4329a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x48], edx
xor edx, edx
mov esi, 0x477468
mov dword [esp + 0x4c], ecx
mov ecx, eax
sub esi, eax
lea edi, [edx + 0x11]
lea ebx, [ebx]
mov ebx, dword [esi + ecx]
add ebx, dword [ecx]
add ecx, 4
add edx, ebx
movzx ebx, dl
mov dword [ecx - 4], ebx
shr edx, 8
sub edi, 1
jne 0x432a30
mov edx, dword [eax + 0x40]
shr edx, 7
lea esi, [esp + 0xc]
neg edx
sub esi, eax
mov edi, 0x11
jmp 0x432a60
mov ecx, dword [eax]
mov ebx, dword [esi + eax]
xor ebx, ecx
and ebx, edx
xor ebx, ecx
mov dword [eax], ebx
add eax, 4
sub edi, 1
jne 0x432a60
pop edi
pop esi
pop ebx
add esp, 0x44
ret
Function at 0x433410
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x4335ae
test eax, eax
je 0x4335ae
mov dword [eax + 0xf0], 0xa
mov ecx, dword [esi]
push edi
mov edx, ecx
ror edx, 8
and edx, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edx, ecx
mov dword [eax], edx
mov edx, dword [esi + 4]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 4], edi
mov edx, dword [esi + 8]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 8], edi
mov edx, dword [esi + 0xc]
lea ecx, [eax + 4]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov dword [eax + 0xc], esi
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x475b40]
xor edx, 0x1000000
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x475f40]
and edi, 0xff0000
and edx, 0xff000000
xor edx, edi
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi*4 + 0x475740]
xor edx, edi
mov edi, esi
and edi, 0xff
mov edi, dword [edi*4 + 0x475340]
and edi, 0xff00
xor edx, edi
xor edx, dword [eax]
mov edi, dword [ecx]
xor edi, edx
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
xor edx, edi
mov dword [eax + 0x18], edx
xor edx, esi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], edx
mov esi, 0x477444
jmp 0x433520
mov edx, dword [ecx + 0x18]
add ecx, 0x10
mov eax, edx
shr eax, 8
mov edi, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x475f40]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x475b40]
and eax, 0xff0000
and edi, 0xff000000
xor eax, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + 0x475340]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x475740]
xor eax, edi
and edx, 0xff00
xor eax, edx
xor eax, dword [ecx - 4]
add esi, 4
xor eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ecx]
xor edx, eax
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 4]
xor eax, edx
mov dword [ecx + 0x14], eax
mov edx, dword [ecx + 8]
xor edx, eax
mov dword [ecx + 0x18], edx
cmp esi, 0x477468
jne 0x433520
pop edi
xor eax, eax
pop esi
ret
or eax, 0xffffffff
pop esi
ret
Function at 0x447de0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b320
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4901f8]
xor edi, edi
cmp ecx, edi
jne 0x447e2b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x447e38
mov dword [ebp - 0x14], edi
jmp 0x447e50
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x447ee6
mov ecx, dword [0x4901f8]
mov eax, dword [ecx]
cmp eax, edi
je 0x447e17
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x447e17
mov ebx, 0x4901f8
mov dword [ebp - 4], edi
call fcn.00447f00
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x447e8e
push 0x47f864
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.0045408c
mov ecx, dword [0x4901f8]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x447ea8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x447ed2
push 0x47f864
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.0045408c
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x447ec9
call fcn.00448210
mov eax, 0x447ecf
ret
mov eax, dword [0x4901f8]
mov eax, dword [eax]
test eax, eax
je 0x447ee4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447f00
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x447f2d
xor ecx, ecx
jmp 0x447f39
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x447fed
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x447f60
mov dword [esp + 0xc], esi
jmp 0x447fc0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x447fb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x447fac
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x447fc0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x447fc0
push 0x47b308
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x447fc0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x447fe3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x447f52
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x448001
mov ecx, dword [ebx]
add ecx, 8
call fcn.00448140
test eax, eax
je 0x448001
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x448010
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x46b2fb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00453e20
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x4480a8
push 0x47f864
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0045408c
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x448290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4482a7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4482d8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4482d4
cmp esi, eax
jae 0x4482d8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4482c4
cmp esi, eax
jb 0x4482de
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x448370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x210], eax
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0xc], 0
call fcn.00453e20
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push 0x80000002
mov dword [esp + 0x1c], 0x208
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x44840c
mov eax, dword [esp + 4]
shr eax, 1
dec eax
cmp eax, 0x104
jae 0x44840c
cmp word [esp + eax*2 + 8], 0x5c
je 0x448406
cmp eax, 0x103
jae 0x44840c
mov ecx, 0x5c
xor edx, edx
mov word [esp + eax*2 + 8], cx
mov word [esp + eax*2 + 0xa], dx
lea ecx, [esp + 8]
jmp 0x448411
mov ecx, 0x477c20
push esi
call fcn.004498d0
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, esi
call fcn.0044fcda
add esp, 0x214
ret
Function at 0x448e30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46d1dd
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov eax, dword [esp + 0x258]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ecx, 7
xor edx, edx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x14], ebx
mov dword [esp + 0x1c], edi
mov word [edi + 4], dx
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], cx
mov ecx, eax
mov dword [esp + 0x250], 1
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x448eb2
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x24]
call fcn.0040d850
push 0x13
mov eax, esi
call fcn.004286d0
mov eax, dword [esp + 0x24]
mov esi, 8
mov dword [esp + 0xc], ebx
cmp dword [esp + 0x38], esi
jae 0x448eeb
lea eax, [esp + 0x24]
lea edx, [esp + 0xc]
push edx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x448f6e
push 0x206
lea ecx, [esp + 0x42]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x48], ax
call fcn.00453e20
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push edx
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x448f63
cmp dword [esp + 0x10], 1
jne 0x448f63
mov eax, dword [esp + 0x14]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x448f63
push edi
lea eax, [esp + 0x40]
call fcn.004498a0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x38], esi
jb 0x448f81
mov edx, dword [esp + 0x24]
push edx
call fcn.0044fccf
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0044fcda
add esp, 0x248
ret
Function at 0x449150
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46d182
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x21c], eax
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
xor eax, eax
mov dword [esp + 8], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x18], esi
mov word [esi + 4], ax
lea ecx, [esp + 8]
push ecx
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov dword [esp + 0x238], edi
push 0x80000001
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x449243
push 0x206
lea eax, [esp + 0x22]
xor edx, edx
push edi
push eax
mov dword [esp + 0x1c], edi
mov word [esp + 0x28], dx
call fcn.00453e20
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
push edi
push str.Progid
push ecx
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x449238
cmp dword [esp + 0x10], 1
jne 0x449238
mov edx, dword [esp + 0xc]
and edx, 0xfffffffe
cmp edx, 0x208
jae 0x449238
push esi
lea eax, [esp + 0x20]
call fcn.004498a0
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0044fcda
add esp, 0x22c
ret

Function at 0x449310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e8e9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
mov dword [esp + 0x10], edi
mov word [edi + 4], ax
mov dword [esp + 0x58], eax
mov ebp, 1
lea esi, [esp + 0x30]
mov dword [esp + 0xc], ebp
call fcn.00449150
mov dword [esp + 0x58], ebp
cmp dword [esp + 0x44], 0
mov ebp, 8
je 0x4493c4
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x449394
lea eax, [esp + 0x34]
push eax
lea esi, [esp + 0x18]
call fcn.00448fb0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, edi
mov byte [esp + 0x60], 2
call fcn.0040d5a0
cmp dword [esp + 0x2c], ebp
jb 0x4493c4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044fccf
add esp, 4
cmp dword [esp + 0x48], ebp
jb 0x4493d7
mov edx, dword [esp + 0x34]
push edx
call fcn.0044fccf
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044fcda
add esp, 0x50
ret
Function at 0x44ab10
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.00453e20
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
sbb eax, eax
xor ecx, esp
inc eax
call fcn.0044fcda
add esp, 0x118
ret