joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1d3be60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ecx + 0x30]
push eax
push str._s_downloads
lea eax, [ebp - 0x44]
push 0x40
push eax
call dword [sym.imp.vstdlib_d.dll_V_snprintf]
add esp, 0x10
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], eax
mov word [ebp - 0x4c], 0
mov byte [ebp - 0x4a], 0
mov dword [ebp - 0x48], 4
call fcn.01d0d980
push eax
call fcn.01e0d63f
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.01d0da20
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret

Function at 0x1d3c440
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, edx
or eax, 0xffffffff
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0x1d3c468
movzx edx, byte [esi + ebx]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1e40238]
cmp esi, edi
jl 0x1d3c450
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x1d3ecd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x1d3ed88
push 0x20
lea eax, [ebp - 0x24]
push eax
push str.SteamAppId
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, 0x1e
jae 0x1d3ed13
lea eax, [ebp - 0x24]
push eax
call fcn.01e0d24c
add esp, 4
test eax, eax
jne 0x1d3ed88
call fcn.01d3ec40
test eax, eax
jne 0x1d3ed88
push 0x104
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.01e05050
mov eax, dword [0x207ba58]
add esp, 0xc
test al, 1
jne 0x1d3ed4e
or eax, 1
mov dword [0x207ba58], eax
mov eax, vtable.CRegistryManager.0
mov dword [0x207ba5c], eax
jmp 0x1d3ed53
mov eax, dword [0x207ba5c]
mov eax, dword [eax]
lea ecx, [ebp - 0x128]
push 0x104
push ecx
push str.InstallPath
push str.SoftwareValveSteam
push 0
mov ecx, 0x207ba5c
call eax
test al, al
je 0x1d3ed88
mov edx, str.Steam.exe
lea ecx, [ebp - 0x128]
call fcn.01d3f2c0
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret

Function at 0x1d3ee50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push str.SoftwareValveSteamApps10
push reloc.WS2_32.dll_accept
xor bl, bl
call esi
test eax, eax
je 0x1d3ee9d
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push 0x1e4767c
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x1d3ef4f
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], 4
push eax
push 0
push 0
push 0x1e476a0
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1d3ef43
push dword [ebp - 0x214]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1d3ef43
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
movzx ebx, bl
mov ecx, 1
push esi
cmovne ebx, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
Function at 0x1d3f010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x214]
xor bl, bl
push eax
push 0x20019
push 0
push str.SoftwareValveSteamActiveProcess
push reloc.WS2_32.dll_accept
mov byte [0x2065040], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1d3f145
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 4
push eax
push 0
push 0
push 0x1e476c8
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1d3f139
push esi
push dword [ebp - 0x218]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1d3f138
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
movzx ebx, bl
mov ecx, 1
push esi
cmovne ebx, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x1d3f138
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
push 0x2065040
push 0
push 0
push str.SteamClientDll
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1d3f138
cmp dword [ebp - 0x210], 1
jb 0x1d3f131
mov ecx, 0x2065040
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1d3f117
sub ecx, edx
cmp ecx, 1
jb 0x1d3f131
mov ecx, 0x2065040
call fcn.01d1a770
jmp 0x1d3f138
mov byte [0x2065040], 0
pop esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, 0x2065040
xor ecx, ebp
pop ebx
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
Function at 0x1d3fed0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp byte [0x205ae70], 0
push esi
push edi
je 0x1d3ffcb
cmp dword [0x1ea8764], 0
mov ecx, 0x1e95510
jne 0x1d3fef8
mov ecx, 0x1e9551c
call fcn.01d3e1f0
mov edi, eax
test edi, edi
je 0x1d40025
push str.Looking_up_breakpad_interfaces_from_steamclient_n
push 2
call fcn.01e14650
add esp, 4
push eax
call fcn.01d13fd0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 8
push 0x1e479e0
push edi
call esi
push 0x1e47a1c
push edi
mov dword [0x1ea87d0], eax
call esi
push 0x1e47a44
push edi
mov dword [0x205fb98], eax
call esi
push 0x1e47a60
push edi
mov dword [0x205fb9c], eax
call esi
push 0x1e47a78
push edi
mov dword [0x205fb94], eax
call esi
mov esi, eax
test esi, esi
je 0x1d40025
push str.Calling_BreakpadMiniDumpSystemInit_n
push 2
call fcn.01e14650
add esp, 4
push eax
call fcn.01d13fd0
push dword [0x205aecc]
movzx eax, byte [0x205ae71]
push dword [0x205aec8]
push eax
push 0x205aeb8
push 0x205ae72
push dword [0x205aeb4]
call esi
mov ecx, dword [0x205aed0]
add esp, 0x20
mov edx, dword [0x205aed4]
mov eax, ecx
or eax, edx
je 0x1d40025
push edx
push ecx
call fcn.01d3fce0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x1e95528
call fcn.01d3e1f0
cmp dword [0x1e9552c], 0
je 0x1d40025
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SteamWriteMiniDumpUsingExceptionInfoWithBuildId
push dword [0x1e95514]
mov dword [0x205fb9c], 0
call esi
push str.SteamWriteMiniDumpSetComment
push dword [0x1e95514]
mov dword [0x1ea87d0], eax
call esi
push str.SteamMiniDumpInit
push dword [0x1e95514]
mov dword [0x205fb98], eax
call esi
test eax, eax
je 0x1d40025
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1d41380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x90]
push eax
test byte [esi + 0x1f], 1
jne 0x1d413ad
mov ecx, esi
call fcn.01d1edf0
jmp 0x1d413c5
push 0x1e41648
push esi
mov dword [ebp - 0x90], 0
call fcn.01d1df90
add esp, 0xc
cmp dword [ebp - 0x90], 1
jge 0x1d413e1
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret 4
push 0x17
lea eax, [ebp - 0x1c]
mov dword [0x1ea862c], 1
xorps xmm0, xmm0
mov byte [ebp - 0x1c], 0
push eax
mov ecx, esi
mov dword [ebp - 0xb], 0
movups xmmword [ebp - 0x1b], xmm0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
call fcn.01d1d9e0
cmp byte [0x1e95540], 0
jne 0x1d4147d
movaps xmm0, xmmword [0x1e7e520]
mov eax, 8
movups xmmword [ebp - 0x8c], xmm0
movaps xmm0, xmmword [0x1e7e530]
paddd xmm0, xmmword [0x1e7e520]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp + eax*4 - 0x8c], eax
inc eax
cmp eax, 0xc
jl 0x1d41443
push edi
mov edi, 0xc
lea edx, [ebp - 0x8c]
xor esi, esi
test edi, edi
je 0x1d41475
mov ecx, dword [edx]
lea edx, [edx + 4]
inc esi
lea eax, [ecx - 0x4c]
xor byte [ecx + 0x1e95534], al
cmp esi, edi
jne 0x1d41462
mov byte [0x1e95540], 1
pop edi
lea eax, [ebp - 0x1c]
push eax
push 0x1e95534
lea eax, [ebp - 0x5c]
push 0x40
push eax
call fcn.01d14b30
lea eax, [ebp - 0x5c]
push eax
call dword [0x1ea8098]
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov al, 1
pop esi
call fcn.01e029b1
mov esp, ebp
pop ebp
ret 4
Function at 0x1d41b40
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x9c
lea eax, [ebp - 0xa0]
mov esi, ecx
push 0
push eax
call fcn.01e05050
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xc4]
movups xmmword [ebp - 0xc4], xmm0
push eax
movups xmmword [ebp - 0xb4], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0xa0]
push eax
call edi
test eax, eax
jne 0x1d41bd4
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x94
push eax
call edi
test eax, eax
jne 0x1d41bd4
mov byte [esi + 0x2921], al
jmp case.default.0x1d41cab
mov eax, dword [ebp - 0x90]
sub eax, 1
je 0x1d41d31
sub eax, 1
jne case.default.0x1d41cab
mov eax, dword [ebp - 0x9c]
cmp eax, 5
jne 0x1d41c97
mov eax, dword [ebp - 0x98]
sub eax, 0
je 0x1d41c8b
sub eax, 1
je 0x1d41c7f
sub eax, 1
jne case.default.0x1d41cab
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call edi
test eax, eax
je 0x1d41c32
mov byte [esi + 0x2921], 0xa
jmp case.default.0x1d41cab
test dword [ebp - 8], 0x8000
je 0x1d41c47
mov byte [esi + 0x2921], 9
jmp case.default.0x1d41cab
push 0x59
call edi
test eax, eax
jne 0x1d41c5b
mov byte [esi + 0x2921], 8
jmp case.default.0x1d41cab
cmp byte [ebp - 6], 1
jne case.default.0x1d41cab
cmp word [ebp - 0xc4], 9
jne case.default.0x1d41cab
mov byte [esi + 0x2921], 7
jmp case.default.0x1d41cab
mov byte [esi + 0x2921], 6
jmp case.default.0x1d41cab
mov byte [esi + 0x2921], 5
jmp case.default.0x1d41cab
cmp eax, 6
jne 0x1d41cfc
mov eax, dword [ebp - 0x98]
cmp eax, 3
ja case.default.0x1d41cab
jmp dword [eax*4 + 0x1d41dac]
cmp byte [ebp - 6], 1
setne al
add al, 0xb
mov byte [esi + 0x2921], al
jmp case.default.0x1d41cab
cmp byte [ebp - 6], 1
sete al
add al, 0xd
mov byte [esi + 0x2921], al
jmp case.default.0x1d41cab
cmp byte [ebp - 6], 1
sete al
add al, 0xf
mov byte [esi + 0x2921], al
jmp case.default.0x1d41cab
cmp byte [ebp - 6], 1
sete al
add al, 0x11
mov byte [esi + 0x2921], al
jmp case.default.0x1d41cab
cmp eax, 0xa
jne 0x1d41d1b
cmp dword [ebp - 0x98], 0
jne case.default.0x1d41cab
cmp byte [ebp - 6], 1
sete al
add al, 0x13
mov byte [esi + 0x2921], al
jmp case.default.0x1d41cab
cmp eax, 4
jne case.default.0x1d41cab
cmp dword [ebp - 0x98], 0
jne case.default.0x1d41cab
mov byte [esi + 0x2921], al
jmp case.default.0x1d41cab
cmp dword [ebp - 0x9c], 4
jne case.default.0x1d41cab
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x1d41d60
cmp eax, 0xa
je 0x1d41d57
cmp eax, 0x5a
jne case.default.0x1d41cab
mov byte [esi + 0x2921], 3
jmp case.default.0x1d41cab
mov byte [esi + 0x2921], 2
jmp case.default.0x1d41cab
mov byte [esi + 0x2921], 1
call dword [sym.imp.tier0_d.dll_Is64BitOS]
mov ecx, dword [ebp - 4]
mov byte [esi + 0x2920], al
xor ecx, ebp
mov eax, dword [ebp - 0x94]
mov dword [esi + 0x2928], eax
movzx eax, word [ebp - 0x9c]
mov word [esi + 0x2922], ax
movzx eax, word [ebp - 0x98]
pop edi
mov word [esi + 0x2924], ax
pop esi
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
Function at 0x1d47000
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e31948
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1e94008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CClientAudio.0
mov dword [esi + 4], eax
mov byte [esi + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x2c], 8
mov dword [ebp - 4], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x4c], 0xffffffff
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x50], 8
lea eax, [esi + 0x60]
mov dword [ebp + 8], eax
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
xor ecx, ecx
mov dword [eax + 0x1c], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x20], method.CImportImageDialog.virtual_184
mov dword [eax + 0x24], fcn.01d1e270
xorps xmm0, xmm0
mov dword [esi + 0x18], 0xffffffff
push 0xc
movsd qword [esi + 0x10], xmm0
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x40], ecx
call fcn.01e0626e
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x1d47151
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cmp dword [0x2065154], 0
jg 0x1d4714c
push 0x2065154
call dword [sym.imp.tier0_d.dll_ThreadImplOneTimeInit]
add esp, 4
test al, al
je 0x1d4714c
push ecx
mov dword [0x2065154], 1
call fcn.01d17960
mov dword [esi + 0x58], edi
jmp 0x1d47158
mov dword [esi + 0x58], 0
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 4

Function at 0x1d483c0
Capabilities:
Create raw socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x1e94008]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 8]
push esi
push edi
push 0x9c
push 0
push eax
mov edi, edx
call fcn.01e05050
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
mov eax, 1
mov dword [esp + 0x10], 0x9c
mov dword [esp + 0x14], 6
mov dword [esp + 0x18], 1
push 3
push 2
push 0
push 0
mov word [esp + 0xb4], ax
call esi
push 3
push 1
push edx
push eax
call esi
push 3
push 0x20
push edx
push eax
call esi
push edx
push eax
push 0x23
lea eax, [esp + 0x1c]
mov esi, 1
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
mov ecx, 0x81
cmovne esi, ecx
push esi
push 0
push 0
push 0x11
push edi
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x1d4848b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xb4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
Function at 0x1d48520
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test edx, edx
je 0x1d4856b
push 0x200
lea eax, [ebp - 0x404]
push eax
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1d48574
mov eax, 0x57
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebp - 0x404], ax
mov eax, dword [ebp + 8]
mov ecx, 0x1e70c8e
test eax, eax
mov dword [ebp - 0x414], 0
push edi
cmovne ecx, eax
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x418], ecx
lea ecx, [ebp - 0x418]
mov word [ebp - 0x40c], 0
mov byte [ebp - 0x40a], 0
mov dword [ebp - 0x408], 4
call fcn.01d0d980
mov edx, eax
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d485c6
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x418]
mov esi, eax
call fcn.01d0da20
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
Function at 0x1d48610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x410], eax
push ebx
mov ebx, ecx
test edx, edx
je 0x1d48664
push 0x200
lea eax, [ebp - 0x404]
push eax
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1d4866d
mov eax, 0x57
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x408], 0
push eax
push 0
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], 0
push eax
push 0
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1d487c5
mov eax, dword [ebp - 0x408]
cmp eax, 1
je 0x1d486d2
cmp eax, 7
je 0x1d486d2
cmp eax, 2
je 0x1d486d2
mov eax, 0xd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x40c]
push esi
push edi
and eax, 0xfffffffe
cmp eax, 0xbebc200
jae 0x1d487be
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 2
lea eax, [edi + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01e0626e
add esp, 4
mov esi, eax
lea eax, [ebp - 0x40c]
push eax
push esi
lea eax, [ebp - 0x408]
push eax
push 0
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov word [edi + esi], cx
mov ecx, dword [ebp - 0x408]
cmp ecx, 1
je 0x1d48743
cmp ecx, 7
je 0x1d48743
cmp ecx, 2
jne 0x1d4875b
cmp eax, 0xea
jne 0x1d4877a
push esi
call fcn.01e06279
add esp, 4
lea eax, [edi + 0xfa0]
jmp 0x1d486dd
push esi
call fcn.01e06279
add esp, 4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
push 0xa
push edi
push dword [ebp - 0x410]
push esi
call dword [sym.imp.vstdlib_d.dll_V_UTF16ToUTF8]
push esi
mov ebx, eax
call fcn.01e06279
add esp, 0x14
test ebx, ebx
jne 0x1d487a1
cmp word [esi], bx
jne 0x1d48764
xor eax, eax
mov ecx, 0xea
cmp ebx, edi
pop edi
pop esi
cmovg eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xe
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
Function at 0x1d48930
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
push esi
mov esi, 0xf003f
sub eax, 3
je 0x1d4899b
sub eax, 1
je 0x1d48994
cmp ecx, 4
jbe 0x1d489a0
xor eax, eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1d489bc
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1d489bc
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0xf013f
jmp 0x1d489a0
mov esi, 0xf023f
jmp dword [ecx*4 + 0x1d489c4]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1d489e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
push esi
mov esi, 0x20019
sub eax, 3
je 0x1d48a62
sub eax, 1
je 0x1d48a5b
cmp ecx, 4
jbe 0x1d48a67
xor eax, eax
lea ecx, [ebp - 8]
push ecx
push esi
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1d48a86
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x1d48a47
cmp dword [ebp - 4], 4
mov eax, 1
cmovne esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1d48a86
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0x20119
jmp 0x1d48a67
mov esi, 0x20219
jmp dword [ecx*4 + 0x1d48a90]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1d48ab0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
push esi
mov esi, 0xf003f
sub eax, 3
je 0x1d48b1a
sub eax, 1
je 0x1d48b13
cmp ecx, 4
jbe 0x1d48b1f
xor eax, eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1d48b3b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 3
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1d48b3b
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0xf013f
jmp 0x1d48b1f
mov esi, 0xf023f
jmp dword [ecx*4 + 0x1d48b44]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1d48b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
push esi
mov esi, 0x20019
sub eax, 3
je 0x1d48bda
sub eax, 1
je 0x1d48bd3
cmp ecx, 4
jbe 0x1d48bdf
xor eax, eax
lea ecx, [ebp - 8]
push ecx
push esi
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1d48bfb
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push dword [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x1d48bbf
cmp dword [ebp - 4], 3
mov eax, 1
cmovne esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1d48bfb
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0x20119
jmp 0x1d48bdf
mov esi, 0x20219
jmp dword [ecx*4 + 0x1d48c04]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1d48c20
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
push esi
mov esi, 0xf003f
sub eax, 3
je 0x1d48c81
sub eax, 1
je 0x1d48c7a
cmp ecx, 4
jbe 0x1d48c86
xor eax, eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1d48ca2
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1d48ca2
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0xf013f
jmp 0x1d48c86
mov esi, 0xf023f
jmp dword [ecx*4 + 0x1d48cac]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret