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

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x24]
mov dword [esp + 0x20], edx
mov ebp, ecx
push eax
push ebp
call fcn.0040a01e
call eax
test eax, eax
jne 0x42942d
mov eax, 0x200
jmp 0x4295d1
mov ebx, dword [esp + 0x24]
mov edi, 0x41000000
mov esi, ebx
and esi, 1
mov ecx, esi
or ecx, 2
test bl, 2
cmove ecx, esi
mov edx, ecx
or edx, 4
test bl, 4
cmove edx, ecx
mov ecx, ebx
and ecx, 0x10
mov eax, edx
or eax, 0x10
mov dword [esp + 0x14], ecx
test ecx, ecx
cmove eax, edx
mov edx, 0x81000000
mov ecx, eax
or ecx, 0x20
test bl, 0x20
cmove ecx, eax
mov eax, dword [esp + 0x14]
test eax, eax
cmove edi, edx
or edi, ecx
test esi, esi
jne 0x429494
test eax, eax
mov edi, 0x41800000
mov edx, 0x81800000
cmove edi, edx
or edi, ecx
xor ebx, ebx
push ebx
push ebp
call fcn.00408493
call eax
mov esi, eax
cmp esi, 0x28
jbe 0x429548
push ebx
push ebx
push ebx
push ebp
call fcn.0040a026
call eax
push ebx
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.00405282
call eax
push ebx
push ebx
push 0x24
push ebp
call fcn.0040a026
call eax
push ebx
lea eax, [esp + 0x1c]
push eax
push 4
lea eax, [esp + 0x20]
push eax
push ebp
call fcn.00405282
call eax
mov eax, 0x54ad
cmp word [esp + 0x10], ax
jne 0x429548
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x34]
cmp esi, eax
jbe 0x429548
push ebx
push ebx
push ecx
push ebp
call fcn.0040a026
call eax
push ebx
lea eax, [esp + 0x1c]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.00405282
call eax
mov eax, dword [esp + 0x1c]
cmp eax, 0x5a4d
je 0x429542
cmp eax, 0x454e
je 0x429542
cmp eax, 0x454c
je 0x429542
cmp eax, 0x4550
jne 0x429548
or edi, 0x400000
mov eax, dword [esp + 0x20]
test eax, eax
je 0x429552
mov dword [eax], edi
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x42955c
mov dword [eax], esi
mov esi, dword [esp + 0x60]
test esi, esi
je 0x42959f
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.00429635
push dword [esp + 0x44]
mov dword [esi], eax
push dword [esp + 0x44]
mov dword [esi + 4], edx
call fcn.00429635
push dword [esp + 0x3c]
mov dword [esi + 8], eax
push dword [esp + 0x3c]
mov dword [esi + 0xc], edx
call fcn.00429635
add esp, 0x18
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [esp + 0x64]
test esi, esi
je 0x4295cf
push dword [esp + 0x3c]
lea edx, [esp + 0x18]
push dword [esp + 0x3c]
lea ecx, [esp + 0x18]
call fcn.004295d9
movzx eax, word [esp + 0x1c]
pop ecx
pop ecx
movzx ecx, word [esp + 0x10]
shl ecx, 0x10
or ecx, eax
mov dword [esi], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret

Function at 0x42986d
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x433870]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x433870]
mov dword [esi + 8], ecx
pop esi
ret
Function at 0x4298b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x4298b7
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x429974
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x433870]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x433870]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x433870]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x433870]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x433870]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x433870]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x433870]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x433870]
sub edi, 1
jne 0x4298cd
pop edi
test esi, esi
je 0x429990
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x433870]
inc edx
sub esi, 1
jne 0x429978
not ecx
mov eax, ecx
pop esi
ret
Function at 0x42aa4c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
lea eax, [esp + 1]
push ebx
push ebp
push esi
push edi
push eax
mov ebx, edx
mov esi, ecx
call fcn.0042aa34
mov ecx, eax
call fcn.00409fdd
push eax
push 7
pop ecx
lea eax, [ebx - 1]
cmp ecx, eax
mov ecx, esi
sbb dl, dl
inc dl
call fcn.0042bec0
xor edi, edi
add esp, 4
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x42aaa3
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
mov dword [esi + 0x6af6c], edi
push edi
push eax
call fcn.0040beb0
movzx eax, word [ebx*8 + 0x433dba]
add esp, 0xc
mov dword [esi + 0x6af98], eax
movzx eax, word [ebx*8 + 0x433db8]
mov dword [esi + 0x6af9c], eax
movzx eax, word [ebx*8 + 0x433dbc]
push 2
mov dword [esi + 0x6afa0], eax
movzx eax, word [ebx*8 + 0x433dbe]
pop ebp
mov dword [esi + 0x6af94], eax
cmp ebx, ebp
jg 0x42ab07
mov eax, dword [esp + 0x24]
or word [eax], 4
jmp 0x42ab13
cmp ebx, 8
jl 0x42ab13
mov eax, dword [esp + 0x24]
or word [eax], bp
push 0x10000
lea ebx, [esi + 0x1af70]
mov dword [esi + 0x6af84], edi
push ebx
push esi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
test eax, eax
je 0x42ab79
cmp eax, 0xffffffff
je 0x42ab79
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x42ab55
mov ecx, esi
call fcn.0042a7a3
mov dword [esi + 0x6af7c], edi
mov ecx, edi
movzx eax, byte [ebx + edi]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc edi
mov dword [esi + 0x6af7c], ecx
cmp edi, ebp
jb 0x42ab5d
jmp 0x42ab89
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x406ac2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x406ad1
pop dword [ebp - 0x18]
mov eax, 0x850e5f74
add eax, 0x7b320b5d
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x17e0a9cb
sub dword [ebp - 0x28], 0xc98e6480
mov dword [ebp - 0x24], 0xcaed88ea
sub dword [ebp - 0x24], 0x98ba3ca5
mov dword [ebp - 0x20], 0x775a7445
add dword [ebp - 0x20], 0xd4f1cfe9
mov dword [ebp - 0x1c], 0xf67c5d64
sub dword [ebp - 0x1c], 0xf67c5d64
lea eax, [ebp - 0x28]
push eax
mov eax, 0x3aa113d6
add eax, 0xc59fbc7e
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x8ef64fc8
sub dword [ebp - 0x28], 0x1a83e672
mov dword [ebp - 0x24], 0x6e3c764e
sub dword [ebp - 0x24], 0x2cd014d9
mov dword [ebp - 0x20], 0x4d74f9bb
add dword [ebp - 0x20], 0x15fa72b1
mov dword [ebp - 0x1c], 0x5da034d
sub dword [ebp - 0x1c], 0x5da034d
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x6ac956f0
sub eax, 0x6a8886a4
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa1e
push 0
call eax
mov ecx, 0xfb32197
add ecx, 0xf04d29c9
xor edi, edi
add edi, eax
mov esi, 0xd78ffddf
sub esi, 0xd74e4ddf
add esi, dword [ebp - 0x18]
mov ebx, 0x4ceb4923
sub ebx, 0x1125dab2
xor dword [ebp - 8], esi
mov edx, dword [esi]
sub dword [ebp - 0x14], 0xe38fff43
add edx, ebx
mov dword [edi], edx
add dword [ebp - 0xc], 0x7e09d7c0
add edi, 0x9cbbcb9a
sub edi, 0x9cbbcb96
add esi, 4
loop 0x406bf5
add eax, 0x12053
mov ebx, eax
add eax, 0x37ff7311
add eax, 0xc8008cf4
mov ecx, 0xac9773d7
add ecx, 0x53a88c29
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x1000c7c0
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov esi, ecx
mov eax, dword [0x10027040]
xor eax, esp
mov dword [esp + 0x88], eax
cmp dword [ecx + 0x10], 0
sete byte [esp + 0x2b]
mov eax, 0x6dd451e6
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ebp, [esp + 0x44]
lea edi, [esp + 0x34]
nop word cs:[eax + eax]
cmp eax, 0x41e974c4
jle 0x1000c840
cmp eax, 0x41e974c5
je 0x1000c928
cmp eax, 0x70b45390
je 0x1000c8dc
cmp eax, 0x6dd451e6
jne 0x1000c800
cmp byte [esp + 0x2b], 0
mov eax, 0xc9975e0d
mov ecx, 0x41e974c5
cmovne eax, ecx
jmp 0x1000c800
cmp eax, 0xade86554
je 0x1000c8ee
cmp eax, 0xc9975e0d
jne 0x1000c800
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x40], 0
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x30]
movups xmmword [eax], xmm0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1000c890
mov eax, dword [esi]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebp
movaps xmm0, xmmword [0x10023970]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
mov eax, 0xade86554
mov ecx, 0x70b45390
cmove eax, ecx
jmp 0x1000c800
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov eax, 0x41e974c5
jmp 0x1000c800
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, 0x70b45390
jmp 0x1000c800
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.1001466a
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10015596
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100155d5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100155d5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100155d5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100155d5
cmp dword [ecx + 0x74], 0xe
jbe 0x100155d5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10016910
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001693d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001693d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10016c60
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10021620
push 0x10021618
push str.FlsAlloc
push 0x1f
call fcn.10016f43
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10016c94
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x10016c9a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10016cde
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10021630
push 0x10021628
push str.FlsGetValue
push 0x21
call fcn.10016f43
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10016d15
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10016d1d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10021638
push 0x10021630
push str.FlsSetValue
push 0x22
call fcn.10016f43
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10016d57
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10019c1e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10019cbb
push ebx
push esi
call fcn.10019cbe
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10019b22
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10019c68
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10019cba
push edi
push eax
call fcn.10019f1c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10019c88
call fcn.10018210
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10019cb9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10019b22
add esp, 0x20
test eax, eax
jne 0x10019ca7
push edi
call fcn.10018210
jmp 0x10019caf
push ebx
call fcn.10018210
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401040
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x61c
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0x618], eax
push esi
mov esi, dword [esp + 0x624]
test esi, esi
jne 0x401078
xor al, al
pop esi
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.0051674d
add esp, 0x61c
ret
push edi
push 0x104
lea eax, [esp + 0x214]
push eax
push 0x551338
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
mov edi, dword [esp + 0x62c]
jle 0x4010ba
push edi
lea ecx, [esp + 0x214]
push ecx
push esi
call fcn.00516710
push edi
push 0x551334
push esi
call fcn.00516710
add esp, 0x18
push edi
push 0x551314
push esi
call fcn.00516710
add esp, 0xc
push 0x104
lea edx, [esp + 0xc]
push edx
push str.__yyyy_MM_dd
push 0
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
test eax, eax
jle 0x4010fa
push edi
lea eax, [esp + 0xc]
push eax
push esi
call fcn.00516710
add esp, 0xc
push 0x104
lea ecx, [esp + 0x41c]
push ecx
push str._H.mm.ss_
push 0
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
test eax, eax
jle 0x401131
push edi
lea edx, [esp + 0x41c]
push edx
push esi
call fcn.00516710
add esp, 0xc
push edi
push str..dmp
push esi
call fcn.00516710
mov ecx, dword [esp + 0x62c]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.0051674d
add esp, 0x61c
ret

Function at 0x401940
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x401960
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x401976
push 0x80004005
call fcn.00401490
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x4019a0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x4019b8
push 0x80004005
call fcn.00401490
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4019c5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x4022b0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareMicrosoftKeyboardNative_Media_Players
push SysReAllocStringLen
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
call edi
test eax, eax
jne 0x402385
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push esi
push ecx
call edi
test eax, eax
jne 0x402385
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402330
sub eax, edx
mov edx, dword [esp + 8]
sar eax, 1
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.AppName
push edx
call esi
test eax, eax
jne 0x402385
mov edx, dword [esp + 0x1c]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402364
sub eax, edi
sar eax, 1
push eax
mov eax, dword [esp + 0xc]
push edx
push 1
push 0
push str.ExePath
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x402396
push eax
call esi
mov eax, dword [esp + 8]
test eax, eax
je 0x4023a1
push eax
call esi
pop edi
pop esi
add esp, 0xc
ret

Function at 0x402520
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x424
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0x420], eax
push ebp
mov ebp, dword [esp + 0x42c]
push esi
push edi
xor esi, esi
push 0x208
lea eax, [esp + 0x226]
push esi
push eax
mov word [esp + 0x22c], si
call fcn.00516810
push 0x208
lea ecx, [esp + 0x26]
push esi
push ecx
mov word [esp + 0x2c], si
call fcn.00516810
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x18
lea edx, [esp + 0xc]
push edx
push 0x20019
push esi
push str.QTOControl.QTControlCLSID
push SysReAllocStringLen
mov dword [esp + 0x20], esi
call edi
cmp eax, esi
jne 0x402642
mov edx, dword [esp + 0xc]
push ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push esi
push esi
push 0x551bd8
push edx
mov dword [esp + 0x2c], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x40263f
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x228]
push str.CLSID_sInprocServer32
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
lea ecx, [esp + 0x230]
push ecx
push SysReAllocStringLen
call edi
cmp eax, esi
jne 0x402641
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x43c]
lea eax, [esp + 0x14]
push eax
push ebp
push esi
push esi
push 0x551bd8
push ecx
mov dword [esp + 0x2c], edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x402641
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0051674d
add esp, 0x424
ret
Function at 0x402820
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x40288e
test ecx, ecx
je 0x402880
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x40289c
test ecx, ecx
je 0x402941
push ecx
jmp 0x40293b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x40290e
jmp 0x4028d0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00402820
mov edi, eax
test edi, edi
jne 0x40295d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x4028d0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x402925
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x402941
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0051674d
add esp, 0x21c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40296c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x402943
Function at 0x403450
Capabilities:
Set registry value

Disassembly:
sub esp, 0x610
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0x60c], eax
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x214]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0x776f6378
call fcn.005176ab
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0
lea ecx, [esp + 0x438]
push 0x100
push ecx
call fcn.00517297
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 0x2c
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareApple_Computer__Inc.QuickTimeInstalled_Files
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x403562
mov edx, dword [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
lea ecx, [esp + 0x430]
push ecx
push edx
call edi
test eax, eax
jne 0x403546
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
push eax
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.Full_Path
push eax
call esi
mov edx, dword [esp + 8]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.Uninstall_Action
push edx
call esi
mov eax, dword [esp + 0xc]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x403557
push eax
call esi
mov eax, dword [esp + 8]
test eax, eax
je 0x403562
push eax
call esi
mov ecx, dword [esp + 0x614]
pop edi
pop esi
xor ecx, esp
call fcn.0051674d
add esp, 0x610
ret
Function at 0x404ac0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x404adc
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x403660
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x404b04
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret