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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x1e94008]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [0x206514c]
push ebx
mov ebx, ecx
push esi
mov esi, edx
push edi
test eax, eax
jne 0x1d48d2f
push 0x1e57180
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1d48d0c
push str.RegDeleteKeyExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x206514c], eax
jmp 0x1d48d11
mov eax, dword [0x206514c]
test eax, eax
jne 0x1d48d2f
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
or ecx, 0xf003f
push ecx
push esi
push ebx
mov dword [esp + 0x24], ecx
call eax
test eax, eax
jne 0x1d48d5e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
push eax
mov eax, edi
or eax, 0x20019
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, eax
test ecx, ecx
je 0x1d48d98
xor eax, eax
cmp ecx, 2
cmovne eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1d48da0
sub ecx, edx
test ecx, ecx
jle 0x1d48dba
cmp byte [esi + ecx - 1], 0x5c
je 0x1d48dba
mov word [esi + ecx], 0x5c
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1d48e36
nop word [eax + eax]
push 0x104
lea eax, [esp + 0x24]
push eax
push esi
call fcn.01e0d270
push edi
mov edx, esi
mov ecx, ebx
call fcn.01d48cc0
add esp, 0x10
test eax, eax
jne 0x1d48e36
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1d48df0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1d48e40
push dword [esp + 0xc]
sub ecx, edx
mov byte [ecx + esi], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push dword [esp + 0x18]
push esi
push ebx
call dword [0x206514c]
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
Function at 0x1d48e80
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, 0xf003f
mov eax, esi
push edi
sub eax, 3
je 0x1d48f1d
sub eax, 1
je 0x1d48f16
cmp esi, 4
jbe 0x1d48f22
xor eax, eax
lea edi, [ebp - 0x210]
push edi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1d48f85
push 0x1e3c62e
push dword [ebp - 0x210]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push dword [ebp - 0x210]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 2
jne 0x1d48f63
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.01e05050
add esp, 0xc
xor eax, eax
sub esi, 3
je 0x1d48f47
sub esi, 1
jne 0x1d48f4c
mov eax, 0x100
jmp 0x1d48f4c
mov ecx, 0xf013f
jmp 0x1d48f22
mov ecx, 0xf023f
jmp dword [esi*4 + 0x1d48f98]
mov eax, 0x200
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
push eax
call fcn.01d48cc0
add esp, 4
mov edi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x1d48f85
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.01e029b1
mov esp, ebp
pop ebp
ret

Function at 0x1d49040
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
push esi
mov esi, 1
sub eax, 3
je 0x1d490a0
sub eax, esi
je 0x1d49099
cmp ecx, 4
jbe 0x1d490a5
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push esi
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1d49092
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push eax
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0x101
jmp 0x1d490a5
mov esi, 0x201
jmp dword [ecx*4 + 0x1d490c4]

Function at 0x1d490e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
push esi
mov esi, 1
sub eax, 3
je 0x1d49142
sub eax, esi
je 0x1d4913b
cmp ecx, 4
jbe 0x1d49147
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push esi
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1d49134
push eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0x101
jmp 0x1d49147
mov esi, 0x201
jmp dword [ecx*4 + 0x1d49164]
Function at 0x1d49180
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
push esi
mov esi, 8
sub eax, 3
je 0x1d491ec
sub eax, 1
je 0x1d491e5
cmp ecx, 4
jbe 0x1d491f1
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push esi
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1d491de
mov eax, dword [ebp + 0x10]
push 0
push 0
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0x108
jmp 0x1d491f1
mov esi, 0x208
jmp dword [ecx*4 + 0x1d49210]

Function at 0x1d49230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
push esi
mov esi, 1
sub eax, 3
je 0x1d4929c
sub eax, esi
je 0x1d49295
cmp ecx, 4
jbe 0x1d492a1
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push esi
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1d4928e
mov eax, dword [ebp + 0x10]
push 0
push 0
push dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0x101
jmp 0x1d492a1
mov esi, 0x201
jmp dword [ecx*4 + 0x1d492c0]

Function at 0x1d492e0
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 0x1d49358
sub eax, 1
je 0x1d49351
cmp ecx, 4
jbe 0x1d4935d
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 0x1d49379
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 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 0x1d4933d
cmp dword [ebp - 4], 7
mov eax, 1
cmovne esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1d49379
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0x20119
jmp 0x1d4935d
mov esi, 0x20219
jmp dword [ecx*4 + 0x1d49380]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1d4a050
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
call dword [eax + 4]
cmp byte [esi + 0xfcc], 0
mov byte [esi + 0x3074], 0
movq xmm0, qword [ebx]
movq qword [esi + 0x3068], xmm0
mov eax, dword [ebx + 8]
mov dword [esi + 0x3070], eax
jne 0x1d4a0aa
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret 8
test edi, edi
jne 0x1d4a0b7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edi, eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.01d19ea0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [edi + 0x20]
lea eax, [edi + 0x26]
push eax
push dword [esi + 0x3064]
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
cmp eax, dword [edi + 0x20]
pop edi
cmove ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01e029b1
mov esp, ebp
pop ebp
ret 8

Function at 0x1d4a100
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
call dword [eax + 4]
mov byte [esi + 0x3074], 1
xorps xmm0, xmm0
movq qword [esi + 0x3068], xmm0
mov dword [esi + 0x3070], 0
cmp byte [esi + 0xfcc], 0
jne 0x1d4a155
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret 8
test edi, edi
jne 0x1d4a162
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edi, eax
push dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x16], ax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 2
push eax
call fcn.01d19ea0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [edi + 0x20]
lea eax, [edi + 0x26]
push eax
push dword [esi + 0x3064]
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
cmp eax, dword [edi + 0x20]
pop edi
cmove ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01e029b1
mov esp, ebp
pop ebp
ret 8
Function at 0x1d4a5c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x203c
call fcn.01e27940
mov eax, dword [0x1e94008]
xor eax, esp
mov dword [esp + 0x2038], eax
push ebx
push esi
push edi
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x10
push eax
lea eax, [esp + 0x34]
mov ebx, ecx
push eax
push 0
push 0x2000
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x3064]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0xffffffff
je 0x1d4a65d
cmp edi, 0x2000
jge 0x1d4a7da
cmp edi, 4
jl 0x1d4a7da
call fcn.01d495b0
call dword [sym.imp.tier0_d.dll_Plat_FloatTime]
mov eax, dword [esp + 0x40]
fstp qword [esp + 0x28]
cmp eax, 0xfffffffe
jne 0x1d4a739
push edi
cmp edi, 9
jae 0x1d4a674
push str.CSocket::ReceiveData
push str._s:_Invalid_split_packet_length__i_n
call fcn.01d14d50
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2038]
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.01d4a410
test al, al
je 0x1d4a7da
lea edi, [ebx + 0x3038]
mov ecx, edi
call fcn.01d4a900
xor eax, eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
push eax
call fcn.01d19f10
push dword [ebx + 0xff0]
lea ecx, [ebx + 0xfe0]
call fcn.01d4a830
imul esi, eax, 0x2040
add esi, dword [ebx + 0xfe4]
mov ecx, esi
call fcn.01d482f0
lea eax, [ebx + 0x20]
mov ecx, esi
push eax
mov eax, dword [ebx + 0x18]
sub eax, 4
push eax
call fcn.01d481d0
movsd xmm0, qword [esp + 0x28]
mov eax, dword [esp + 0x14]
movsd qword [esi + 0x2028], xmm0
movq xmm0, qword [esp + 0xc]
movq qword [esi + 0x2030], xmm0
mov dword [esi + 0x2038], eax
dec dword [edi + 4]
cmp dword [edi + 4], 0
jne 0x1d4a7da
xor eax, eax
xchg dword [edi], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2038]
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
cmp eax, 0xffffffff
jne 0x1d4a7da
lea ecx, [ebx + 0x3038]
call fcn.01d4a900
xor eax, eax
mov dword [esp + 0x18], 3
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
call fcn.01d19f10
push dword [ebx + 0xff0]
lea ecx, [ebx + 0xfe0]
call fcn.01d4a830
imul esi, eax, 0x2040
add esi, dword [ebx + 0xfe4]
mov ecx, esi
call fcn.01d482f0
lea eax, [esp + 0x44]
mov ecx, esi
push eax
lea eax, [edi - 4]
push eax
call fcn.01d481d0
movsd xmm0, qword [esp + 0x28]
lea ecx, [ebx + 0x3038]
mov eax, dword [esp + 0x20]
movsd qword [esi + 0x2028], xmm0
movq xmm0, qword [esp + 0x18]
movq qword [esi + 0x2030], xmm0
mov dword [esi + 0x2038], eax
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jne 0x1d4a7da
xor eax, eax
xchg dword [ecx], eax
mov ecx, dword [esp + 0x2044]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
Function at 0x1d4b1f0
Capabilities:
Check os version
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x386c
call fcn.01e27940
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x3868], eax
xor edi, edi
nop word [eax + eax]
push edi
push str..PhysicalDrive_d
lea eax, [ebp - 0x108]
push 0xff
push eax
call fcn.01d1a900
add esp, 0x10
lea eax, [ebp - 0x108]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1d4b451
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x3864], 0
lea eax, [ebp - 0x37b8]
movq qword [ebp - 0x37c4], xmm0
push 0
push eax
mov dword [ebp - 0x37bc], 0
mov dword [ebp - 0x37c4], 0
mov dword [ebp - 0x37c0], 0
call fcn.01e05050
add esp, 0xc
lea eax, [ebp - 0x3864]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c4]
push eax
push 0x2d1400
push esi
call ebx
test eax, eax
je 0x1d4b44a
push 0x94
lea eax, [ebp - 0x3860]
push 0
push eax
call fcn.01e05050
add esp, 0xc
mov dword [ebp - 0x3860], 0x94
lea eax, [ebp - 0x3860]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1d4b320
mov eax, dword [ebp - 0x385c]
cmp eax, 6
ja 0x1d4b31c
jne 0x1d4b320
cmp dword [ebp - 0x3858], 2
jb 0x1d4b320
mov bl, 1
jmp 0x1d4b322
xor bl, bl
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0xcc0]
push eax
push 0
lea ecx, [ebp - 0x37b8]
call fcn.01d4b000
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0x8d8]
push eax
push 0
lea ecx, [ebp - 0x37b8]
call fcn.01d4b000
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push 0
lea ecx, [ebp - 0x37b8]
call fcn.01d4b000
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
xor bl, 1
lea ecx, [ebp - 0x37b8]
movzx eax, bl
push eax
call fcn.01d4b000
add esp, 0x20
cmp byte [0x2058730], 0
jne 0x1d4b40d
movsx eax, byte [ebp - 0x4f0]
push eax
call fcn.01e0c65b
add esp, 4
test eax, eax
jne 0x1d4b3c3
movsx eax, byte [ebp - 0x4dd]
push eax
call fcn.01e0c65b
add esp, 4
test eax, eax
je 0x1d4b40d
push 0x3ff
lea eax, [ebp - 0x4f0]
push eax
push 0x2058730
call fcn.01e0d270
add esp, 0xc
mov byte [0x2058b2f], 0
lea eax, [ebp - 0x8d8]
push 0x3ff
push eax
push 0x2058330
call fcn.01e0d270
add esp, 0xc
mov byte [0x205872f], 0
mov dword [ebp - 0x3868], 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call fcn.01e05050
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea eax, [ebp - 0x3864]
add esp, 0xc
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, 0x10
jl 0x1d4b220
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3868]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
Function at 0x1d4bf00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e31b10
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1e94008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 0x30]
mov dword [ecx], vtable.VoiceEncoder_Silk.0
mov dword [ebp - 0x10], eax
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x20], method.CImportImageDialog.virtual_184
mov dword [eax + 0x24], fcn.01d1e270
mov eax, ecx
mov dword [ecx + 0x58], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x1d4ce80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e31bcf
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 [esi + 8], 0x80
xorps xmm0, xmm0
mov dword [esi + 0xc], 0x40a00000
mov dword [esi + 0x10], 0x3f000000
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0x3f800000
mov dword [esi + 0x28], 0x3f800000
mov dword [esi + 0x20], 0x3f800000
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0x80
mov dword [esi + 0x44], 0xbb80
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], 0
push 0xc
movss dword [esi + 0xbbd8], xmm1
mov dword [esi + 0xbbf0], 0x2b11
mov dword [esi + 0xbbf4], 0x2b11
movsd qword [esi + 0xbbd0], xmm0
mov dword [esi + 0xbbe4], 0
mov dword [esi + 0xbbe8], 0
mov dword [esi + 0xbbec], 0
mov dword [esi + 0xbbfc], 0
mov dword [esi + 0xbbf8], 0
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 0xbbcc], 0
call fcn.01e0626e
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x1d4cfdb
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cmp dword [0x2065154], 0
jg 0x1d4cfdd
push 0x2065154
call dword [sym.imp.tier0_d.dll_ThreadImplOneTimeInit]
add esp, 4
test al, al
je 0x1d4cfdd
push ecx
mov dword [0x2065154], 1
call fcn.01d17960
jmp 0x1d4cfdd
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x205af58
mov dword [esi + 0x34], edi
call dword [sym.imp.vstdlib_d.dll_public:_bool___thiscall_CCommandLineParam::Exists_void_const]
mov byte [esi + 0xbbf9], al
mov eax, esi
mov dword [esi + 0x44], 0xbb80
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], 0
mov dword [esi + 8], 0x80
mov dword [esi + 0xc], 0x40a00000
mov dword [esi + 0x10], 0x3f000000
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0x3f800000
mov dword [esi + 0x28], 0x3f800000
mov dword [esi + 0x20], 0x3f800000
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0x80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1d4dda0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x1d4df4e
movsd xmm4, qword [0x1e7e248]
movss xmm5, dword [0x1e7e3ac]
push edi
nop dword [eax + eax]
mov edi, dword [esi]
sub edi, dword [esi + 0xc]
cmp ebx, edi
mov dword [ebp - 8], 0
cmovl edi, ebx
test edi, edi
jle 0x1d4de7d
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], 0xffff8000
mov ecx, dword [ebp + 8]
movsx eax, word [ecx + ebx*2]
cdq
xor eax, edx
sub eax, edx
add dword [esi + 0x10], eax
movsx eax, word [ecx + ebx*2]
mov ecx, dword [esi + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp dword [esi + 0x14], eax
cmovg eax, dword [esi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
imul ecx, eax
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
add ecx, dword [esi + 0x24]
movsx edx, word [eax + ebx*2]
lea eax, [ebp - 8]
imul edx, ecx
lea ecx, [ebp - 0xc]
sar edx, 7
cmp edx, 0xffff8000
mov dword [ebp - 8], edx
cmovle eax, ecx
mov edx, dword [eax]
cmp edx, 0x7fff
mov eax, 0x7fff
cmovg edx, eax
mov eax, dword [ebp + 8]
cmp word [ebp - 4], dx
movzx ecx, dx
mov word [eax + ebx*2], dx
mov eax, dword [ebp - 4]
movzx eax, ax
cmovg ecx, eax
inc ebx
movzx ecx, cx
mov dword [ebp - 4], ecx
cmp ebx, edi
jl 0x1d4ddf3
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
sub ebx, edi
mov dword [ebp + 0xc], ebx
lea eax, [eax + edi*2]
mov edi, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
cdq
idiv edi
test edx, edx
jne 0x1d4df39
movss xmm0, dword [esi + 0x20]
movaps xmm2, xmm5
mulss xmm0, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
movss dword [esi + 0x1c], xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm4
cvttsd2si eax, xmm0
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x10]
cdq
idiv edi
sub ecx, eax
movd xmm0, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm1, dword [esi + 8]
addss xmm1, xmm0
movss xmm0, dword [esi + 4]
divss xmm2, xmm1
comiss xmm0, xmm2
ja 0x1d4def1
movss xmm1, xmm0
jmp 0x1d4def5
movss xmm1, xmm2
lea eax, [edi - 1]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], 0
mulss xmm1, dword [esi + 0x18]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x20], xmm1
subss xmm1, dword [esi + 0x1c]
divss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
mulsd xmm0, xmm4
cvttsd2si eax, xmm0
mov dword [esi + 0x28], eax
test ebx, ebx
jne 0x1d4ddd0
mov ax, word [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop esi
mov ax, cx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1d4f3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
xor ecx, ecx
movsx eax, word [ebx]
lea ebx, [ebx + 2]
cdq
xor eax, edx
sub eax, edx
add esi, eax
cmp ecx, eax
cmovg eax, ecx
dec edi
mov ecx, eax
test edi, edi
jg 0x1d4f3b0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1d4f3d2
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
cmp eax, 1
jle 0x1d4f3fc
movd xmm2, esi
cvtdq2pd xmm2, xmm2
shr esi, 0x1f
movd xmm0, eax
addsd xmm2, qword [esi*8 + 0x1e7e7a0]
cvtdq2pd xmm0, xmm0
divsd xmm2, xmm0
jmp 0x1d4f3ff
xorps xmm2, xmm2
cvtpd2ps xmm0, xmm2
mov eax, dword [0x1e9eb4c]
pop edi
pop esi
pop ebx
movss xmm1, dword [eax + 0x34]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
mulsd xmm0, qword [0x1e7e238]
divsd xmm0, qword [0x1e7e2c0]
comisd xmm0, xmm1
jb 0x1d4f432
mov al, 1
pop ebp
ret 0x10
mov eax, dword [0x1e9ebb4]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1e7e7a0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [eax + 0x34]
xor eax, eax
mulss xmm0, dword [0x1e7e3ac]
comiss xmm1, xmm0
setae al
pop ebp
ret 0x10