joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5412f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4cb015
lea edi, [esi - 0xca015]
mov dword [edi + 0x12b348], 0x8e10cdb1
push edi
or ebp, 0xffffffff
jmp 0x54131a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x541321
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x541310
mov eax, 1
add ebx, ebx
jne 0x541333
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x541344
jne 0x541363
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x541363
dec eax
add ebx, ebx
jne 0x541350
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x541328
add ebx, ebx
jne 0x54135f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5413b5
xor ecx, ecx
sub eax, 3
jb 0x54137b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5413ea
sar eax, 1
mov ebp, eax
jmp 0x541386
add ebx, ebx
jne 0x541386
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x541354
inc ecx
add ebx, ebx
jne 0x541394
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x541354
add ebx, ebx
jne 0x5413a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x541396
jne 0x5413b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x541396
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5413d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5413c6
jmp 0x541316
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5413d4
add edi, ecx
jmp 0x541316
pop esi
mov edi, esi
mov ecx, 0x3988
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5413f2
cmp byte [edi], 0x2c
jne 0x5413f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5413f7
lea edi, [esi + 0x13a000]
mov eax, dword [edi]
or eax, eax
je 0x541466
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1414ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14153c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x541424
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x141544]
or eax, eax
je 0x541460
mov dword [ebx], eax
add ebx, 4
jmp 0x541441
call dword [esi + 0x141540]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x541497
cmp al, 0xef
ja 0x54148a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x54146c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x541479
mov ebp, dword [esi + 0x141548]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1414f2]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5414e3
sub esp, 0xffffff80
jmp 0x4014c0
Function at 0x100013bd
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x100013c5
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push 2
push 0
push dword [esp + 0x18]
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
pop esi
ret 8

Function at 0x100013f6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x10], 0
je 0x1000140c
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.PCBRhelper.dll_Ordinal_1139
jmp 0x1000143f
mov eax, dword [ebp + 0xc]
push esi
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10001413
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
pop esi
pop ebp
ret 0xc

Function at 0x10001443
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x1005224f
call fcn.100514bc
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [edi + 8]
call esi
test eax, eax
jne 0x1000150c
cmp dword [ebp - 0x10], 1
je 0x1000148b
cmp dword [ebp - 0x10], 2
jne 0x1000150c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90u.dll_new__
mov ebx, eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax + 1]
push eax
push 0
push ebx
call sub.MSVCR90.dll_memset
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [edi + 8]
call esi
test eax, eax
jne 0x10001500
cmp dword [ebp - 0x10], 1
je 0x100014db
cmp dword [ebp - 0x10], 2
jne 0x10001500
push ebx
lea ecx, [ebp + 8]
call dword [0x10061e44]
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push ebx
call sub.mfc90u.dll_delete__
xor eax, eax
pop ecx
inc eax
jmp 0x1000150e
xor eax, eax
call fcn.10051594
ret 8

Function at 0x10001516
Capabilities:
Set registry value

Disassembly:
push 4
push dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x14]
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
ret 8

Function at 0x100015a7
Capabilities:
Set registry value

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push 3
push 0
push dword [esp + 0x14]
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
ret 0xc
Function at 0x10001928
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
or dword [ebp - 4], 0xffffffff
or dword [ebp - 8], 0xffffffff
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov edi, ecx
push dword [edi + 8]
call esi
cmp dword [ebp - 4], 2
mov edx, dword [ebp + 0x10]
sete cl
mov byte [edx], cl
test eax, eax
jne 0x100019b8
cmp dword [ebp - 4], 1
je 0x1000196f
cmp dword [ebp - 4], 2
jne 0x100019b8
push dword [ebp - 8]
call sub.mfc90u.dll_new__
pop ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp + 0x10], eax
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push dword [edi + 8]
call esi
test eax, eax
jne 0x100019aa
cmp dword [ebp - 4], 1
je 0x1000199e
cmp dword [ebp - 4], 2
jne 0x100019aa
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push dword [ebp + 0x10]
call sub.mfc90u.dll_delete__
xor eax, eax
pop ecx
inc eax
jmp 0x100019ba
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x100019c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100521c3
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
push 2
mov edi, 0x1000
push edi
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
push 0x10
push edi
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call sub.mfc90u.dll_CMemFile::CMemFile
xor ebx, ebx
push ebx
push edi
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa0], ebx
call sub.mfc90u.dll_CArchive::CArchive
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x3c]
mov byte [esp + 0x90], 1
mov eax, dword [ecx]
push edx
call dword [eax + 8]
lea ecx, [esp + 0x3c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x14]
call sub.mfc90u.dll_CMemFile::GetLength
mov edi, eax
push edi
lea ecx, [esp + 0x18]
call sub.mfc90u.dll_CMemFile::Detach
push eax
push 3
push ebx
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], 3
xor esi, esi
cmp dword [esp + 0x10], esi
je 0x10001a91
push dword [esp + 0x10]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
cmp ebx, esi
jne 0x10001a98
xor esi, esi
inc esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 0
call fcn.1004fc8a
or dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.1004fc7e
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10001ad4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10052192
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov esi, 0x1000
push esi
call dword [sym.imp.MSVCR90.dll_malloc]
push esi
xor ebx, ebx
push ebx
push eax
mov dword [esp + 0x24], eax
call sub.MSVCR90.dll_memset
add esp, 0x10
push 0x10
push esi
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
call sub.mfc90u.dll_CMemFile::CMemFile
push ebx
push esi
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0xa8], ebx
call sub.mfc90u.dll_CArchive::CArchive
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x44]
mov byte [esp + 0x98], 1
mov eax, dword [ecx]
push edx
call dword [eax + 8]
lea ecx, [esp + 0x44]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x1c]
call sub.mfc90u.dll_CMemFile::GetLength
lea ecx, [esp + 0x1c]
mov esi, eax
call sub.mfc90u.dll_CMemFile::Detach
push esi
push eax
push 3
push ebx
push dword [ebp + 8]
mov dword [esp + 0x28], eax
push dword [edi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x18], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], 3
cmp dword [esp + 0x14], ebx
je 0x10001bb6
push dword [esp + 0x14]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
xor esi, esi
cmp dword [esp + 0x18], ebx
jne 0x10001bbf
inc esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x98], bl
call fcn.1004fc8a
or dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.1004fc7e
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10001bfa
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10052161
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x18]
call sub.mfc90u.dll_CDWordArray::CDWordArray
push 2
xor ebx, ebx
push 0x1e
mov dword [esp + 0xb0], ebx
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
push 0xffffffffffffffff
push 5
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call sub.mfc90u.dll_CDWordArray::SetSize
cmp dword [esp + 0x20], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
jg 0x10001c6e
call sub.mfc90u.dll_AfxThrowInvalidArgException
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
cmp dword [esp + 0x20], 1
mov ecx, dword [eax + 0xc]
jle 0x10001c69
mov edx, dword [esp + 0x1c]
mov dword [edx + 4], ecx
cmp dword [esp + 0x20], 2
mov ecx, dword [eax]
jle 0x10001c69
mov edx, dword [esp + 0x1c]
mov dword [edx + 8], ecx
cmp dword [esp + 0x20], 3
mov eax, dword [eax + 8]
jle 0x10001c69
mov ecx, dword [esp + 0x1c]
push 0x10
push 0x1e
push dword [esp + 0x1c]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x38]
call sub.mfc90u.dll_CMemFile::CMemFile
push ebx
push 0x1000
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xb8], 1
call sub.mfc90u.dll_CArchive::CArchive
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 2
call sub.mfc90u.dll_CDWordArray::Serialize
lea ecx, [esp + 0x54]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CMemFile::GetLength
mov edi, eax
push edi
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CMemFile::Detach
push eax
push 3
push ebx
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esi + 0x18], edi
xor edi, edi
inc edi
cmp dword [esp + 0x14], 0
mov ebx, eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
je 0x10001d38
push dword [esp + 0x14]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 1
call fcn.1004fc8a
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 0
call fcn.1004fc7e
or dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.1004fcae
test ebx, ebx
jne 0x10001d73
mov eax, edi
jmp 0x10001d75
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10001d8d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10052161
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x18]
call sub.mfc90u.dll_CDWordArray::CDWordArray
push 2
xor ebx, ebx
push 0x14
mov dword [esp + 0xb0], ebx
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
push 0xffffffffffffffff
push 5
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], eax
call sub.mfc90u.dll_CDWordArray::SetSize
cmp dword [esp + 0x20], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov ecx, dword [ecx]
jg 0x10001e02
call sub.mfc90u.dll_AfxThrowInvalidArgException
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
cmp dword [esp + 0x20], 1
mov eax, dword [eax]
mov eax, dword [eax + 4]
jle 0x10001dfd
mov ecx, dword [esp + 0x1c]
push 0x10
push 0x14
push dword [esp + 0x18]
mov dword [ecx + 4], eax
lea ecx, [esp + 0x38]
call sub.mfc90u.dll_CMemFile::CMemFile
push ebx
push 0x1000
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xb8], 1
call sub.mfc90u.dll_CArchive::CArchive
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 2
call sub.mfc90u.dll_CDWordArray::Serialize
lea ecx, [esp + 0x54]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CMemFile::GetLength
mov edi, eax
push edi
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CMemFile::Detach
push eax
push 3
push ebx
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], 2
cmp dword [esp + 0x10], ebx
je 0x10001eaf
push dword [esp + 0x10]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 1
call fcn.1004fc8a
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], bl
call fcn.1004fc7e
or dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.1004fcae
xor eax, eax
cmp dword [esp + 0x14], ebx
jne 0x10001eea
inc eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10001f02
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10052125
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov edi, 0x1000
push 2
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
cmp edx, ebx
jne 0x10002009
cmp ecx, 3
jne 0x10002009
push ebx
push eax
push dword [esp + 0x1c]
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CMemFile::CMemFile
push ebx
push edi
push 1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb0], ebx
call sub.mfc90u.dll_CArchive::CArchive
mov esi, dword [ebp + 0xc]
mov byte [esp + 0xa0], 1
mov ecx, esi
mov dword [esp + 0x50], ebx
call sub.mfc90u.dll_CStringList::RemoveAll
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call dword [eax + 8]
lea ecx, [esp + 0x4c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CMemFile::Close
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], bl
call fcn.1004fc8a
or dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.1004fc7e
cmp dword [esp + 0x14], ebx
je 0x1000201a
push dword [esp + 0x14]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
xor eax, eax
cmp dword [esp + 0x20], ebx
sete al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000203b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10052125
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov edi, 0x1000
push 2
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
xor esi, esi
mov dword [esp + 0x1c], edx
cmp edx, esi
jne 0x10002169
cmp ecx, 3
jne 0x10002169
push esi
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CMemFile::CMemFile
push esi
push edi
push 1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb0], esi
call sub.mfc90u.dll_CArchive::CArchive
or edi, 0xffffffff
push edi
mov byte [esp + 0xa4], 1
push esi
mov ecx, ebx
mov dword [esp + 0x58], esi
call sub.mfc90u.dll_CByteArray::SetSize
push edi
push 0xa
mov ecx, ebx
call sub.mfc90u.dll_CByteArray::SetSize
mov eax, dword [ebx]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call dword [eax + 8]
push edi
push dword [esp + 0x1c]
mov ecx, ebx
call sub.mfc90u.dll_CByteArray::SetSize
lea ecx, [esp + 0x4c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CMemFile::Close
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.1004fc8a
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], edi
call fcn.1004fc7e
cmp dword [esp + 0x10], esi
je 0x1000217a
push dword [esp + 0x10]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
xor eax, eax
cmp dword [esp + 0x1c], esi
sete al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000219b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10052125
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov edi, 0x1000
push 2
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
xor esi, esi
mov dword [esp + 0x1c], edx
cmp edx, esi
jne 0x100022c9
cmp ecx, 3
jne 0x100022c9
push esi
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CMemFile::CMemFile
push esi
push edi
push 1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb0], esi
call sub.mfc90u.dll_CArchive::CArchive
or edi, 0xffffffff
push edi
mov byte [esp + 0xa4], 1
push esi
mov ecx, ebx
mov dword [esp + 0x58], esi
call sub.mfc90u.dll_CDWordArray::SetSize
push edi
push 0xa
mov ecx, ebx
call sub.mfc90u.dll_CDWordArray::SetSize
mov eax, dword [ebx]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call dword [eax + 8]
push edi
push dword [esp + 0x1c]
mov ecx, ebx
call sub.mfc90u.dll_CDWordArray::SetSize
lea ecx, [esp + 0x4c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CMemFile::Close
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.1004fc8a
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], edi
call fcn.1004fc7e
cmp dword [esp + 0x10], esi
je 0x100022da
push dword [esp + 0x10]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
xor eax, eax
cmp dword [esp + 0x1c], esi
sete al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100022fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10052125
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov edi, 0x1000
push 2
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
xor esi, esi
mov dword [esp + 0x1c], edx
cmp edx, esi
jne 0x10002429
cmp ecx, 3
jne 0x10002429
push esi
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CMemFile::CMemFile
push esi
push edi
push 1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb0], esi
call sub.mfc90u.dll_CArchive::CArchive
or edi, 0xffffffff
push edi
mov byte [esp + 0xa4], 1
push esi
mov ecx, ebx
mov dword [esp + 0x58], esi
call sub.mfc90u.dll_CWordArray::SetSize
push edi
push 0xa
mov ecx, ebx
call sub.mfc90u.dll_CWordArray::SetSize
mov eax, dword [ebx]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call dword [eax + 8]
push edi
push dword [esp + 0x1c]
mov ecx, ebx
call sub.mfc90u.dll_CWordArray::SetSize
lea ecx, [esp + 0x4c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CMemFile::Close
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0
call fcn.1004fc8a
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], edi
call fcn.1004fc7e
cmp dword [esp + 0x10], esi
je 0x1000243a
push dword [esp + 0x10]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
xor eax, eax
cmp dword [esp + 0x1c], esi
sete al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8