joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d6c2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [eax], ebx
cmp word [edi], 0x5c
mov dword [ebp - 4], ebx
je 0x100d712
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 6]
push eax
call sub.NETAPI32.dll_NetApiBufferAllocate
mov esi, eax
cmp esi, ebx
jne 0x100d715
push edi
push 0x1001484
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
jmp 0x100d715
mov dword [ebp - 4], edi
push dword [ebp - 4]
push 0x1001e80
call fcn.0100fb71
cmp esi, ebx
pop ecx
pop ecx
jne 0x100d7b8
lea eax, [ebp - 0xc]
push eax
push 0x80000002
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
cmp esi, ebx
jne 0x100d7b8
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push 0x1001e10
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x100d7b3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1001de4
push dword [ebp - 8]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x100d7ae
push dword [ebp + 8]
push 0x1001da0
call fcn.0100fb71
cmp dword [ebp + 8], esi
pop ecx
pop ecx
je 0x100d7ae
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
push dword [ebp - 8]
call ebx
push dword [ebp - 0xc]
call ebx
cmp dword [ebp - 4], edi
je 0x100d7c5
push dword [ebp - 4]
call sub.NETAPI32.dll_NetApiBufferFree
test esi, esi
je 0x100d7d8
push esi
push 0x1001d50
call fcn.0100fb71
pop ecx
pop ecx
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x100f844
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Get file attributes
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1012854]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x100f9bc
push esi
push edi
mov edi, dword [sym.imp.msvcrt.dll_wcslen]
push ebx
call edi
mov esi, eax
lea eax, [ebp - 0x210]
push eax
add esi, 5
call edi
lea eax, [eax + eax + 0x10]
lea eax, [eax + esi*2 + 2]
cmp eax, 0x20a
pop ecx
pop ecx
ja 0x100f9b8
mov esi, dword [sym.imp.msvcrt.dll_wcscat]
lea eax, [ebp - 0x210]
push 0x1003578
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x100f8ef
call edi
cmp eax, 2
jne 0x100f9b8
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x100f8f1
test al, 0x10
je 0x100f9b8
push ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push 0x1003560
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
lea eax, [ebp - 0x210]
push 0x10013dc
push eax
call esi
lea eax, [ebp - 0x210]
push ebx
push eax
call esi
lea eax, [ebp - 0x210]
push 0x1003554
push eax
call esi
mov bl, byte [ebp + 0xc]
add esp, 0x28
test bl, bl
je 0x100f979
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100f95b
call edi
cmp eax, 2
je 0x100f95b
xor bl, bl
test bl, bl
je 0x100f979
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x100f979
xor bl, bl
xor eax, eax
xor edi, edi
test bl, bl
sete al
push edi
push 0x80
lea eax, [eax + eax + 2]
push eax
push edi
push 3
push 0x40000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100f9b8
push 2
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, esi
jmp 0x100f9ba
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0100c7ad
leave
ret 8
Function at 0x100f9ce
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1012854]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov dword [ebp - 0x410], eax
xor eax, eax
xor esi, esi
cmp edx, esi
mov ecx, 0x100
lea edi, [ebp - 0x407]
mov byte [ebp - 0x408], 0
mov dword [ebp - 0x40c], edx
rep stosd dword es:[edi], eax
je 0x100fb31
push 0x1012d00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10128ec], esi
je 0x100faa7
push ebx
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x418]
push eax
movzx eax, word [ebp - 0x41a]
mov edi, dword [sym.imp.ntdll.dll_sprintf]
push eax
movzx eax, word [ebp - 0x41c]
push eax
movzx eax, word [ebp - 0x41e]
push eax
movzx eax, word [ebp - 0x422]
push eax
lea eax, [ebp - 0x408]
push 0x1003594
push eax
call edi
mov ebx, dword [ebp + 0xc]
add esp, 0x1c
test ebx, ebx
mov esi, eax
je 0x100faa6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
je 0x100faa6
push eax
lea eax, [ebp + esi - 0x408]
push 0x1003588
push eax
call edi
add esp, 0xc
add esi, eax
pop ebx
push dword [ebp - 0x410]
mov edi, 0x3ff
push dword [ebp - 0x414]
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp + esi - 0x408]
push eax
call dword [sym.imp.ntdll.dll__vsnprintf]
add esp, 0x10
test eax, eax
jge 0x100fade
mov esi, edi
mov byte [ebp - 0xa], 0xa
mov byte [ebp - 0xb], 0x23
jmp 0x100fae2
add esi, eax
je 0x100fb3f
lea eax, [ebp + esi - 0x408]
cmp byte [eax - 1], 0xa
jne 0x100fb3f
mov byte [ebp + esi - 0x407], 0
mov dword [0x10128ec], 1
mov byte [eax - 1], 0xd
mov byte [eax], 0xa
inc esi
push 0
lea eax, [ebp - 0x428]
push eax
push esi
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x1012d00
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0100c7ad
leave
ret 0x10
and dword [0x10128ec], 0
jmp 0x100fb09
Function at 0x40bf74
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40c028
jmp 0x40c01d
cmp dword [esi + 0x10], 0x1000
jne 0x40c009
test byte [esi + 0x15], 1
jne 0x40c009
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40bfc8
cmp eax, 2
je 0x40bfc8
cmp eax, 0x10
je 0x40bfc8
cmp eax, 0x20
jne 0x40bfdd
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40bfdd
mov bl, 1
xor ebp, ebp
jmp 0x40bfee
mov eax, dword [esi]
add eax, ebp
call fcn.0040bf6c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40bfe1
test bl, bl
je 0x40c009
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40c028
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40bfa0
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100531b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016b530
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101fc0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10062e70
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10060c2f
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.100533a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1005aa50
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
push 0x40
mov dword [esp + 0x18], esi
call fcn.10063685
lea edi, [esi + 0x6c]
mov dword [edi], eax
push 0x40
call fcn.10063685
push 0x40
push 0
push dword [edi]
lea ebx, [esi + 0x70]
mov dword [ebx], eax
call fcn.10084d60
push 0x40
push 0
push dword [ebx]
call fcn.10084d60
mov ebp, dword [esp + 0x40]
add esp, 0x20
cmp ebp, 0x40
jbe 0x1005aaf1
mov eax, dword [esi + 4]
add esi, 4
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
push ebp
push dword [esp + 0x14]
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov esi, dword [edi]
mov edx, 0x40
mov ebp, dword [ebx]
mov dword [esp + 0x10], eax
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1005ab0a
mov eax, edx
dec edx
test eax, eax
jle 0x1005ab0a
movzx eax, byte [ecx]
mov byte [esi], al
inc esi
movzx eax, byte [ecx]
inc ecx
mov byte [ebp], al
inc ebp
mov eax, dword [esp + 0x10]
cmp ecx, dword [eax + 4]
jne 0x1005aad1
jmp 0x1005ab0a
mov esi, dword [esp + 0x10]
push ebp
push esi
push dword [edi]
call fcn.100847e0
push ebp
push esi
push dword [ebx]
call fcn.100847e0
add esp, 0x18
mov eax, dword [edi]
xor ecx, ecx
mov edx, dword [ebx]
lea ebp, [eax + 0x3f]
lea esi, [edx + 0x3f]
cmp edx, ebp
ja 0x1005ab1e
cmp esi, eax
jae 0x1005ab40
cmp edx, edi
ja 0x1005ab26
cmp esi, edi
jae 0x1005ab40
cmp edx, ebx
ja 0x1005ab2e
cmp esi, ebx
jae 0x1005ab40
cmp eax, edi
ja 0x1005ab36
cmp ebp, edi
jae 0x1005ab40
cmp eax, ebx
ja 0x1005ab65
cmp ebp, ebx
jb 0x1005ab65
nop
mov eax, dword [edi]
xor byte [eax + ecx], 0x36
mov eax, dword [ebx]
xor byte [eax + ecx], 0x5c
inc ecx
cmp ecx, 0x40
jl 0x1005ab40
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
movups xmm0, xmmword [eax]
mov ecx, dword [esp + 0x14]
movaps xmm2, xmmword [0x101f1400]
movaps xmm3, xmmword [0x101f1410]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [edx]
movaps xmm1, xmm2
xorps xmm0, xmm3
movups xmmword [edx], xmm0
movups xmm0, xmmword [eax + 0x10]
xorps xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [edx + 0x10]
movaps xmm1, xmm3
xorps xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
movups xmm0, xmmword [eax + 0x20]
xorps xmm0, xmm2
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [edx + 0x20]
xorps xmm0, xmm3
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
xorps xmm2, xmm0
movups xmmword [eax + 0x30], xmm2
movups xmm0, xmmword [edx + 0x30]
xorps xmm3, xmm0
movups xmmword [edx + 0x30], xmm3
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x1005c170
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x1005c1a2
jl 0x1005c195
test ecx, ecx
jne 0x1005c1a2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1005c262
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10052e70
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1005c20e
jg 0x1005c1cd
test esi, esi
je 0x1005c20e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x1005c1e5
mov eax, dword [esp + 0x10]
jl 0x1005c1df
cmp eax, esi
jae 0x1005c1e5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.100847e0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1005c22f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1005c24b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x1005c1b4
jl 0x1005c24b
test ecx, ecx
jne 0x1005c1b4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x1005c2a6
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1005c2a6
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.100847e0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x1005c317
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1005c2cc
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x1005c302
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.10093ac2
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1005c317
cmp edi, eax
ja 0x1005c2e0
test edi, edi
je 0x1005c317
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.10093ac2
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1005cd80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016c7a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101fc0c0]
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 edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
lea ebx, [edx + 4]
cmp dword [ebp + 0xc], 1
lea esi, [edx + 8]
mov dword [ebp - 0x14], eax
lea edi, [edx + 0x14]
sete al
mov dword [edx + 0xc], ebx
mov byte [edx + 0x48], al
lea ecx, [edx + 0x18]
mov eax, dword [ebp - 0x20]
mov byte [edx + 0x3d], 0
mov dword [edx + 0x10], esi
mov dword [edx + 0x1c], edi
mov dword [edx + 0x20], ecx
add edx, 0x24
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x18]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp - 0x14]
mov dword [edi], 0
mov dword [edx], 0
test ebx, ebx
je 0x1005ce69
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
push ebx
call fcn.10099ba9
mov edx, dword [ebp - 0x20]
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
jmp 0x1005ce6c
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4c], ebx
mov eax, dword [0x10203650]
mov ecx, dword [0x10203654]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
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.10062e62
mov esp, ebp
pop ebp
ret 8
Function at 0x10076860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016dae3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.10079760
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::JSON::ParseHandler.0
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10062e70
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
xorps xmm0, xmm0
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.10065ff0
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x78], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10077cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016dd0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0
push 0x70
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.10062e70
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
mov dword [ebp - 4], 0
call fcn.10077920
lea esi, [edi + 8]
mov dword [ebp - 4], 1
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10062e70
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
movzx eax, byte [ebx + 0x1c]
mov byte [edi + 0x1c], al
movzx eax, byte [ebx + 0x1d]
mov byte [edi + 0x1d], al
cmp byte [ebx + 0x30], 0
mov byte [ebp - 4], 2
jne 0x10077dd8
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10077dce
push esi
call fcn.10054600
add esp, 4
lock inc dword [eax]
lea eax, [ebp - 0x18]
mov ebx, 1
jmp 0x10077de9
push 0
lea ecx, [ebp - 0x28]
call fcn.10077c60
mov ebx, 2
mov esi, dword [eax]
mov dword [edi + 0x20], esi
mov ecx, dword [eax + 4]
mov dword [edi + 0x24], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 4], 4
test bl, 2
je 0x10077e16
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.10077f30
test bl, 1
je 0x10077e23
lea ecx, [ebp - 0x18]
call fcn.10077f30
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 6
mov al, byte [ecx + 0x30]
mov byte [edi + 0x30], al
lea eax, [ecx + 8]
push eax
mov ecx, edi
call fcn.10078990
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10077e60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016dd2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x70
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10062e70
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
lea esi, [edi + 8]
mov dword [ebp - 4], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10062e70
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov al, cl
and al, 1
shr ecx, 1
mov byte [edi + 0x1c], al
and cl, 1
mov byte [edi + 0x1d], cl
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007f780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e445
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
xorps xmm0, xmm0
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x34], 0
push esi
movups xmmword [ebp - 0x44], xmm0
mov esi, ecx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [esi + 4]
push eax
call fcn.1006a550
mov ecx, dword [esi + 0x24]
lea edx, [ebp - 0x14]
add esp, 8
lea eax, [ebp - 0x44]
or ecx, 0x20019
cmp dword [ebp - 0x30], 7
cmova eax, dword [ebp - 0x44]
push edx
push ecx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x1007f887
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
call fcn.1006a550
add esp, 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova eax, dword [ebp - 0x2c]
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
sete byte [ebp - 0xd]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x1007f887
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f87d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f8d0
push ecx
push edx
call fcn.100632cf
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x1007f8bd
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f8b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f8d5
push ecx
push edx
call fcn.100632cf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.1008eccf
call fcn.1008eccf
int3