joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002d390
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c435e
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x1022b584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0
push eax
call fcn.100121a0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x300], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 1
jne 0x1002d3f0
mov edi, 1
jmp 0x1002d57a
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0x2fc], 0x168
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0x101d4fc8
push str.http
push 1
push 0
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
js 0x1002d55b
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.10010da0
push 0
push 0x101d4fd4
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 2
call fcn.1002e270
mov edx, eax
cmp edx, 0xffffffff
je 0x1002d481
mov ecx, esi
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d460
sub ecx, edi
sar ecx, 1
push ecx
push esi
push 2
push edx
lea ecx, [ebp - 0x2f8]
call fcn.1002e340
jmp 0x1002d4bc
push 1
push 0x101d4fdc
lea ecx, [ebp - 0x2f8]
call fcn.1002df80
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d4a0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2f8]
call fcn.1002df80
mov ecx, 0x44
lea eax, [ebp - 0x354]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1002d4c7
mov ecx, 0x10
lea eax, [ebp - 0x310]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1002d4e0
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x310]
push ecx
lea ecx, [ebp - 0x354]
mov dword [ebp - 0x354], 0x44
push ecx
lea eax, [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x2f8]
push 0
push eax
push 0
call fcn.1002d750
add esp, 0x14
test eax, eax
je 0x1002d550
push dword [ebp - 0x310]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x30c]
call edi
lea ecx, [ebp - 0x2f8]
call fcn.10008970
mov edi, 1
jmp 0x1002d57a
lea ecx, [ebp - 0x2f8]
call fcn.10008970
push 0xa
push 0
push 0
push esi
push 0x101d4fc8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
sbb edi, edi
neg edi
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002d598
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1002d5b7
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101799ce
mov esp, ebp
pop ebp
ret
Function at 0x1002d9f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
jne 0x1002da07
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
push 0x80
push 2
push 1
push 0x40000000
push dword [ebp + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.1002c470
mov edi, dword [ebp - 8]
test eax, eax
js 0x1002da85
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x1002da45
mov esi, dword [esi]
push 0
lea ecx, [ebp + 0xc]
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1002da63
call fcn.10009ad0
mov esi, eax
test esi, esi
js 0x1002da7e
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x1002da7c
call fcn.10009ad0
mov esi, eax
not esi
shr esi, 0x1f
jmp 0x1002da87
xor esi, esi
not esi
shr esi, 0x1f
jmp 0x1002da87
xor esi, esi
test edi, edi
je 0x1002da92
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002e790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4463
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1022b584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 0
mov dword [edi + 0x24], vtable.LdsJsBasic::WebWindowListener.0
mov dword [edi + 0x28], vtable.LdsWebView::IWebViewExecuteCallback.0
lea esi, [edi + 0x44]
mov dword [edi], vtable.CefWindow.0
mov dword [edi + 0x24], vtable.CefWindow.1.0
mov dword [edi + 0x28], vtable.CefWindow.2.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 8
mov byte [ebp - 4], 1
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.10179990
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [edi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp + 8]
mov dword [edi + 0x70], eax
mov eax, edi
mov dword [edi + 0x74], 0xffffffff
mov dword [edi + 0x78], 0xffffffff
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x7c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10033080
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c19ab
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x1022b584]
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 eax, dword [ebp + 0xc]
mov esi, 0x20106
cmp dword [ebp + 0x10], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, 0x20006
push str.advapi32.dll
cmove esi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, 1
test eax, eax
je 0x10033103
push str.RegDeleteKeyEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100330f7
push 0
push esi
push dword [ebp - 0x44]
push edi
call eax
jmp 0x10033101
push dword [ebp - 0x44]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
call fcn.100a97a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10033227
push 0xe
push 0x101d53fc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000cf00
push 3
push 0x101d1fdc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000cf00
mov byte [ebp - 4], 1
call fcn.100a97a0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x1b5
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007f90
mov esi, eax
push str.RegDeleteKeyEx:
push esi
mov byte [ebp - 4], 2
call fcn.10008dd0
add esp, 8
mov ecx, esi
push ebx
call fcn.10032da0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10008e90
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100331e5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100331db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003324a
push edx
push ecx
call fcn.101799c0
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x10033227
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003321d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003324f
push edx
push ecx
call fcn.101799c0
add esp, 8
xor eax, eax
test ebx, ebx
sete al
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.101799ce
mov esp, ebp
pop ebp
ret
call fcn.10190cce
call fcn.10190cce
int3
Function at 0x10033260
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
mov edx, 0x20106
mov eax, 0x20006
mov dword [ebp + 0x14], 0
push esi
mov esi, dword [ebp + 0x10]
cmove edx, eax
test esi, esi
je 0x100332a8
mov ecx, esi
push edi
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033290
sub ecx, edi
mov eax, 0
sar ecx, 1
pop edi
cmove esi, eax
lea eax, [ebp + 0x14]
push eax
push edx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x100332cd
push esi
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebp
ret

Function at 0x10033480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4acb
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1022b584]
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]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x220], esi
call fcn.1018d4b0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x100334ff
push dword [ebp - 0x21c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
call fcn.1000ed90
mov ecx, eax
test ecx, ecx
je 0x1003357a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x10033535
movzx eax, ax
mov ecx, esi
push eax
call fcn.1000f350
jmp 0x1003355e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033540
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000f6e0
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.101799ce
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009b10
int3
Function at 0x100336a0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4b6c
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1022b584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x220], edi
call fcn.1018d4b0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x10033752
call fcn.1000ed90
mov ecx, eax
test ecx, ecx
je 0x1003388c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, 0x101d1840
mov dword [ebp - 4], 0
mov ecx, edi
test eax, 0xffff0000
jne 0x10033741
movzx eax, ax
push eax
call fcn.1000f350
jmp 0x1003386f
push 0
push 0x101d1840
call fcn.1000f6e0
jmp 0x1003386f
call fcn.1000ed90
mov ecx, eax
test ecx, ecx
je 0x10033896
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x10033794
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.1000f350
jmp 0x100337c2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100337a0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000f6e0
mov eax, dword [esi]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 2
push dword [eax - 0xc]
push eax
call fcn.1001bd10
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp - 0x21c]
je 0x10033846
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10033846
call fcn.1000ed90
mov ecx, eax
test ecx, ecx
je 0x100338a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, 0x101d1840
mov byte [ebp - 4], 3
mov ecx, edi
test eax, 0xffff0000
jne 0x10033835
movzx eax, ax
push eax
call fcn.1000f350
add esi, 0xfffffff0
jmp 0x10033857
push 0
push 0x101d1840
call fcn.1000f6e0
add esi, 0xfffffff0
jmp 0x10033857
add esi, 0xfffffff0
push esi
call fcn.100121a0
add esp, 4
add eax, 0x10
mov dword [edi], eax
or eax, 0xffffffff
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003386f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101799ce
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009b10
push 0x80004005
call fcn.10009b10
push 0x80004005
call fcn.10009b10
int3
Function at 0x100338b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4ba8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1022b584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10033a02
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x10033a02
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x10033a02
call fcn.1000ed90
mov ecx, eax
test ecx, ecx
je 0x10033a2d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
push edi
push 0x800
push 0x800
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.10033430
push eax
push dword [ebp + 0x18]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push dword [esi - 8]
push esi
call fcn.101952b4
add esp, 8
test eax, eax
js 0x10033a37
cmp eax, dword [esi - 8]
jg 0x10033a37
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
cmp eax, 0x7ff
je 0x10033974
cmp eax, 0x7fe
jne 0x100339be
push edi
push 0x1000
push 0x1000
lea ecx, [ebp + 0xc]
call fcn.10033430
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp + 0xc]
push dword [esi - 8]
push esi
call fcn.101952b4
add esp, 8
test eax, eax
js 0x10033a37
cmp eax, dword [esi - 8]
jg 0x10033a37
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
add esi, 0xfffffff0
push esi
call fcn.100121a0
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100339ee
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov ecx, 0x101d1840
test eax, eax
cmovne ecx, eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.10010980
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009b10
push 0x80070057
call fcn.10009b10
int3
Function at 0x10033a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4bf2
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
mov eax, dword [0x1022b584]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x8a4], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x8a0], eax
lea eax, [ebp - 0x890]
push 0
mov dword [ebp - 0x8ac], edi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x89c], 0
call fcn.1018d4b0
add esp, 0xc
mov dword [ebp - 0x8a8], 1
mov dword [ebp - 0x898], 0x200000
mov dword [ebp - 0x894], 0
test esi, esi
je 0x10033b07
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033af0
sub ecx, edx
mov eax, 0
sar ecx, 1
cmove esi, eax
test ebx, ebx
mov eax, 0x101d1840
mov ecx, edi
cmovne eax, ebx
push eax
call fcn.10010980
cmp dword [ebp + 0x1c], 0
lea eax, [ebp - 0x894]
push eax
mov ecx, 0x20019
mov dword [ebp - 4], 0
mov eax, 0x20119
mov dword [ebp - 0x89c], 1
cmove eax, ecx
push eax
push 0
push dword [ebp - 0x8a0]
push dword [ebp - 0x8a4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10033bfe
lea eax, [ebp - 0x898]
push eax
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x8a8]
push eax
push 0
push esi
push dword [ebp - 0x894]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x894]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10033bfe
mov esi, dword [ebp - 0x898]
test esi, esi
je 0x10033bfe
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.1018d4b0
push 0x40
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x890]
push esi
push eax
call fcn.10171600
add esp, 0x1c
test eax, eax
je 0x10033bfe
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033be0
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000f6e0
mov eax, edi
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.101799ce
mov esp, ebp
pop ebp
ret
Function at 0x10033c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10033cd7
cmp dword [ebp + 0xc], 0
je 0x10033cd7
test edx, edx
je 0x10033cd7
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
mov dword [ebp + 8], 0
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033c70
sub ecx, ebx
lea eax, [ebp + 8]
sar ecx, 1
mov ebx, 0
push eax
cmovne ebx, edx
mov ecx, 0x20019
cmp dword [ebp + 0x18], 0
mov eax, 0x20119
cmove eax, ecx
push eax
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10033cd7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
test esi, esi
je 0x10033cda
mov eax, dword [ebp + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10033ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x1022b584]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x814], ecx
mov dword [ebp - 0x810], eax
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80c], edi
test ecx, ecx
je 0x10033dea
test eax, eax
je 0x10033dea
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.1018d4b0
add esp, 0xc
mov dword [ebp - 0x80c], 2
mov dword [ebp - 0x818], 0x200000
mov dword [ebp - 0x808], 0
test esi, esi
je 0x10033d7b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033d64
sub ecx, edx
mov eax, 0
sar ecx, 1
cmove esi, eax
cmp dword [ebp + 0x1c], 0
lea eax, [ebp - 0x808]
push eax
mov ecx, 0x20019
mov eax, 0x20119
cmove eax, ecx
push eax
push 0
push dword [ebp - 0x810]
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10033dea
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
push esi
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x808]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10033dea
lea eax, [ebp - 0x804]
jmp 0x10033df4
test ebx, ebx
mov eax, 0x101d1840
cmovne eax, ebx
push eax
mov ecx, edi
call fcn.10010980
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101799ce
mov esp, ebp
pop ebp
ret
Function at 0x10034090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4c90
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1022b584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test esi, esi
je 0x100341c3
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x100341c3
test edx, edx
je 0x100341c3
mov ecx, edx
mov dword [ebp - 0x18], 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x14], 8
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp + 0xc], 0
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10034102
sub ecx, ebx
lea eax, [ebp + 0xc]
sar ecx, 1
mov ebx, 0
push eax
cmovne ebx, edx
mov ecx, 0x20019
cmp dword [ebp + 0x1c], 0
mov eax, 0x20119
cmove eax, ecx
push eax
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100341c3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100341c3
lea ecx, [ebp - 0x10]
call fcn.10020010
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push dword [ebp - 0x20]
push 0x101d53f0
push eax
call fcn.100132f0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.100121a0
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
add esp, 0x14
add eax, 0x10
mov dword [esi], eax
call fcn.1000e5b0
lea ecx, [ebp + 0x18]
call fcn.1000e5b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.100121a0
mov edi, dword [ebp + 8]
add eax, 0x10
mov esi, dword [ebp + 0x18]
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100341fc
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret