joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4188f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445930
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45e084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.Q.1.0
call fcn.00427065
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00425923
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41dfe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x41e035
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 2
push eax
push 0
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x41e0d9
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov ecx, esi
push eax
mov eax, dword [ebp - 0x14]
shr eax, 1
push eax
mov dword [ebp - 0x18], 1
call fcn.00419c80
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41e081
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x41e089
mov edi, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push 2
push edi
push 0
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x41e0a9
push eax
push str.Cannot_get_string_value:_RegGetValue_failed.
jmp 0x41e0df
mov ecx, dword [ebp - 0x14]
shr ecx, 1
dec ecx
push 0
push ecx
mov ecx, esi
call fcn.00419c80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426dc1
mov esp, ebp
pop ebp
ret 8
push eax
push str.Cannot_get_size_of_string_value:_RegGetValue_failed.
lea ecx, [ebp - 0x2c]
call fcn.00414640
push 0x45d11c
lea eax, [ebp - 0x2c]
push eax
call fcn.00428885
int3
Function at 0x41e560
Capabilities:
Connect to wmi namespace via wbemlocator
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447f98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push 0x44c678
push 1
push 0
push 0x44c668
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x41e5ec
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [edi], 0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x41e759
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
jmp 0x41e759
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 5
xor ecx, ecx
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
mov dword [ebp - 0x34], 0x62007e
mov dword [ebp - 0x30], 0x7b0061
mov dword [ebp - 0x2c], 0x72006c
mov ebx, dword [eax + 0xc]
mov eax, 0xa
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 0x7e007b
mov dword [ebp - 0x24], 0x70062
mov dword [ebp - 0x20], 0x36
lea eax, [ecx + 0x2c]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
jb 0x41e633
xor ecx, ecx
mov word [ebp + eax*2 - 0x34], cx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041e450
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x41e664
mov eax, dword [eax]
jmp 0x41e666
xor eax, eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push esi
call ebx
mov esi, dword [ebp - 0x1c]
mov ebx, eax
test esi, esi
je 0x41e6ce
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x41e6c7
test esi, esi
je 0x41e6c7
mov eax, dword [esi]
test eax, eax
je 0x41e6a5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41e6bc
push eax
call fcn.00426dd2
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00427410
add esp, 8
mov dword [ebp - 0x1c], 0
test ebx, ebx
jns 0x41e6f8
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [edi], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41e6ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 9
jmp 0x41e74c
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x41e739
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [edi], 0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41e730
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xc
jmp 0x41e74c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov dword [edi], eax
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41e759
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426dc1
mov esp, ebp
pop ebp
ret 4
Function at 0x41f260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x41f348
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x41f337
jg 0x41f2a0
test edx, edx
je 0x41f337
nop dword [eax]
call fcn.0040bcc0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x41f2f4
jg 0x41f2b7
test esi, esi
je 0x41f2f4
cmp ebx, eax
jg 0x41f2c7
jl 0x41f2c1
cmp edi, esi
jae 0x41f2c7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.00428900
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x41f31b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x41f331
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x41f2a0
jl 0x41f331
test edi, edi
jne 0x41f2a0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x41f36a
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x41f36c
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x41f3ea
jg 0x41f37f
test esi, esi
je 0x41f3ea
test eax, eax
jl 0x41f3c4
jg 0x41f389
test ebx, ebx
je 0x41f3c4
cmp edi, eax
jg 0x41f399
jl 0x41f393
cmp esi, ebx
jae 0x41f399
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.00428900
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x41f3c7
mov edx, dword [ebp + 8]
test edi, edi
jl 0x41f3ea
jg 0x41f3d1
test esi, esi
je 0x41f3ea
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x41f3ea
push eax
push esi
push 1
push edx
call fcn.0042d4aa
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41f400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x41f4eb
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x41f4da
jg 0x41f440
test edx, edx
je 0x41f4da
nop dword [eax]
call fcn.0040bce0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x41f497
jg 0x41f457
test esi, esi
je 0x41f497
cmp ebx, eax
jg 0x41f467
jl 0x41f461
cmp edi, esi
jae 0x41f467
mov esi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xc]
push esi
mov eax, dword [eax + 0x1c]
push dword [eax]
push dword [esp + 0x18]
call fcn.00428900
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x10]
jmp 0x41f4bc
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x41f4d4
mov eax, dword [esp + 0x10]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
mov byte [eax], cl
mov ecx, dword [esp + 0xc]
add eax, esi
mov dword [esp + 0x10], eax
test ebx, ebx
jg 0x41f440
jl 0x41f4d4
test edi, edi
jne 0x41f440
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x41f50d
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
jmp 0x41f50f
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x41f5c5
jg 0x41f52a
test esi, esi
je 0x41f5c5
test eax, eax
jl 0x41f573
jg 0x41f534
test ebx, ebx
je 0x41f573
cmp edi, eax
jg 0x41f544
jl 0x41f53e
cmp esi, ebx
jae 0x41f544
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.00428900
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0x2c]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x1c]
add dword [eax], ebx
jmp 0x41f57a
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test edi, edi
jl 0x41f5c5
jg 0x41f584
test esi, esi
je 0x41f5c5
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x41f5c5
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
cmp dword [ebx], eax
jne 0x41f5b0
mov edx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov edx, dword [ebx + 0x4c]
push edx
push esi
push 1
push dword [esp + 0x1c]
call fcn.0042ce58
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41f940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x41f970
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426dc1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x41f9ac
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x41f9ac
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426dc1
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x41fa93
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x41f9d4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41fa07
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0042cb70
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426dc1
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x41fa93
cmp eax, 1
jle 0x41fa66
cmp eax, 3
jne 0x41fa93
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0041ef80
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426dc1
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41fa83
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0042d4aa
add esp, 0x10
cmp edi, eax
jne 0x41fa93
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x41f997
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426dc1
mov esp, ebp
pop ebp
ret 4
Function at 0x41fc30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x41fcd3
cmp byte [esi + 0x3d], 0
je 0x41fcd3
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41fc89
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x41fc9b
sub eax, 1
je 0x41fc9f
sub eax, 2
je 0x41fcd3
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426dc1
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41fcbc
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0042d4aa
add esp, 0x10
cmp edi, eax
jne 0x41fc89
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426dc1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00426dc1
mov esp, ebp
pop ebp
ret
Function at 0x422d20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44839f
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x18], 0
call fcn.00422240
push eax
push ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004221b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xcc]
cmp edx, 8
jb 0x422dc7
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422dbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42307e
push edx
push ecx
call fcn.00427410
add esp, 8
xor eax, eax
mov dword [ebp - 0xd0], 0
cmp dword [esi + 0x14], 8
mov word [ebp - 0xe0], ax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xcc], 7
lea eax, [eax*2 + 2]
jb 0x422df6
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x422dfe
mov edi, dword [edi]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x423083
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x422e63
cmp eax, 0x80000001
je 0x422e63
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
je 0x422e63
cmp eax, 0x80000000
je 0x422e63
cmp eax, 0x80000005
je 0x422e63
cmp eax, 0x80000007
je 0x422e63
cmp eax, 0x80000004
je 0x422e63
cmp eax, 0x80000060
je 0x422e63
cmp eax, 0x80000050
je 0x422e63
cmp eax, 0x80000003
je 0x422e63
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00426dc1
mov esp, ebp
pop ebp
ret 0xc
call fcn.0042c2f9
push eax
push str.Cannot_write_string_value:_RegSetValueEx_failed.
lea ecx, [ebp - 0x124]
call fcn.00414640
push 0x45d11c
lea eax, [ebp - 0x124]
push eax
call fcn.00428885
int3

Function at 0x423260
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
xor edx, edx
push esi
lea esi, [ecx + 4]
test eax, eax
je 0x42327e
nop dword [eax]
lea eax, [edx + 0x2c]
xor word [esi + edx*2], ax
inc edx
mov eax, dword [ecx]
cmp edx, eax
jb 0x423270
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, esi
pop esi
ret
Function at 0x424ad0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44862b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x424cad
mov eax, dword [edi]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00427838
xor ebx, ebx
mov dword [edi + 4], eax
add esp, 4
cmp dword [edi], ebx
jle 0x424c78
nop
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov edx, dword [eax + ebx*4]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x48], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424b92
sub eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.0040b740
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00415970
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
mov eax, dword [edi + 0xc]
push ecx
cmp dword [edi + 0x10], eax
je 0x424bdd
mov ecx, eax
call fcn.0040a4b0
add dword [edi + 0xc], 0x18
jmp 0x424be6
push eax
lea ecx, [edi + 8]
call fcn.0040f0a0
mov ecx, dword [edi + 0xc]
add ecx, 0xffffffe8
cmp dword [ecx + 0x14], 0x10
jb 0x424bf4
mov ecx, dword [ecx]
mov eax, dword [edi + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
mov dword [eax + ebx*4], ecx
cmp edx, 0x10
jb 0x424c32
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424c28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424ca8
push edx
push ecx
call fcn.00427410
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x424c6c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424c62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424ca8
push edx
push ecx
call fcn.00427410
add esp, 8
inc ebx
cmp ebx, dword [edi]
jl 0x424b70
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push dword [ebp - 0x44]
mov dword [eax + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426dc1
mov esp, ebp
pop ebp
ret
call fcn.0042c2f9
push str.Failed_to_parse_command_line_arguments
lea ecx, [ebp - 0x1c]
call fcn.00401270
push 0x45cf5c
lea eax, [ebp - 0x1c]
push eax
call fcn.00428885
int3
Function at 0x426d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x480078
mov dword [ebp - 0x10], 0x4e0042
mov dword [ebp - 0xc], 0x5e005d
mov dword [ebp - 8], 0x33005c
nop dword [eax]
lea ecx, [eax + 0x2c]
xor word [ebp + eax*2 - 0x14], cx
inc eax
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x426d60
xor eax, eax
mov word [ebp + ecx*2 - 0x14], ax
lea ecx, [ebp - 0x14]
mov dword [esi + 0x10], eax
lea edx, [ecx + 2]
mov dword [esi + 0x14], 7
mov word [esi], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426d90
sub ecx, edx
lea eax, [ebp - 0x14]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040b740
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00426dc1
mov esp, ebp
pop ebp
ret

Function at 0x4370c7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00436f3d

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
or dword [ebx + 0x4b], edx
sbb byte [ecx + 0xa], bl
call [edi + 0xec6db5c]
sahf
cwde
scasb al, byte es:[edi]
mov ah, 0xaa
xor dl, ah
sbb esp, dword [edx - 0x7c901db]
sbb al, 0x50
and ebp, esp
fimul dword [esi - 0x64]
pop esp
pushal
stosb byte es:[edi], al
push ds
ficom dword [esi]
out dx, al
cmp al, 0x9b
scasb al, byte es:[edi]
or al, 0x25
push ecx
and dword [ecx + eax*4 + 0x62a32151], esi
mov esi, 0x46da1dbe
pminub mm4, qword [0xda9f1751]
scasb al, byte es:[edi]
ficomp word [edx + ebx*8 - 0x52]
ficomp word [edx + ebx*8 - 0x52]
ficomp word [edx + ebx*8 - 0x52]
fisub word [ebx + reloc.ole32.dll_CoInitializeEx]
fisubr dword [esi + 0x5125a3de]
and dword [edx + ebx*8 - 0x52], ebx
ficomp word [edx + ebx*8 - 0x52]
ficomp word [edx + ebx*8 - 0x52]
ficomp word [edx + ebx*8 + 0x2d]
xor bl, byte [eax + 0x1d]
stosb byte es:[edi], al
cli
mov al, 0x72
in al, dx
ficom word [ebp + 0x21]
loope 0x414aee
pop esp
stosb byte es:[edi], al
out dx, eax
ficom word [edx]
popfd
push ss
push es
fsubrp st(0)
sub byte [ebp - 0x6d], ah
mov ecx, esi
wait
jne 0x414b6f
call 0xef0ba7b6
invalid
pop esp
retf 0xdeee
ja 0x414b4c
scasb al, byte es:[edi]
fsubrp st(7)
invalid