joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cd90
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x474e90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push 0x49d94c
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call fcn.00465900
lea eax, [esp + 4]
mov dword [esp + 0x120], 1
push eax
push 0x20019
push 0
push 0x497b8c
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ce4c
lea ecx, [esp + 8]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push 0x497b84
push eax
mov dword [esp + 0x20], 0x104
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.00465900
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x124], 2
call fcn.004659cb
lea ecx, [esp + 0x10]
mov byte [esp + 0x120], 1
call fcn.00465892
push esi
mov esi, dword [esp + 0x12c]
lea eax, [esp + 4]
mov ecx, esi
push eax
call fcn.00465607
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x124], 0
call fcn.00465892
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x124
ret 4
Function at 0x40e9f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push esi
mov esi, ecx
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x40ea34
cmp dword [esp + 0xc], 1
jae 0x40ea3a
xor eax, eax
jmp 0x40ea3f
ja 0x40ea3a
xor eax, eax
jmp 0x40ea3f
mov eax, 1
test eax, eax
mov dword [esi], eax
je 0x40ea53
push 0x497e98
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [esi + 4], eax
mov eax, esi
pop esi
add esp, 0x94
ret

Function at 0x411370
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
xor eax, eax
test edi, edi
je 0x4113ae
push esi
mov esi, dword [esp + 0x10]
movsx ecx, byte [esi]
xor edx, edx
and ecx, 0xff
mov dl, ah
inc esi
xor edx, ecx
xor ecx, ecx
mov cx, word [edx*2 + 0x47fbb8]
mov edx, ecx
xor ecx, ecx
mov ch, al
and ecx, 0xffff
xor edx, ecx
dec edi
mov eax, edx
jne 0x411380
pop esi
pop edi
ret

Function at 0x411470
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
ret

Function at 0x411f70
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret
Function at 0x412020
Capabilities:
Encode data using xor
Encrypt data using hc-128

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x124
mov ecx, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x34]
add eax, 0x29
mov edi, 0x10
xor ecx, ecx
xor edx, edx
mov ch, byte [eax - 1]
mov dl, byte [eax + 1]
mov cl, byte [eax]
add eax, 4
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax - 2]
add esi, 4
shl ecx, 8
or ecx, edx
dec edi
mov dword [esi - 4], ecx
jne 0x412047
lea edx, [esp + 0x6c]
mov esi, 0x30
mov ecx, dword [edx]
mov eax, dword [edx - 0x34]
mov edi, ecx
mov ebx, ecx
shr edi, 0x11
shl ebx, 0xf
or edi, ebx
mov ebx, ecx
mov ebp, ecx
add edx, 4
shr ebx, 0x13
shl ebp, 0xd
or ebx, ebp
mov ebp, eax
xor edi, ebx
mov ebx, eax
shr ecx, 0xa
xor edi, ecx
mov ecx, eax
shr ecx, 0x12
shl ebx, 0xe
or ecx, ebx
mov ebx, eax
shl ebx, 0x19
shr ebp, 7
or ebx, ebp
mov ebp, dword [edx - 0x3c]
xor ecx, ebx
mov ebx, dword [edx - 0x18]
shr eax, 3
xor ecx, eax
add edi, ecx
add edi, ebp
add edi, ebx
dec esi
mov dword [edx + 4], edi
jne 0x412077
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x10], esi
mov eax, ecx
mov ebx, ecx
shl eax, 0x15
shr ebx, 0xb
or eax, ebx
mov ebx, ecx
mov ebp, ecx
shl ebx, 0x1a
shr ebp, 6
or ebx, ebp
mov ebp, ecx
xor eax, ebx
mov ebx, ecx
shr ebx, 0x19
shl ebp, 7
or ebx, ebp
mov ebp, dword [esp + 0x2c]
xor eax, ebx
mov ebx, ecx
not ebx
and ebx, ebp
mov ebp, dword [esp + 0x28]
and ebp, ecx
xor ebx, ebp
mov ebp, dword [esi + 0x47fdb8]
add eax, ebx
mov ebx, dword [esp + esi + 0x34]
add eax, ebp
mov ebp, dword [esp + 0x30]
add eax, ebx
mov esi, edx
mov ebx, edx
add eax, ebp
shl esi, 0x13
shr ebx, 0xd
or esi, ebx
mov ebx, edx
mov ebp, edx
shr ebx, 0x16
shl ebp, 0xa
or ebx, ebp
mov ebp, edx
xor esi, ebx
mov ebx, edx
shl ebx, 0x1e
shr ebp, 2
or ebx, ebp
mov ebp, dword [esp + 0x1c]
xor esi, ebx
mov ebx, edi
xor ebx, edx
and ebx, ebp
mov ebp, edi
and ebp, edx
xor ebx, ebp
add esi, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov edi, edx
lea edx, [esi + eax]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x20]
add esi, 4
add ecx, eax
cmp esi, 0x100
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], esi
jl 0x4120e1
mov eax, dword [esp + 0x138]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
sub ecx, eax
mov edx, 8
mov esi, dword [ecx + eax]
mov ebx, dword [eax]
add ebx, esi
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x4121cb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
Function at 0x417980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov al, byte [0x49de10]
xor ebx, ebx
mov bl, byte [0x49de11]
inc al
mov ch, byte [eax + 0x49dd10]
add bl, ch
mov cl, byte [ebx + 0x49dd10]
mov byte [ebx + 0x49dd10], ch
mov byte [eax + 0x49dd10], cl
add cl, ch
xor ch, ch
push eax
mov al, byte [ecx + 0x49dd10]
xor byte [esi], al
pop eax
inc esi
dec dword [ebp + 0xc]
jne 0x41799f
mov byte [0x49de10], al
mov byte [0x49de11], bl
pop esi
pop ebx
pop ebp
ret

Function at 0x41a400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475f4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0041d9d0
mov ecx, dword [0x49aec0]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x20], ecx
mov edx, dword [0x49aec0]
mov dword [esi + 0x24], edx
mov cl, byte [esp + 7]
mov dword [esi + 0x34], eax
mov byte [esi + 0x30], cl
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 3
call fcn.0041df80
mov edx, dword [0x49aec0]
mov dword [esi + 0x60], edx
mov ecx, esi
mov byte [esp + 0x14], 5
mov dword [esi], vtable.CExcelDocument.0
call fcn.0041a6a0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x14], 3
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x420250
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, ecx
push esi
push edi
mov al, byte [ebp + 0x24]
test al, al
je 0x4202db
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp al, 1
jne 0x420288
mov edx, edi
xor eax, eax
and edx, 0xffff
jle 0x420288
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, edx
mov cl, byte [ecx + 0x49993c]
mov byte [eax + esi - 1], cl
jl 0x420274
cmp byte [ebp + 0x24], 2
jne 0x4202db
xor ecx, ecx
and edi, 0xffff
jle 0x4202db
mov eax, dword [esp + 0x18]
mov edx, eax
shr edx, 0x10
xor eax, edx
mov dl, byte [ecx + esi]
add dl, al
and edx, 0xff
mov dl, byte [edx + 0x49973c]
add dl, ah
and edx, 0xff
mov dl, byte [edx + 0x49983c]
sub dl, ah
and edx, 0xff
mov dl, byte [edx + 0x49993c]
sub dl, al
inc eax
mov byte [ecx + esi], dl
inc ecx
cmp ecx, edi
jl 0x42029c
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x424a90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, 0x12
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x5c]
mov dword [esp + 0x58], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xbc]
mov eax, dword [ebp + 0x28]
push 0x40
lea edx, [esp + 0x10]
mov esi, dword [eax + ebp + 0x30]
push ecx
push edx
mov dword [esp + 0xc0], 0
call dword [sym.imp.kernel32.dll_lstrcpyn]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_lstrlen]
mov dword [esp + eax + 0xc], esi
mov byte [esp + eax + 0x10], 0x80
mov eax, dword [esp + 0xc]
test eax, eax
je 0x424b37
lea eax, [esp + 0xc]
lea esi, [esp + 0xc]
push eax
add esi, 4
call fcn.00424c00
mov ecx, dword [esi]
add esp, 4
test ecx, ecx
mov eax, esi
jne 0x424b23
mov ecx, dword [esp + 0xbc]
lea esi, [esp + 0xc]
lea edi, [esp + 0x6c]
lea edx, [esp + 0x58]
mov eax, dword [ecx - 8]
mov ecx, 0x10
add al, 4
push edx
shl al, 3
mov byte [esp + 0x4c], al
rep movsd dword es:[edi], dword [esi]
call fcn.00422780
lea eax, [esp + 0x5c]
push eax
call fcn.004227b0
add esp, 8
lea esi, [esp + 0x58]
mov edi, 5
push esi
call fcn.00424c00
add esp, 4
add esi, 4
dec edi
jne 0x424b79
mov edx, dword [ebp + 0x28]
mov ecx, 5
lea edi, [esp + 0x58]
xor eax, eax
lea esi, [edx + ebp + 0x34]
mov dword [esp + 0xb4], 0xffffffff
repe cmpsd dword [esi], dword es:[edi]
pop edi
pop esi
pop ebp
lea ecx, [esp + 0xb0]
je 0x424bd1
call fcn.00465892
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
add esp, 0xac
ret 4
call fcn.00465892
mov ecx, dword [esp + 0xa0]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0xac
ret 4
Function at 0x424c10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 0x18]
push edi
sub eax, 5
je 0x424c51
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x14]
push 5
add ecx, esi
push 0x499b54
push ecx
call fcn.00442920
add esp, 0xc
test eax, eax
jne 0x424c46
mov edx, edi
dec edi
test edx, edx
je 0x424c51
mov eax, dword [ebx + 0x18]
inc esi
sub eax, 5
cmp esi, eax
jb 0x424c26
mov eax, dword [ebx + 0x18]
lea ecx, [eax - 5]
cmp esi, ecx
jb 0x424c87
push 0
push 6
lea ecx, [esp + 0x14]
call fcn.004111a0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0x48bdf8
push ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.004419d1
add esi, 5
dec eax
cmp esi, eax
mov dword [ebx + 0x20], esi
jae 0x424cd3
mov ecx, dword [ebx + 0x20]
mov edx, esi
sub edx, ecx
cmp edx, 0x2000
jae 0x424cd3
mov eax, dword [ebx + 0x14]
mov al, byte [eax + esi]
cmp al, 0x22
je 0x424cd3
mov edi, dword [ebx + 0x20]
mov ecx, esi
sub ecx, edi
push eax
shr ecx, 1
lea edi, [ecx + ebx + 0x2c]
call fcn.00424de0
mov dl, byte [edi]
add esp, 4
shl dl, 4
add al, dl
inc esi
mov byte [edi], al
mov eax, dword [ebx + 0x18]
dec eax
cmp esi, eax
jb 0x424c92
mov ecx, dword [ebx + 0x14]
cmp byte [ecx + esi], 0x22
je 0x424d08
push 0
push 6
lea ecx, [esp + 0x1c]
call fcn.004111a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push 0x48bdf8
push ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call fcn.004419d1
mov cl, byte [ebx + 0x2e]
push ebp
mov ebp, dword [ebx + 0x20]
mov al, byte [ebx + 0x2f]
sub esi, ebp
lea ebp, [ebx + 0x2c]
mov dl, cl
mov byte [esp + 0x24], al
xor dl, byte [ebp]
shr esi, 1
add dl, byte [ebx + 0x2d]
mov dword [ebx + 0x1c], esi
xor dl, al
mov eax, esi
cmp eax, 4
mov byte [ebx + 0x2f], dl
jbe 0x424d5c
mov edi, 0xffffffd4
lea esi, [ebx + 0x30]
sub edi, ebx
mov dl, byte [esi - 1]
mov al, byte [esi]
add dl, cl
mov cl, byte [esp + 0x24]
xor dl, al
mov byte [esp + 0x24], al
mov byte [esi], dl
mov edx, dword [ebx + 0x1c]
inc esi
lea eax, [edi + esi]
cmp eax, edx
jb 0x424d3e
mov ecx, dword [ebx + 0x1c]
xor eax, eax
add ecx, 0xfffffffd
test ecx, ecx
mov dword [esp + 0x24], ecx
jbe 0x424d99
mov edx, ebp
mov ecx, 3
mov edi, 0x49e170
mov esi, edx
xor ebp, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x424d8c
mov ecx, dword [esp + 0x24]
inc eax
inc edx
cmp eax, ecx
jb 0x424d6e
jmp 0x424d99
xor ecx, ecx
mov cl, byte [eax + ebx + 0x2b]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
pop ebp
jb 0x424dca
push 0
push 6
lea ecx, [esp + 0x1c]
call fcn.004111a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push 0x48bdf8
push ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call fcn.004419d1
add eax, 3
pop edi
mov dword [ebx + 0x28], eax
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x42a040
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test byte [eax + 0x18], 2
je 0x42a053
mov ecx, esi
call fcn.0042a250
mov ecx, dword [esi + 0x1c]
test byte [ecx + 0x18], 4
je 0x42a063
mov ecx, esi
call fcn.0042a0b0
mov edx, dword [esi + 0x1c]
test byte [edx + 0x18], 8
je 0x42a073
mov ecx, esi
call fcn.0042a9a0
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
test al, 0xc0
je 0x42a08f
test al, 2
jne 0x42a088
mov ecx, esi
call fcn.0042a250
mov ecx, esi
call fcn.0042aa10
mov ecx, dword [esi + 0x1c]
pop esi
test byte [ecx + 0x18], 0x20
je 0x42a0a1
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
push 0
call fcn.0042fd80
pop ecx
ret
Function at 0x4313f8
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x478cf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.0046abd8
mov eax, dword [esi + 0x1c]
lea edx, [esi + 0xd4]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.00465607
lea ecx, [esi + 0xf8]
call fcn.00431cd0
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x4314b0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xe0], eax
jne 0x43149a
lea ecx, [esp + 4]
push 0x61a8
push ecx
call fcn.00433e80
add esp, 8
mov eax, dword [eax]
push 0x10
push 0x49a428
push eax
mov ecx, esi
mov dword [esp + 0x24], 0
call fcn.00467992
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.00465892
push 2
mov ecx, esi
call fcn.0046aab3
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret
mov ecx, dword [esp + 0x10]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret

Function at 0x431d48
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x478e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
lea ecx, [esi + 8]
push eax
mov dword [esp + 0x18], 2
call fcn.004659cb
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0xc]
call fcn.004659cb
lea edx, [esp + 0x24]
lea ecx, [esi + 0x10]
push edx
call fcn.004659cb
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x431e00
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x14], eax
jne 0x431db6
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x61a8
push ecx
call fcn.00433e80
add esp, 8
mov ecx, esi
call fcn.004328a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call fcn.00465892
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 0
call fcn.00465892
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.00465892
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc

Function at 0x431e28
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x478ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
lea ecx, [esi + 8]
push eax
mov dword [esp + 0x18], 0
call fcn.004659cb
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x431ea0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x14], eax
jne 0x431e7c
push 1
push ecx
mov edx, esp
mov dword [esp + 0x10], esp
push 0x61a8
push edx
call fcn.00433e80
add esp, 8
mov ecx, esi
call fcn.004328a0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00465892
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x432a10
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x479098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [esp + 0x10], 0
mov eax, dword [0x49aec0]
mov dword [esp], eax
push 0x49a5a0
lea ecx, [esp + 4]
mov byte [esp + 0x14], 2
call fcn.00465a1b
mov edx, dword [esp]
lea ecx, [esp + 4]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
test eax, eax
jne 0x432aa9
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
push 0
call fcn.00465cc2
mov ecx, dword [esp + 0xc]
push eax
push 1
push 0
push esi
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop esi
lea ecx, [esp]
mov byte [esp + 0x10], 1
call fcn.00465892
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.00465892
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.00465892
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x432af0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4790dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push edi
mov dword [esp + 0x10], 0
mov eax, dword [0x49aec0]
mov dword [esp + 0x11c], 1
mov dword [esp + 4], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14]
push 0x49a5a0
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
mov byte [esp + 0x120], 2
call fcn.00465a1b
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 1
push 0
push edx
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
pop edi
jne 0x432b9d
mov edx, dword [esp + 0x124]
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 8]
push ecx
push 0
push 0
push edx
push eax
mov dword [esp + 0x20], 0x100
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
push esi
mov esi, dword [esp + 0x124]
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.00465900
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x11c], 1
call fcn.00465892
lea ecx, [esp + 0x128]
mov byte [esp + 0x11c], 0
call fcn.00465892
mov ecx, dword [esp + 0x114]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x432c00
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x479100
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x49aec0]
mov dword [esp + 0x10], 0
mov dword [esp], eax
push 0x49a5a0
lea ecx, [esp + 4]
mov byte [esp + 0x14], 1
call fcn.00465a1b
mov edx, dword [esp]
lea ecx, [esp + 4]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
test eax, eax
jne 0x432c8a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea ecx, [esp]
mov byte [esp + 0x10], 0
call fcn.00465892
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00465892
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4337a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x49aec0]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
push ecx
mov ebx, 2
mov esi, esp
mov dword [esp + 0x28], esp
push ecx
mov byte [esp + 0x38], bl
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x49a630
call fcn.00465900
push esi
call fcn.00432af0
add esp, 8
lea eax, [esp + 0x1c]
push eax
call fcn.00432e90
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call fcn.004659cb
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.00465892
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
cmp ecx, edi
je 0x433970
mov eax, ecx
push 5
add eax, 0xfffffff9
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004633c2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 4
call fcn.004659cb
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.00465892
mov edx, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x10]
mov esi, dword [edx - 8]
call fcn.00465cc2
push eax
push esi
call fcn.00411370
mov ecx, eax
and eax, 0xff
xor edx, edx
mov esi, 0x3e
div esi
xor eax, eax
add esp, 8
mov al, ch
mov ecx, esi
and eax, 0xff
push 1
mov byte [esp + 0x20], dl
xor edx, edx
div ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], dl
mov edx, dword [esp + 0x1c]
and edx, 0xff
mov al, byte [edx + 0x49a2f8]
push eax
call fcn.0046309a
mov esi, eax
mov ecx, dword [esp + 0x1c]
push 1
and ecx, 0xff
mov byte [esp + 0x34], 5
mov dl, byte [ecx + 0x49a2f8]
lea ecx, [esp + 0x24]
push edx
call fcn.0046309a
push esi
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x38], 6
push eax
call fcn.00465ac1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 7
call fcn.004659cb
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 6
call fcn.00465892
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 5
call fcn.00465892
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call fcn.00465892
lea ecx, [esp + 0x24]
push ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.00463458
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
push eax
push edx
call fcn.00441a0b
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
sete bl
call fcn.00465892
test bl, bl
je 0x433970
mov eax, dword [esp + 0xc]
push eax
call fcn.00441b45
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00465892
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00465892
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.00465892
mov ecx, dword [esp + 0x28]
mov ax, di
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret