joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c3fac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [0x1d0dadc], 0
je 0x1c3fb1d
xor esi, esi
lea edi, [ebp - 0x18]
mov dword [edi + 4], esi
mov dword [edi], esi
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push eax
push edi
call sub.ntdll.dll_RtlInitUnicodeString
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push edi
push ebx
call sub.ntdll.dll_NtSetValueKey
test eax, eax
setns bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.01c3ecf0
test al, al
jne 0x1c3fadc
xor ebx, ebx
jmp 0x1c3fb09

Function at 0x1c3fb30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [0x1d0dadc], 0
je 0x1c3fb8f
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
lea ebx, [ebp - 0x18]
mov dword [ebx + 4], edi
mov dword [ebx], edi
push eax
push ebx
call sub.ntdll.dll_RtlInitUnicodeString
mov eax, 4
lea ecx, [ebp + 0x10]
push eax
push ecx
push eax
push edi
push ebx
push esi
call sub.ntdll.dll_NtSetValueKey
test eax, eax
setns bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.01c3ecf0
test al, al
jne 0x1c3fb4c
xor ebx, ebx
jmp 0x1c3fb7b
Function at 0x1c402d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d0e0e0]
test eax, eax
jne 0x1c403b8
mov edi, 0xc
push edi
call fcn.01c928b1
add esp, 4
mov esi, eax
xor ebx, ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [0x1d0e0e0], eax
push edi
call fcn.01c928b1
add esp, 4
mov edi, eax
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [0x1d0e0e4], eax
call fcn.01c42d20
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x28]
push str.user_data_dir
call fcn.01cbdaf0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x34]
push eax
call fcn.01cbdaf0
lea ebx, [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.01c40fd0
add esp, 0xc
push edi
push esi
push dword [ebp - 0x38]
push ebx
call fcn.01c3fdc0
add esp, 0x10
mov byte [ebp - 0x38], al
cmp byte [ebx + 0xb], 0
jns 0x1c40387
push dword [ebp - 0x1c]
call fcn.01c928e1
add esp, 4
cmp byte [ebp - 0x29], 0
jns 0x1c40398
push dword [ebp - 0x34]
call fcn.01c928e1
add esp, 4
cmp byte [ebp - 0x1d], 0
jns 0x1c403a9
push dword [ebp - 0x28]
call fcn.01c928e1
add esp, 4
cmp byte [ebp - 0x38], 0
je 0x1c4045d
mov eax, dword [0x1d0e0e0]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, ecx
je 0x1c403da
cmp byte [ecx + 0xb], 0
movzx edx, byte [eax + 0xb]
js 0x1c40437
test dl, dl
jns 0x1c40417
push dword [eax + 4]
push dword [eax]
call fcn.01c3db70
mov bl, 1
test esi, esi
je 0x1c40403
mov eax, dword [0x1d0e0e4]
cmp eax, esi
je 0x1c40403
cmp byte [esi + 0xb], 0
movzx edx, byte [eax + 0xb]
js 0x1c40449
test dl, dl
jns 0x1c40427
mov ecx, esi
push dword [eax + 4]
push dword [eax]
call fcn.01c3db70
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x1c403da
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esi], xmm0
jmp 0x1c40403
test dl, dl
jns 0x1c40440
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.01c3daa0
jmp 0x1c403da
test dl, dl
jns 0x1c40452
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, esi
push edx
push eax
call fcn.01c3daa0
jmp 0x1c40403
xor ebx, ebx
jmp 0x1c40403
Function at 0x1c40940
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov esi, dword [ebp + 8]
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x216]
push 0x206
push 0xff
push edi
call fcn.01c96880
add esp, 0xc
mov word [edi - 2], 0
lea eax, [ebp - 0x218]
push 0x104
push eax
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c409d3
inc eax
cmp eax, 1
je 0x1c409d3
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x1c4099b
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x1c409ba
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.01ca7b28
add esp, 0xc
test eax, eax
je 0x1c40ab0
mov word [ebp - 0x218], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.PROGRAMFILES_X86_
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c40a37
inc eax
cmp eax, 1
je 0x1c40a37
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x1c409ff
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x1c40a1e
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.01ca7b28
add esp, 0xc
test eax, eax
je 0x1c40ad5
mov word [ebp - 0x218], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.PROGRAMW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c40a97
inc eax
cmp eax, 1
je 0x1c40a97
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x1c40a63
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x1c40a82
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.01ca7b28
add esp, 0xc
test eax, eax
je 0x1c40afa
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c40abb
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x1c40a99
mov ecx, esi
push edi
call fcn.01ccc760
cmp word [eax], 0x5c
jne 0x1c409d3
jmp 0x1c40a99
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c40ae0
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x1c40a99
mov ecx, esi
push edi
call fcn.01ccc760
cmp word [eax], 0x5c
jne 0x1c40a37
jmp 0x1c40a99
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c40b05
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x1c40a99
mov ecx, esi
push edi
call fcn.01ccc760
cmp word [eax], 0x5c
jne 0x1c40a97
jmp 0x1c40a99
Function at 0x1c40f20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea ebx, [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea esi, [ebp - 0x28]
mov ecx, esi
push str.type
call fcn.01cbdaf0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edi, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.01cbdaf0
push esi
push edi
push ebx
call fcn.01c40fd0
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x1c40f7d
push dword [ebp - 0x34]
call fcn.01c928e1
add esp, 4
cmp byte [ebp - 0x1d], 0
js 0x1c40fb5
lea esi, [ebp - 0x1c]
mov ecx, esi
call fcn.01c411d0
mov dword [0x1d0e0e8], eax
cmp byte [esi + 0xb], 0
jns 0x1c40fa3
push dword [ebp - 0x1c]
call fcn.01c928e1
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [ebp - 0x28]
call fcn.01c928e1
add esp, 4
jmp 0x1c40f83

Function at 0x1c41510
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ebp + 0xc]
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1c4161d
mov ebx, eax
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
cmp ebx, 0x7ffffff0
jae 0x1c4162a
cmp ebx, 5
jae 0x1c415e3
lea edi, [ebp - 0x1c]
mov byte [edi + 0xb], bl
mov eax, ebx
add eax, ebx
push eax
push 0
push edi
call fcn.01c96880
add esp, 0xc
mov word [edi + ebx*2], 0
cmp byte [ebp - 0x11], 0
jns 0x1c41583
mov eax, dword [ebp - 0x1c]
jmp 0x1c41586
lea eax, [ebp - 0x1c]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
mov ebx, dword [ebp + 8]
je 0x1c41611
movzx ecx, byte [ebp - 0x11]
test cl, cl
jns 0x1c415a1
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jae 0x1c41611
xor esi, esi
lea edi, [ebp - 0x1c]
mov ecx, edi
push esi
push eax
call fcn.01c71f90
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
movsd xmm0, qword [edi]
movsd qword [ebx], xmm0
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
cmp byte [ebp - 0x11], 0
js 0x1c4162f
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ebx
or eax, 7
inc eax
js 0x1c4163c
mov dword [ebp - 0x20], eax
add eax, eax
push eax
call fcn.01c928b1
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
or eax, 0x80000000
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
jmp 0x1c41562
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
jmp 0x1c415c9
mov ebx, dword [ebp + 8]
mov dword [ebx + 4], edi
mov dword [ebx], edi
mov dword [ebx + 8], edi
jmp 0x1c415cf
call fcn.01ca5f3a
push dword [ebp - 0x1c]
call fcn.01c928e1
add esp, 4
jmp 0x1c415cf
call fcn.01cbda00
int3
Function at 0x1c42460
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [ebp + 8]
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [esi + 0xb], 0
mov edi, esi
jns 0x1c42480
mov edi, dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1c424ae
test al, 0x10
jne 0x1c4252b
push edi
push str.RecursiveDirectoryCreate
push str._hs___ls_directory_conflicts_with_an_existing_file.___n
call fcn.01c42600
add esp, 0xc
xor ebx, ebx
jmp 0x1c42540
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
movzx eax, byte [esi + 0xb]
mov ecx, esi
test al, al
jns 0x1c424c8
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add eax, eax
test eax, eax
je 0x1c424e5
movzx edx, word [ecx + eax - 2]
add eax, 0xfffffffe
cmp edx, 0x5c
je 0x1c424e0
cmp edx, 0x2f
jne 0x1c424ca
cmp eax, 0xfffffffe
jne 0x1c42554
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x1c42518
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0xb7
je 0x1c425ac
push esi
push edi
push str.Failed_to_create_directory__ls__last_error_is__d_n
call fcn.01c42600
add esp, 0xc
xor ebx, ebx
cmp byte [ebp - 0x15], 0
jns 0x1c42540
push dword [ebp - 0x20]
call fcn.01c928e1
add esp, 4
jmp 0x1c42540
push edi
push str.RecursiveDirectoryCreate
push str._hs___ls_directory_exists___n
call fcn.01c42600
add esp, 0xc
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
sar eax, 1
lea edx, [ebp - 0x11]
lea ecx, [ebp - 0x2c]
push edx
push eax
push 0
push esi
call fcn.01c3d970
cmp byte [ebp - 0x15], 0
jns 0x1c42577
push dword [ebp - 0x20]
call fcn.01c928e1
add esp, 4
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x2c]
movsd qword [ecx], xmm0
push ecx
call fcn.01c42460
add esp, 4
test al, al
jne 0x1c424e5
push str.Failed_to_create_one_of_the_parent_directories
call fcn.01c42600
add esp, 4
jmp 0x1c42516
lea ecx, [ebp - 0x2c]
push edi
call fcn.01cbdaf0
lea eax, [ebp - 0x2c]
cmp byte [eax + 0xb], 0
jns 0x1c425c1
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne cl
and eax, 0x10
shr eax, 4
and al, cl
cmp byte [ebp - 0x21], 0
jns 0x1c425ed
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
call fcn.01c928e1
mov eax, dword [ebp - 0x30]
add esp, 4
test al, al
je 0x1c42507
jmp 0x1c42518
Function at 0x1c42600
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 8]
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp + 0xc]
mov dword [ebp - 0x14], edi
call fcn.01c6be20
mov ebx, 0x1d0e0ec
push edi
push 0
push esi
push 0x400
push ebx
push dword [eax + 4]
push dword [eax]
call fcn.01c9786b
add esp, 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c43290
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d0e8fc]
mov ecx, dword [0x1d0c258]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c432dd
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, 0x1d0e8f8
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1d0e8fc
call fcn.01c92957
add esp, 4
cmp dword [0x1d0e8fc], 0xffffffff
jne 0x1c432c3
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.01c96880
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.01c928b1
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x1d0e92c]
mov ecx, dword [0x1d0c258]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c43386
mov ecx, esi
push ebx
push 0x1d0e908
push edi
call fcn.01c43480
mov dword [0x1d0e8f8], esi
push 0x1d0e8fc
call fcn.01c929cd
add esp, 4
jmp 0x1c432c3
push 0x1d0e92c
call fcn.01c92957
add esp, 4
cmp dword [0x1d0e92c], 0xffffffff
jne 0x1c43360
xorps xmm0, xmm0
movups xmmword [0x1d0e918], xmm0
movups xmmword [0x1d0e908], xmm0
mov dword [0x1d0e928], 0
push 0x1d0e908
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x1d0e92c
call fcn.01c929cd
add esp, 4
jmp 0x1c43360

Function at 0x1c433e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1d0e92c]
mov ecx, dword [0x1d0c258]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c43411
movzx eax, word [0x1d0e908]
cmp eax, 9
jne 0x1c4345c
xor eax, eax
inc eax
pop ebp
ret
push 0x1d0e92c
call fcn.01c92957
add esp, 4
cmp dword [0x1d0e92c], 0xffffffff
jne 0x1c43400
xorps xmm0, xmm0
movups xmmword [0x1d0e918], xmm0
movups xmmword [0x1d0e908], xmm0
mov dword [0x1d0e928], 0
push 0x1d0e908
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x1d0e92c
call fcn.01c929cd
add esp, 4
jmp 0x1c43400
test eax, eax
je 0x1c4340f
cmp eax, 6
jne 0x1c4346c
mov eax, 2
jmp 0x1c4340f
cmp eax, 0xc
jne 0x1c43478
mov eax, 3
jmp 0x1c4340f
mov eax, 4
jmp 0x1c4340f
Function at 0x1c43af0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x1c43b2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x1c43b42
lea eax, [ebx + 1]
cmp eax, 2
jb 0x1c43b24
mov dword [esi], ebx
call fcn.01c765a0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x1c43b59
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.01c765a0
push dword [esi]
call fcn.01c79e30
add esp, 4
mov dword [esi], 0
jmp 0x1c43b15
int3
Function at 0x1c43e60
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [esp + 0x28], eax
cmp dword [ebp + 8], 0
je 0x1c44035
cmp dword [0x1d09b70], 0xe69e32f3
jne 0x1c44038
mov ecx, 0x308
mov esi, dword [ebp + 8]
add ecx, dword [esi + 0xc]
mov byte [esp + 0xf], 0xff
movzx eax, byte [esi + 2]
push eax
mov dword [esp + 8], ecx
push ecx
call fcn.01c732f0
add esp, 8
movzx ebx, ax
shl ebx, 5
lea edi, [esi + ebx]
add edi, 0x48
add esi, 0x40
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c43ffd
mov dword [esp + 8], esi
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x1c43fac
mov byte [esp + 0xf], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x1c43fa2
mov edi, dword [ebp + 8]
lea edx, [edi + 0x48]
mov ebx, dword [edx + ebx + 0xc]
bswap ecx
mov edx, ecx
xor edx, esi
cmp edx, 0x1fffff
ja 0x1c44009
mov edx, ecx
and edx, 0x1fc000
je 0x1c44009
prefetcht0 byte [ecx]
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
mov ecx, dword [edi + 0x117c]
add ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x1180]
mov dword [edi + 0x117c], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [edi + 0x1180], ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
push edi
call fcn.01c73420
push esi
push dword [0x1d0e934]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1d0c258]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x90], esi
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.01c938a3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
mov edi, dword [ebp + 8]
jmp 0x1c43f1d
lea eax, [esp + 0xf]
mov ecx, edi
push eax
push 0x4000
push dword [esp + 0xc]
push 2
mov edi, dword [ebp + 8]
push edi
call fcn.01c7cc00
test eax, eax
je 0x1c4403b
mov esi, eax
mov ecx, eax
and ecx, 0xffe00000
mov edx, eax
shr edx, 9
and edx, 0xfe0
lea eax, [edx + ecx]
movzx ecx, byte [edx + ecx + 0x101e]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
add eax, 0x1000
jmp 0x1c43f36
mov ecx, esi
call fcn.01c73f30
jmp 0x1c43ed1
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi], xmm0
mov ecx, edi
push 0
push dword [esi]
push str.first
call fcn.01cd3910
push edi
call fcn.01c30600
add esp, 4
mov ecx, ebx
call fcn.01cd3990
int3
int3
xor esi, esi
jmp 0x1c43f59
Function at 0x1c4a960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1c4a9d3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x1c4a9bd
cmp dword [ebp - 0x18], 4
jne 0x1c4a9bd
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x1c4a9bd

Function at 0x1c4a9e0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.01c93cc0
mov esi, ecx
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, 0x800
lea edi, [ebp - 0x810]
push ebx
push 0xff
push edi
call fcn.01c96880
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], ebx
push ecx
push edi
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1c4aa79
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x1c4aa7d
push edi
call fcn.01cab194
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.01c3d4f0
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x1c4aa60
cmp eax, 2
jne 0x1c4aad0
lea ebx, [ebp - 0x1010]
push 0x800
push 0xff
push ebx
call fcn.01c96880
add esp, 0xc
push 0x400
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x1c4aac9
push ebx
call fcn.01cab194
add esp, 4
mov ecx, esi
push eax
push ebx
jmp 0x1c4aa59
mov esi, 0xea
jmp 0x1c4aa60
mov esi, 0x3f4
jmp 0x1c4aa60
Function at 0x1c4be00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov ebx, ecx
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x1c4be37
mov eax, dword [0x1d0af48]
cmp eax, 0xffffffff
je 0x1c4bec4
mov ebx, 0x100000
test eax, eax
jne 0x1c4be37
mov ebx, 0x80000
push 0x10
call fcn.01c928b1
add esp, 4
mov esi, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x1d1099c]
bt ecx, eax
jb 0x1c4beb9
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x1d1899c], 1
mov dword [esi], edi
mov edi, dword [ebp + 8]
test edi, edi
setne byte [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
xor eax, eax
push eax
push 0x10000
push esi
push 0x1c4c270
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1c4bee8
test edi, edi
je 0x1c4bf46
mov dword [edi], eax
test eax, eax
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c938a3
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call fcn.01c6c110
add esp, 4
jmp 0x1c4be65
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x1d0af48
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x1c4bfb5
mov eax, dword [0x1d0af48]
jmp 0x1c4be29
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x1c4bf04
mov edi, eax
cmp eax, 0x5af
je 0x1c4bf04
cmp edi, 0xe
jne 0x1c4bf56
push ebx
call fcn.01cd8ad0
add esp, 4
test esi, esi
mov eax, dword [ebp - 0x20]
je 0x1c4bea0
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x1d1099c]
bt edx, ecx
jae 0x1c4bf35
push eax
call fcn.01c6c230
add esp, 4
push esi
call fcn.01c928e1
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x1c4bea0
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1c4bea0
mov eax, dword [0x1d1928c]
mov ecx, dword [0x1d0c258]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c4bfc4
lea ebx, [ebp - 0x1c]
push edi
push ebx
call fcn.01c53390
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c4bf8e
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push eax
push ebx
push dword [0x1d19288]
call fcn.01c7eb30
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1c4bf0d
push dword [ebp - 0x1c]
call fcn.01c928e1
jmp 0x1c4bf0a
mov dword [0x1d0af48], 0
jmp 0x1c4be32
push 0x1d1928c
call fcn.01c92957
add esp, 4
cmp dword [0x1d1928c], 0xffffffff
jne 0x1c4bf73
push 0x20
push str.create_thread_last_error
call fcn.01c57460
add esp, 8
mov dword [0x1d19288], eax
push 0x1d1928c
call fcn.01c929cd
add esp, 4
jmp 0x1c4bf73