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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
push 0xf003f
xor esi, esi
push esi
lea ecx, [eax + 0x24]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005eb0
push eax
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x34]
push edx
mov edx, dword [ebp - 8]
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 4]
push ecx
push esi
push esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10005d31
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0x20]
lea edi, [edi + edi + 6]
test eax, eax
je 0x10005eb0
cmp edi, 1
jbe 0x10005eb0
mov ebx, edi
imul ebx, eax
add ebx, 0xe
push ebx
push 0x40
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x10005d26
push ebx
push 0
push esi
call fcn.1000d240
mov cl, byte [ebp - 0x38]
mov byte [esi], 0
mov eax, dword [ebp - 4]
mov dword [esi + 1], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 5], edi
mov dword [esi + 9], eax
push edi
mov byte [esi + 0xd], cl
call fcn.10006b5f
xor ebx, ebx
add esp, 0x10
mov esi, eax
cmp dword [ebp - 4], ebx
jbe 0x10005e8b
mov edx, dword [ebp - 0x1c]
add edx, 0xd
mov dword [ebp - 0x10], edx
lea esp, [esp]
push edi
push 0
push esi
call fcn.1000d240
mov ecx, dword [ebp - 8]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push ecx
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [ebp - 0xc]
push edx
xor eax, eax
push 0x20019
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005e01
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10005e37
push 0x10016514
call fcn.10007882
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x10005e4b
mov dword [ebp - 0x14], 1
push 0x1001651c
jmp 0x10005e50
push 0x10016520
call fcn.10007882
mov eax, dword [ebp - 0xc]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [eax], ecx
lea ecx, [edx + edx]
push ecx
add eax, 4
push esi
push eax
call fcn.1000d2c0
add dword [ebp - 0x10], edi
inc ebx
add esp, 0xc
cmp ebx, dword [ebp - 4]
jb 0x10005db0
push esi
call fcn.1000761b
mov edx, dword [ebp - 8]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
push 0x42
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10005fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
lea ecx, [ebp - 0x28]
push ecx
push 0xf003f
xor esi, esi
push esi
lea edx, [eax + 0x24]
mov eax, dword [eax + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10006189
push eax
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x28]
push esi
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x30]
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10006028
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10006189
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10006189
push ebx
push edi
mov edi, dword [ebp - 0x24]
add edi, 0x64
lea eax, [eax + eax + 2]
mov dword [ebp - 8], edi
mov dword [ebp - 0x38], edi
lea edi, [edi + eax + 1]
imul edi, ecx
add edi, 0x16
push edi
push 0x40
mov dword [ebp - 4], eax
mov esi, ecx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
mov ebx, eax
push 0
push ebx
call fcn.1000d240
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov byte [ebx], 1
mov dword [ebx + 1], esi
mov dword [ebx + 5], ecx
mov dword [ebx + 9], edx
mov eax, dword [ebp - 8]
push eax
call fcn.100071e3
mov ecx, dword [ebp - 4]
push ecx
mov dword [ebp - 0x10], eax
call fcn.100071e3
add esp, 0x14
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
lea esi, [ebx + 0xd]
mov dword [ebp - 0x18], 0
jbe 0x10006166
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
push edx
push 0
push eax
call fcn.1000d240
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
push ecx
push 0
push edx
call fcn.1000d240
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
add esp, 0x18
inc eax
add ecx, 0x64
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
push 0
lea edx, [ebp - 8]
push edx
mov edx, dword [ebp - 0x28]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp dword [ebp - 0xc], 1
jne 0x10006115
mov byte [esi], 0
cmp dword [ebp - 0xc], 4
jne 0x1000611e
mov byte [esi], 1
cmp dword [ebp - 0xc], 3
jne 0x10006127
mov byte [esi], 2
cmp dword [ebp - 0xc], 2
jne 0x10006130
mov byte [esi], 3
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
inc esi
push esi
call fcn.1000d2c0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
add esi, dword [ebp - 0x38]
push edx
push eax
push esi
call fcn.1000d2c0
mov eax, dword [ebp - 0x18]
add esi, dword [ebp - 0x34]
inc eax
add esp, 0x18
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x1c]
jb 0x100060b7
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.100071a9
mov edx, dword [ebp - 0x14]
push edx
call fcn.100071a9
add esp, 8
push 0x42
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
pop edi
mov esi, eax
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x100066a7
cmp dword [0x10019574], eax
je 0x100066a7
cmp dword [0x1001a2b8], eax
jne 0x100066a7
push eax
push eax
push eax
push 0x100064f0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1001a2b8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x100066b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.192.168.50.142
call fcn.100073c8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add esp, 0xc
push 0
push 0
push 0
push 0x100064f0
push 0
push 0
mov dword [0x1001956c], ecx
mov dword [0x10019570], edx
mov dword [0x10019574], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1001a2b8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
pop ebp
ret

Function at 0x10006720
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100064f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
ret

Function at 0x10006b75
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100181b0]
jne 0x10006b7f
repz ret
jmp fcn.10007c08
Function at 0x1000cf2e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100181b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10009a5e
and dword [ebp - 0x14], 0
cmp dword [0x1001a28c], 0
mov dword [ebp - 0x18], eax
jne 0x1000cfe1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000d089
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000d089
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001a28c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001a290], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001a294], eax
call edi
push eax
call esi
mov dword [0x1001a29c], eax
test eax, eax
je 0x1000cfe1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001a298], eax
mov eax, dword [0x1001a298]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000d03a
cmp dword [0x1001a29c], ecx
je 0x1000d03a
push eax
call esi
push dword [0x1001a29c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000d03a
test ebx, ebx
je 0x1000d03a
call edi
test eax, eax
je 0x1000d031
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000d031
test byte [ebp - 8], 1
jne 0x1000d03a
or dword [ebp + 0x10], 0x200000
jmp 0x1000d06d
mov eax, dword [0x1001a290]
cmp eax, dword [ebp - 0x18]
je 0x1000d06d
push eax
call esi
test eax, eax
je 0x1000d06d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000d06d
mov eax, dword [0x1001a294]
cmp eax, dword [ebp - 0x18]
je 0x1000d06d
push eax
call esi
test eax, eax
je 0x1000d06d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001a28c]
call esi
test eax, eax
je 0x1000d089
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000d08b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006b75
leave
ret
Function at 0x10049020
Capabilities:
Encode data using xor

Disassembly:
lodsd eax, dword [esi]
mov al, 0xeb
and ch, ch
aam 0xcc
mov dl, 0x4e
fadd st(2), st(0)
xor byte [0x2146ed38], 0xe9
cld
imul ebp, dword [ecx - 0x4aa9dbf3], 0xf63d58f0
mov ch, 0xf0
pop eax
cmp eax, 0x6af2d4f6
std
mov ch, 0xf0
pop eax
cmp eax, 0x6af2d4f6
std
adc eax, dword ds:[edi + 0x69e4f497]
push ds
fisub dword [eax - 0x2a]
adc dh, dh
pop ecx
jle 0x10049008
mov dh, 0x90
div byte [ebx + 5]
lodsb al, byte [esi]
mov cl, 4
jecxz 0x10049007
mov dl, 0x5b
daa
xchg edx, eax
xor ah, byte es:[esi + 0x33ad6dfe]
invalid

Function at 0x105e3058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x105e31a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105e307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105e306a
add dl, dl
jne 0x105e3089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105e30dc
xor eax, eax
add dl, dl
jne 0x105e3096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105e317d
add dl, dl
jne 0x105e30a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e30b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e30bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e30c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105e30d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105e3075
mov eax, 1
add dl, dl
jne 0x105e30ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e30f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105e30e1
sub eax, ebx
mov ebx, 1
jne 0x105e3128
mov ecx, 1
add dl, dl
jne 0x105e310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105e3119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105e3105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105e3075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105e313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105e314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105e3136
cmp eax, 0x7d00
jae 0x105e316d
cmp eax, 0x500
jb 0x105e3168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105e3075
cmp eax, 0x7f
ja 0x105e3170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105e3075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105e319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x105e3075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x415100
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40e015
lea edi, [esi - 0xd015]
push edi
or ebp, 0xffffffff
jmp 0x415122
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415118
mov eax, 1
add ebx, ebx
jne 0x41513b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415130
jne 0x41514c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415130
xor ecx, ecx
sub eax, 3
jb 0x415160
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4151d2
mov ebp, eax
add ebx, ebx
jne 0x41516b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415178
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41519c
inc ecx
add ebx, ebx
jne 0x415188
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41517d
jne 0x415199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41517d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4151bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4151ad
jmp 0x41511e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4151bc
add edi, ecx
jmp 0x41511e
pop esi
mov edi, esi
mov ecx, 0x266
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4151da
cmp byte [edi], 2
jne 0x4151da
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 eax, ebx
loop 0x4151df
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x41524e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41520c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15068]
or eax, eax
je 0x415248
mov dword [ebx], eax
add ebx, 4
jmp 0x415229
call dword [esi + 0x1506c]
popal
jmp 0x4033eb
Function at 0x100087e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10008839
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10008839
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000882a
cmp esi, edx
jae 0x10008839
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10008818
cmp esi, edx
jae 0x10008839
cmp word [esi], 0
je 0x10008839
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1000afc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0908
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x100e6a38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1003b163
mov edi, eax
add esp, 4
test edi, edi
je 0x1000b063
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1002f2a1
add esp, 4
mov dword [edi + 4], eax
jmp 0x1000b065
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.10004860
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx edi, ax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x1000b0c5
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x1000b0c5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov word [esi + 0x40], di
jne 0x1000b0e9
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1000b10b
cmp byte [ebp + 0xc], 0
je 0x1000b0f8
push esi
call fcn.1002f7a2
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x1000b117
mov esi, str.ios_base::badbit_set
jmp 0x1000b127
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.1000b150
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.10005710
push 0x100d82f0
lea eax, [ebp - 0x30]
push eax
call fcn.10080e97
int3
Function at 0x1000f7d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1092
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100e6a38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x424], 0x104
call fcn.10081db0
add esp, 0xc
mov dword [ebp - 0x428], 1
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push str.local_m2
push str.SOFTWAREComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000f8ae
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f890
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000a100
cmp dword [esi + 0x10], 0
jne 0x1000f92a
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10081db0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.10040080
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f8e4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000a100
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x1000f90f
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push str.SOFTWAREComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003b512
mov esp, ebp
pop ebp
ret

Function at 0x10010f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1360
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100e6a38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1003b163
mov edi, eax
add esp, 4
test edi, edi
je 0x10011032
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1002f2a1
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10036e20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4888
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100e6a38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1003b163
mov edi, eax
add esp, 4
test edi, edi
je 0x10036ec4
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1002f2a1
add esp, 4
mov dword [edi + 4], eax
jmp 0x10036ec6
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.1003151e
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x10036f27
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x10036f27
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x10036f4a
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x10036f6d
cmp byte [ebp + 0xc], 0
je 0x10036f59
push esi
call fcn.1002f7a2
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x10036f79
mov esi, str.ios_base::badbit_set
jmp 0x10036f89
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.1000b150
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.10005710
push 0x100d82f0
lea eax, [ebp - 0x30]
push eax
call fcn.10080e97
int3