joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100501b6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10168bc4
mov eax, dword fs:[0]
push eax
mov eax, 0x1074
call fcn.101642f6
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 4
push 0x7e
mov eax, dword [edi]
push edi
call dword [eax + 0x70]
cmp eax, 0xffffffff
je 0x100503c3
push 0x824
lea eax, [ebp - 0x105c]
push eax
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ebx, eax
test ebx, ebx
jne 0x100502e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x100503c3
mov esi, dword [edi]
push edi
call dword [esi + 0x18]
push eax
push edi
call dword [esi + 0xa8]
mov ecx, dword [edi]
mov esi, eax
push edi
mov dword [ebp - 0x1060], esi
call dword [ecx + 0x18]
push 0x5c
pop ecx
push ecx
mov edx, eax
mov ecx, esi
call fcn.10013f58
mov esi, eax
test esi, esi
je 0x100502d7
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x105c]
push 0x824
push eax
push dword [ebp - 0x1060]
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ebx, eax
push 0x5c
pop eax
mov word [esi], ax
lea eax, [ebx - 1]
cmp eax, 0x823
ja 0x100502d7
mov eax, dword [edi]
push edi
call dword [eax + 0x18]
mov ecx, esi
sub ecx, dword [ebp - 0x1060]
sar ecx, 1
sub eax, ecx
lea ecx, [ebx + eax]
mov dword [ebp - 0x1060], ecx
cmp ecx, 0x824
ja 0x100502d5
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x105c]
lea eax, [eax + ebx*2]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x1060]
add esp, 0xc
mov ebx, ecx
mov eax, dword [edi]
push edi
call dword [eax + 0xac]
xor esi, esi
lea eax, [ebx - 1]
cmp eax, 0x823
ja 0x100503c3
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
lea ecx, [ebp - 0x105c]
mov dword [ebp - 4], esi
cmp ecx, eax
je 0x1005031e
test eax, eax
jne 0x1005030c
xor esi, esi
inc esi
jmp 0x1005031e
push eax
lea eax, [ebp - 0x105c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
pop ecx
pop ecx
mov esi, eax
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100503c3
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
mov dword [ebp - 0x1078], eax
lea ecx, [ebp - 0x105c]
xor eax, eax
mov dword [ebp - 0x1068], ecx
mov word [ebp - 0x1074], ax
mov edx, 0x101971c0
lea eax, [ebp - 0x1070]
mov dword [ebp - 0x1070], edx
push eax
lea eax, [ebp - 0x1080]
mov dword [ebp - 0x1080], edx
push eax
xor ecx, ecx
mov dword [ebp - 0x106c], str.After
push str.Converted_something_to_long_name_
mov word [ebp - 0x1064], cx
mov edx, 0x8b
push 0xf
mov ecx, 0x7c7180
mov dword [ebp - 0x107c], str.Before
call fcn.100083da
cmp ebx, 0x104
ja 0x100503c3
mov eax, dword [edi]
lea ecx, [ebp - 0x105c]
push ebx
push ecx
push edi
call dword [eax + 0x28]
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
add eax, 0x8007000e
jmp 0x100503c6
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100042bb
mov esp, ebp
pop ebp
ret 4
Function at 0x100508cd
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
mov dword [ebp - 0x214], 1
push esi
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
mov edi, ecx
call sub.VCRUNTIME140.dll_memset
mov edx, 0x10219990
mov dword [ebp - 0x210], esi
add esp, 0xc
mov ecx, ebx
mov eax, edx
cmp dword [eax], ebx
je 0x1005092a
add eax, 0x14
inc ecx
cmp eax, 0x102199b8
jl 0x10050916
jmp 0x10050a99
imul esi, ecx, 0x14
add esi, edx
je 0x10050a99
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10050a82
cmp dword [ebp - 0x214], 1
jne 0x10050a82
cmp word [ebp - 0x20c], bx
je 0x10050a82
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x10050a82
shr eax, 1
mov dword [ebp - 0x210], eax
cmp eax, 0x104
jae 0x100509ab
add eax, eax
cmp eax, 0x208
jae 0x10050aac
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
jmp 0x100509b1
xor eax, eax
mov word [ebp - 6], ax
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.10007746
mov dword [esi], eax
test eax, eax
je 0x10050a82
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._GetPerfhostHookVersion_0
push eax
call edi
test eax, eax
jne 0x100509de
inc eax
jmp 0x100509e0
call eax
mov dword [esi + 4], eax
cmp eax, 1
jne 0x10050a04
push str._InitPerf_4
push dword [esi]
call edi
push str._PerfCodeMarker_12
push dword [esi]
mov dword [esi + 8], eax
call edi
push str._UnInitPerf_4
jmp 0x10050a38
cmp eax, 2
jne 0x10050a19
push str._InitPerf_4
push dword [esi]
call edi
push str._PerfCodeMarker_8
jmp 0x100509f6
cmp eax, 3
jne 0x10050a42
push str._InitPerf_v3_4
push dword [esi]
call edi
push str._PerfCodeMarker_v3_8
push dword [esi]
mov dword [esi + 8], eax
call edi
push str._UnInitPerf_v3_4
push dword [esi]
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x10050a82
cmp dword [esi + 0x10], ebx
je 0x10050a82
cmp dword [esi + 0xc], ebx
je 0x10050a82
cmp dword [esi + 4], 1
jne 0x10050a63
push dword [0x102199c4]
call eax
jmp 0x10050a99
cmp dword [esi + 4], 2
jne 0x10050a73
push dword [0x102199c4]
call eax
jmp 0x10050a7e
cmp dword [esi + 4], 3
je 0x10050a69
mov eax, 0x80004005
test eax, eax
jns 0x10050a99
cmp dword [esi], ebx
je 0x10050a8e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100042bb
mov esp, ebp
pop ebp
ret 4
call fcn.1016416b
int3
Function at 0x10053a6e
Capabilities:
Enumerate process modules

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, edx
cmp dword [edi + 8], 0
je 0x10053a91
push 0xffffffffffffffff
push dword [edi + 8]
lea eax, [esi + 0x18]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
add esp, 0x10
cmp dword [edi + 4], 0
je 0x10053ab1
push 0xffffffffffffffff
push dword [edi + 4]
lea eax, [esi + 0x220]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
add esp, 0x10
mov eax, dword [0x10219e6c]
mov dword [esi + 0x14], eax
mov eax, dword [edi]
test eax, eax
je 0x10053add
mov eax, dword [eax]
test eax, eax
je 0x10053add
mov eax, dword [eax]
mov dword [esi + 0x10], eax
mov eax, dword [edi]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10053add
pop edi
mov dword [esi], eax
mov ecx, esi
pop esi
jmp fcn.10053ae0
pop edi
pop esi
ret

Function at 0x1005450a
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101667ac
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1020f334]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
cmp dword [0x10219438], 0
jne 0x10054616
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
shl esi, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, esi
xor esi, esi
and eax, 0x5f5f5f
or eax, 0x202020
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push esi
push ecx
mov ecx, 0x2001f
call fcn.1001456c
pop ecx
push eax
push esi
push esi
push esi
push ebx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10054604
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push esi
push esi
push esi
jmp 0x100545ab
inc eax
and eax, 0x5f5f5f
or eax, 0x202020
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call ebx
mov esi, eax
mov eax, dword [ebp - 0x10]
test esi, esi
je 0x10054597
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 4], eax
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
cmp esi, 2
jne 0x100545f2
mov eax, dword [edi + 0x18]
add eax, 0x1c
push eax
push edi
push 3
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10054604
mov eax, dword [ebp - 0x10]
jmp 0x10054618
mov eax, dword [0x10210270]
mov ecx, 0x10210270
push 0x699889
call dword [eax + 4]
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
Function at 0x1005462a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
mov esi, ecx
mov ebx, edx
push ecx
mov ecx, 0x20006
xor edi, edi
call fcn.1001456c
pop ecx
push eax
push edi
push ebx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100546b4
mov eax, dword [esi + 0x18]
add eax, 0x1c
push eax
push esi
push 3
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10054678
mov edi, dword [esi]
jmp 0x100546a9
xor eax, eax
mov dword [ebp - 0x14], 0x101b14e4
mov word [ebp - 8], ax
mov edx, 0x343
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], str.cszKey
push eax
push str.Name_of_the_value_failed_to_open
push 0xa
mov ecx, 0x15460cb
mov dword [ebp - 0xc], ebx
call fcn.1000eade
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100546e5
mov dword [ebp - 0xc], eax
mov edx, 0x343
xor eax, eax
mov dword [ebp - 0x14], 0x1019a90c
mov word [ebp - 8], ax
mov ecx, 0x15460cc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], str.regKeyOpenReturnCode
push eax
push str.The_registry_key_was_not_opened_successfully.
push 0xa
call fcn.1000eade
test edi, edi
jne 0x1005471a
and dword [ebp - 0xc], edi
xor eax, eax
mov word [ebp - 8], ax
mov edx, 0x343
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x1019a90c
push eax
push str.The_registry_was_not_modified.
push 0xa
mov ecx, 0x15460cd
mov dword [ebp - 0x10], str.dwRet
call fcn.1000eade
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10057641
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [edi + 0x20], 0
je 0x100576e2
cmp dword [esi + 0x14], 8
mov eax, esi
push 4
pop ebx
mov dword [ebp - 0x39c], ebx
mov dword [ebp - 0x3a0], ebx
jb 0x1005767e
mov eax, dword [esi]
lea edx, [ebp - 0x3a0]
push edx
push ecx
lea ecx, [ebp - 0x39c]
push ecx
push 0
push eax
push dword [edi + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
je 0x100576c1
cmp ecx, 2
je 0x100576cd
cmp ecx, 0xea
je 0x100576cd
push esi
lea eax, [edi + 8]
push eax
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x398]
call fcn.10058a5c
jmp 0x100576f3
cmp dword [ebp - 0x39c], ebx
jne 0x100576cd
mov al, 1
jmp 0x100576cf
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100042bb
mov esp, ebp
pop ebp
ret 8
push str.ORegistryKey.GetValue_failure:_Cannot_get_DWORD_value._The_registry_key_is_closed_or_not_set
push ecx
lea ecx, [ebp - 0x398]
call fcn.100589da
push 0x10204ba0
lea eax, [ebp - 0x398]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x10057705
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx + 0x20], 0
mov edi, dword [ebp + 0xc]
je 0x10057835
xor edx, edx
mov dword [ebp - 0x39c], 1
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 0x3a0], edx
jb 0x10057749
mov eax, dword [esi]
lea ecx, [ebp - 0x3a0]
push ecx
push edx
lea ecx, [ebp - 0x39c]
push ecx
push edx
push eax
push dword [ebx + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x10057820
cmp dword [ebp - 0x39c], 1
je 0x10057784
cmp dword [ebp - 0x39c], 2
jne 0x10057820
test ecx, ecx
je 0x100577a0
push esi
lea eax, [ebx + 8]
push eax
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x398]
call fcn.10058a5c
jmp 0x10057843
and dword [edi + 0x10], 0
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100577ae
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x3a0]
cmp ecx, 2
ja 0x100577c2
mov al, 1
jmp 0x10057822
shr ecx, 1
dec ecx
push 0
push ecx
mov ecx, edi
call fcn.1000ece8
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100577d9
mov ecx, dword [edi]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100577e3
mov eax, dword [esi]
lea edx, [ebp - 0x3a0]
push edx
push ecx
lea ecx, [ebp - 0x39c]
push ecx
push 0
push eax
push dword [ebx + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1005780b
push esi
lea ecx, [ebx + 8]
push ecx
push ecx
push eax
jmp 0x1005778f
mov eax, dword [ebp - 0x3a0]
mov ecx, edi
shr eax, 1
push 0
dec eax
push eax
call fcn.1000ece8
jmp 0x100577be
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100042bb
mov esp, ebp
pop ebp
ret 8
push esi
push ecx
push ecx
lea ecx, [ebp - 0x398]
call fcn.10058a7e
push 0x10204ba0
lea eax, [ebp - 0x398]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1005a19d
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor dl, dl
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x1005a2f7
mov eax, ecx
mov ebx, 0x10000000
cmp eax, 0x7c
je 0x1005a2f7
cmp eax, 0x29
jne 0x1005a1dc
cmp dword [esi + 0x10], 0
jne 0x1005a2f7
cmp eax, eax
jne 0x1005a1dc
test dword [esi + 0x50], ebx
je 0x1005a305
cmp eax, 0x2e
jne 0x1005a1f7
push 5
lea ecx, [esi + 0x24]
call fcn.1005a3eb
mov ecx, esi
call fcn.1005a172
jmp 0x1005a2e0
cmp eax, 0x5c
jne 0x1005a24c
mov ecx, esi
call fcn.1005a172
test byte [esi + 0x50], 0x80
je 0x1005a240
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1005a228
push 4
lea ecx, [esi + 0x24]
call fcn.1005a3eb
mov ecx, esi
call fcn.1005a172
jmp 0x1005a2e7
cmp eax, 0x42
jne 0x1005a240
push 4
lea ecx, [esi + 0x24]
call fcn.1005a3eb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1005a21c
mov ecx, esi
call fcn.1005ac1a
jmp 0x1005a2e0
cmp eax, 0x5b
jne 0x1005a26c
mov ecx, esi
call fcn.1005a172
mov ecx, esi
call fcn.1005abce
cmp dword [esi + 0x4c], 0x5d
je 0x1005a1eb
push 4
jmp 0x1005a307
cmp eax, 0x28
jne 0x1005a289
mov ecx, esi
call fcn.1005a172
mov ecx, esi
call fcn.1005ad02
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1005a305
jmp 0x1005a2d5
cmp eax, 0x5e
jne 0x1005a292
push 2
jmp 0x1005a214
cmp eax, 0x24
jne 0x1005a29e
push 3
jmp 0x1005a214
cmp eax, 0x2a
je 0x1005a301
cmp eax, 0x2b
je 0x1005a301
cmp eax, 0x3f
je 0x1005a301
cmp eax, 0x7b
je 0x1005a301
cmp ecx, 0x7d
jne 0x1005a2bc
test dword [esi + 0x50], ebx
je 0x1005a2fd
cmp ecx, 0x5d
jne 0x1005a2c6
test dword [esi + 0x50], ebx
je 0x1005a265
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1005aed1
mov bl, 1
mov ecx, esi
call fcn.1005a172
test bl, bl
je 0x1005a2e7
mov ecx, esi
call fcn.1005ae07
mov ecx, dword [esi + 0x4c]
mov dl, 1
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x1005a1b2
pop esi
mov al, dl
pop ebx
pop ecx
ret
push 6
jmp 0x1005a307
push 0xa
jmp 0x1005a307
push 5
call fcn.1005977e
int3
Function at 0x1005d4bb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [edi + 0x20], 0
je 0x1005d562
push 8
pop edx
mov eax, esi
mov dword [ebp - 0x39c], 0xb
mov dword [ebp - 0x3a0], edx
cmp dword [esi + 0x14], edx
jb 0x1005d4fe
mov eax, dword [esi]
lea edx, [ebp - 0x3a0]
push edx
push ecx
lea ecx, [ebp - 0x39c]
push ecx
push 0
push eax
push dword [edi + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
je 0x1005d541
cmp ecx, 2
je 0x1005d54e
cmp ecx, 0xea
je 0x1005d54e
push esi
lea eax, [edi + 8]
push eax
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x398]
call fcn.10058a5c
jmp 0x1005d573
cmp dword [ebp - 0x39c], 0xb
jne 0x1005d54e
mov al, 1
jmp 0x1005d550
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100042bb
mov esp, ebp
pop ebp
ret 8
push str.ORegistryKey.GetValue_failure:_Cannot_get_QWORD_value._The_registry_key_is_closed_or_not_set
push ecx
lea ecx, [ebp - 0x398]
call fcn.100589da
push 0x10204ba0
lea eax, [ebp - 0x398]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1006610e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x1020f334]
xor eax, esp
mov dword [esp + 0x30], eax
mov edx, dword [0x10214e34]
mov eax, dword fs:[0x2c]
push ebx
push esi
push edi
mov eax, dword [eax + edx*4]
mov edi, ecx
mov dword [esp + 0x14], edi
mov ebx, 0x2710
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
lea esi, [edi + 8]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov ecx, eax
and ecx, 7
mov edx, ecx
sub edx, 1
je 0x10066187
sub edx, 1
jne 0x100661f0
push 5
and eax, 0xfffffffb
lea edx, [esp + 0x10]
push ecx
or eax, 3
mov ecx, esi
push eax
call fcn.1000ffe1
test eax, eax
jne 0x1006620e
mov eax, dword [esp + 0xc]
jmp 0x1006614f
cmp dword [esp + 0x10], edi
je 0x10066164
sub ebx, 1
je 0x100661f7
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
push 0
pop edi
add eax, 0x2710
push edi
push 0x64
adc edx, edi
push edx
push eax
call fcn.1016451d
push edi
push 0x3b9aca00
mov esi, eax
push edx
push esi
call fcn.10165566
mov dword [esp + 0x18], eax
lea edi, [esp + 0x28]
imul eax, eax, 0x3b9aca00
mov dword [esp + 0x1c], edx
sub esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
lea esi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.MSVCP140.dll__Thrd_sleep]
mov edi, dword [esp + 0x18]
pop ecx
jmp 0x10066146
push 0x16055cb
jmp 0x100661ff
xor ecx, ecx
push 0x16055ca
inc ecx
mov dl, byte [ebp + 8]
push str.Cannot_move_to_Invoking_state
call fcn.10066451
jmp 0x10066210
mov al, 1
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100042bb
mov esp, ebp
pop ebp
ret 4
Function at 0x1006dbfd
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101661d5
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1020f334]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 8]
xor edi, edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.10008598
push dword [ebp + 0x10]
lea ecx, [esi + 0x18]
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.10008598
push dword [ebp + 0xc]
lea ecx, [esi + 0x34]
mov byte [esi + 0x30], 1
call fcn.10030b61
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1007096d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016ab6b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x10070aab
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x4c], edi
push str.Microsoft.Office.Experimentation.Configs.EcsPersistentStore
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x5c], ax
call fcn.10009422
mov dword [ebp - 4], edi
lea eax, [ebp - 0x5c]
mov ecx, dword [0x10217e28]
push eax
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, eax
call fcn.1007ae5d
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.1000860f
xor eax, eax
mov dword [ebp - 0x1c], edi
push 0x10197284
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x2c], ax
call fcn.10009422
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x34], edi
push str.CountryCode
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x44], ax
call fcn.10009422
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xb0]
call fcn.1006dbfd
lea ecx, [ebp - 0x44]
call fcn.1000860f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.1000860f
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xb0]
call fcn.1006da92
push esi
lea ecx, [ebp - 0x74]
call fcn.1004f765
test al, al
jne 0x10070a82
push esi
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.10070d6e
lea ecx, [ebp - 0x74]
call fcn.1000860f
lea ecx, [ebp - 0xb0]
call fcn.1006cee1
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x10070aab
call fcn.10031696
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100042bb
mov esp, ebp
pop ebp
ret
Function at 0x100712b7
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, dword [ebp + 8]
test edi, edi
je 0x10071306
and dword [ebp + 0xc], 0
lea eax, [esi + edi]
xor edx, edx
cmp edi, eax
cmova esi, edx
test esi, esi
je 0x10071306
movzx eax, byte [edi]
push 0x100
cdq
push 0x1b3
xor edx, ebx
xor eax, ecx
push edx
push eax
call fcn.1016451d
mov ecx, eax
inc edi
mov eax, dword [ebp + 0xc]
mov ebx, edx
inc eax
mov dword [ebp + 0xc], eax
cmp eax, esi
jb 0x100712dd
pop edi
pop esi
mov edx, ebx
mov eax, ecx
pop ebx
pop ebp
ret 8
Function at 0x10081ce4
Capabilities:
Access peb ldr_data
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016ceb8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x1020f334]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xc]
xor ebx, ebx
mov dword [esi], 0x101bae40
push str.InvalidApp
mov dword [esi + 4], eax
mov byte [esi + 8], bl
call fcn.10009449
mov dword [esi + 0x24], ebx
lea ecx, [esi + 0x34]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.10082738
lea ecx, [esi + 0x44]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
call fcn.1008279f
lea ecx, [esi + 0x4c]
call fcn.100827db
or dword [esi + 0x54], 0xffffffff
mov byte [esi + 0x58], bl
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 0x54], eax
cmp eax, 0xffffffff
jne 0x10081d6c
push 7
pop ecx
int 0x29
mov eax, 0x101bae38
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [ebp - 4], 3
push eax
mov eax, dword [0x101bae38]
call dword [eax + 4]
push ecx
push ecx
call fcn.1007b05c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4