joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001ad0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10075f7e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
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 0x10001bb2
push dword [esp + 0x14]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
xor esi, esi
cmp dword [esp + 0x18], ebx
jne 0x10001bbb
inc esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x98], bl
call fcn.10073668
or dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.1007365c
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 0x10001bf6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10075f4d
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
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 0x10001c6a
call fcn.10073644
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
cmp dword [esp + 0x20], 1
mov ecx, dword [eax + 0xc]
jle 0x10001c65
mov edx, dword [esp + 0x1c]
mov dword [edx + 4], ecx
cmp dword [esp + 0x20], 2
mov ecx, dword [eax]
jle 0x10001c65
mov edx, dword [esp + 0x1c]
mov dword [edx + 8], ecx
cmp dword [esp + 0x20], 3
mov eax, dword [eax + 8]
jle 0x10001c65
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 0x10001d34
push dword [esp + 0x14]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 1
call fcn.10073668
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 0
call fcn.1007365c
or dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.1007368c
test ebx, ebx
jne 0x10001d6f
mov eax, edi
jmp 0x10001d71
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 0x10001d89
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10075f4d
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
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 0x10001dfe
call fcn.10073644
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
cmp dword [esp + 0x20], 1
mov eax, dword [eax]
mov eax, dword [eax + 4]
jle 0x10001df9
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 0x10001eab
push dword [esp + 0x10]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 1
call fcn.10073668
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], bl
call fcn.1007365c
or dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.1007368c
xor eax, eax
cmp dword [esp + 0x14], ebx
jne 0x10001ee6
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 0x10001efe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10075f11
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
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 0x10002005
cmp ecx, 3
jne 0x10002005
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.10073668
or dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.1007365c
cmp dword [esp + 0x14], ebx
je 0x10002016
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 0x10002037
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10075f11
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
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 0x10002165
cmp ecx, 3
jne 0x10002165
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.10073668
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], edi
call fcn.1007365c
cmp dword [esp + 0x10], esi
je 0x10002176
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 0x10002197
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10075f11
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
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 0x100022c5
cmp ecx, 3
jne 0x100022c5
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.10073668
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], edi
call fcn.1007365c
cmp dword [esp + 0x10], esi
je 0x100022d6
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 0x100022f7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10075f11
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
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 0x10002425
cmp ecx, 3
jne 0x10002425
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.10073668
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], edi
call fcn.1007365c
cmp dword [esp + 0x10], esi
je 0x10002436
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 0x10002457
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10075f11
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
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 0x10002581
cmp ecx, 3
jne 0x10002581
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
push esi
mov ecx, ebx
mov byte [esp + 0xa8], 1
call sub.mfc90u.dll_CStringArray::SetSize
push edi
push 0xa
mov ecx, ebx
call sub.mfc90u.dll_CStringArray::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_CStringArray::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.10073668
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], edi
call fcn.1007365c
cmp dword [esp + 0x10], esi
je 0x10002592
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 0x100025b3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10075ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call sub.mfc90u.dll_CDWordArray::CDWordArray
push 0x1e
pop eax
xor ebx, ebx
push 2
mov dword [esp + 0xb4], ebx
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x18]
push eax
push edi
lea eax, [esp + 0x38]
push eax
push ebx
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x10002720
cmp dword [esp + 0x30], 3
jne 0x10002720
push ebx
push dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push edi
call sub.mfc90u.dll_CMemFile::CMemFile
push ebx
push 0x1000
push 1
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc0], 1
call sub.mfc90u.dll_CArchive::CArchive
push 0xffffffffffffffff
mov byte [esp + 0xb4], 2
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], ebx
call sub.mfc90u.dll_CDWordArray::SetSize
push 0xffffffffffffffff
push 5
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CDWordArray::SetSize
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CDWordArray::Serialize
lea ecx, [esp + 0x5c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x34]
call sub.mfc90u.dll_CMemFile::Close
cmp dword [esp + 0x24], ebx
jg 0x100026b9
call fcn.10073644
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [edx + 4], ecx
cmp dword [esp + 0x24], 1
jle 0x100026b4
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov dword [edx + 0xc], ecx
cmp dword [esp + 0x24], 2
jle 0x100026b4
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
mov dword [edx], ecx
cmp dword [esp + 0x24], 3
jle 0x100026b4
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 1
call fcn.10073668
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], bl
call fcn.1007365c
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], 0x10
cmp edi, ebx
je 0x10002741
push edi
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
or dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.1007368c
xor eax, eax
cmp dword [esp + 0x14], ebx
jne 0x1000275b
inc eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10002773
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10075ea4
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CDWordArray::CDWordArray
push 0x14
pop eax
xor ebx, ebx
push 2
mov dword [esp + 0xb4], ebx
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCR90.dll_calloc]
pop ecx
pop ecx
mov edi, eax
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x24]
push eax
push ebx
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x100028ba
cmp dword [esp + 0x1c], 3
jne 0x100028ba
push ebx
push dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push edi
call sub.mfc90u.dll_CMemFile::CMemFile
push ebx
push 0x1000
push 1
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc0], 1
call sub.mfc90u.dll_CArchive::CArchive
push 0xffffffffffffffff
mov byte [esp + 0xb4], 2
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], ebx
call sub.mfc90u.dll_CDWordArray::SetSize
push 0xffffffffffffffff
push 5
lea ecx, [esp + 0x28]
call sub.mfc90u.dll_CDWordArray::SetSize
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
call sub.mfc90u.dll_CDWordArray::Serialize
lea ecx, [esp + 0x5c]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [esp + 0x34]
call sub.mfc90u.dll_CMemFile::Close
cmp dword [esp + 0x28], ebx
jg 0x10002879
call fcn.10073644
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ecx]
mov dword [edx], eax
cmp dword [esp + 0x28], 1
jle 0x10002874
mov eax, dword [esp + 0x24]
mov ecx, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 1
call fcn.10073668
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], bl
call fcn.1007365c
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 2
mov dword [esi + 0x18], 8
cmp edi, ebx
je 0x100028db
push edi
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
or dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.1007368c
xor eax, eax
cmp dword [esp + 0x18], ebx
jne 0x100028f5
inc eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10003c92
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100e5038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xa
lea eax, [ebp - 0x18]
push eax
push 9
push 0x400
mov esi, 0x409
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x10003cd2
push 0x10
lea eax, [ebp - 0x18]
push 0
push eax
call dword [sym.imp.MSVCR90.dll_wcstoul]
add esp, 0xc
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10074156
leave
ret