joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410df0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ebd0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48b084]
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, ecx
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 0xc]
mov esi, edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x14], 0x10
jb 0x410e3d
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x410e65
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x410e50
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and ecx, edx
mov dword [ebp - 0x24], ecx
lea ecx, [eax + ecx*8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov esi, dword [eax + 4]
cmp esi, dword [ecx]
je 0x410ede
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, dword [ecx]
je 0x410ede
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jb 0x410e9a
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x410ea4
mov ecx, dword [edi]
push edx
mov edx, dword [edi + 0x10]
push eax
call fcn.00413770
mov ecx, dword [ebp - 0x20]
add esp, 8
test al, al
je 0x410e85
mov dword [ebx], esi
mov byte [ebx + 4], 0
mov eax, ebx
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.00446d97
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
push edi
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, dword [eax + 4]
push ecx
push eax
mov dword [ebp - 0x18], ecx
call fcn.00414cf0
mov edx, dword [ebp - 0x1c]
mov edi, eax
mov ecx, 0x7fffffe
mov eax, dword [edx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x410fa0
inc eax
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x18]
mov dword [eax], edi
mov edi, dword [edx + 4]
mov edi, dword [edi]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x410f57
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x1c]
push dword [ebp - 0x24]
mov ecx, edx
push esi
push edi
call fcn.00413a60
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 2
call fcn.00413b90
mov dword [ebx], edi
mov byte [ebx + 4], 1
jmp 0x410ebe
push str.list_T__too_long
call fcn.0042ef0e
int3
Function at 0x410fb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ec00
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48b084]
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 edi, ecx
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edx, dword [edi + 0x18]
mov cl, byte [eax]
mov dword [ebp - 0x24], eax
movzx eax, cl
xor eax, 0x811c9dc5
mov dword [ebp - 0x2c], edi
imul eax, eax, 0x1000193
and edx, eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1c], edx
lea esi, [eax + edx*8]
mov edx, dword [edi + 4]
mov eax, dword [esi]
cmp eax, edx
jne 0x411021
mov esi, edx
jmp 0x411026
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x411058
mov esi, dword [esi + 4]
cmp cl, byte [esi + 8]
jne 0x411026
mov dword [ebx], esi
mov byte [ebx + 4], 0
mov eax, ebx
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.00446d97
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 4]
push ecx
push eax
mov dword [ebp - 0x18], ecx
call fcn.00414cd0
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 8]
sub ecx, eax
cmp ecx, 1
jb 0x411112
inc eax
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov edi, dword [edi + 4]
mov edi, dword [edi]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x4110c7
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
push dword [ebp - 0x1c]
push esi
mov esi, dword [ebp - 0x20]
mov ecx, esi
push edi
call fcn.00413a60
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.004139c0
mov dword [ebx], edi
mov byte [ebx + 4], 1
jmp 0x411038
push str.list_T__too_long
call fcn.0042ef0e
int3
Function at 0x413c30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x48b084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jb 0x413c5d
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x413c79
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x413c68
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, esi
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x413cb2
cmp eax, edi
jne 0x413caa
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x413cba
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x413cba
cmp eax, edi
jne 0x413cbd
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [ecx], esi
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.0040d040
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.00446d97
mov esp, ebp
pop ebp
ret 8
Function at 0x414940
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46efc0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x48b084]
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 edx, ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov esi, dword [edx + 0x18]
mov cl, byte [eax]
movzx eax, cl
xor eax, 0x811c9dc5
mov dword [ebp - 0x24], edx
imul eax, eax, 0x1000193
and esi, eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], esi
lea edi, [eax + esi*8]
mov esi, dword [edx + 4]
mov eax, dword [edi]
cmp esi, eax
je 0x414a05
mov esi, dword [edi + 4]
mov esi, dword [esi]
nop
cmp esi, eax
je 0x414a05
mov esi, dword [esi + 4]
cmp cl, byte [esi + 8]
jne 0x4149b0
mov edi, dword [ebp + 0x10]
push 0xc
push edi
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x1c]
dec dword [ecx + 8]
call fcn.004473e5
add esp, 8
mov dword [ebx], esi
mov byte [ebx + 4], 0
mov eax, ebx
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.00446d97
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x414a35
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov ecx, edx
push esi
push edi
call fcn.00413a60
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 2
call fcn.004139c0
mov dword [ebx], edi
mov byte [ebx + 4], 1
jmp 0x4149e5
Function at 0x414a80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46eff0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48b084]
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, ecx
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 0xc]
mov esi, edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x20], ecx
jb 0x414ad3
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x414af4
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x414ae0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and ecx, edx
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
lea eax, [eax + ecx*8]
mov esi, dword [esi + 4]
mov dword [ebp - 0x18], eax
cmp esi, dword [eax]
je 0x414b8b
mov esi, dword [eax + 4]
mov esi, dword [esi]
cmp esi, dword [eax]
je 0x414b8b
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jb 0x414b29
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x414b33
mov ecx, dword [edi]
push edx
push eax
mov edx, ebx
call fcn.00413770
add esp, 8
test al, al
mov eax, dword [ebp - 0x18]
je 0x414b14
mov edi, dword [ebp + 0x10]
push edi
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov edx, dword [edi]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
dec dword [eax + 8]
call fcn.0040d040
mov eax, dword [ebp - 0x20]
mov dword [eax], esi
mov byte [eax + 4], 0
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.00446d97
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x414bb8
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
push dword [ebp - 0x24]
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
push esi
push edi
call fcn.00413a60
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00413b90
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x414b6d
Function at 0x4195f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d4b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x48b084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable..26.0
call fcn.0044703a
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0042eb98
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 0x41c0e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f7f6
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x48b084]
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 eax, dword [ebp + 8]
mov edi, 0x41
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x18], eax
nop dword [eax]
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x220]
mov word [ebp - 0x18], di
push 0
push eax
mov dword [ebp - 0x16], 0x3a
call fcn.004493d0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41c1a6
lea esi, [ebp - 0x220]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41c174
sub esi, ecx
mov ecx, ebx
sar esi, 1
cmp dword [ebx + 0x14], 8
jb 0x41c18d
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 0x220]
push esi
push eax
push 0
call fcn.00419b20
add esp, 0xc
test eax, eax
je 0x41c1f3
inc edi
cmp di, 0x5a
jbe 0x41c130
mov ebx, dword [ebp - 0x224]
xor eax, eax
push eax
push 0x481780
mov ecx, ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
call fcn.0040c170
mov eax, ebx
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.00446d97
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], cx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x240], 7
cmp ecx, eax
jb 0x41c351
sub ecx, eax
or edx, 0xffffffff
cmp ecx, 0xffffffff
cmovb edx, ecx
cmp dword [ebx + 0x14], 8
jb 0x41c23b
mov ebx, dword [ebx]
push edx
lea eax, [ebx + eax*2]
push eax
lea ecx, [ebp - 0x254]
call fcn.0040c170
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
lea edx, [ecx + 2]
mov word [ebp - 0x23c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c275
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x23c]
call fcn.0040c170
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 1
push eax
push esi
call fcn.0041c750
mov edx, dword [ebp - 0x228]
add esp, 0xc
cmp edx, 8
jb 0x41c2f1
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c2e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c356
push edx
push ecx
call fcn.004473e5
add esp, 8
mov edx, dword [ebp - 0x240]
xor eax, eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
cmp edx, 8
jb 0x41c34a
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c340
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c35b
push edx
push ecx
call fcn.004473e5
add esp, 8
mov eax, esi
jmp 0x41c1d5
call fcn.0040d0a0
call fcn.0044c2c9
call fcn.0044c2c9
int3
Function at 0x41f960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fbe9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48b084]
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 0x41f9b5
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 0x41fa59
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.0041a980
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41fa01
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x41fa09
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 0x41fa29
push eax
push str.Cannot_get_string_value:_RegGetValue_failed.
jmp 0x41fa5f
mov ecx, dword [ebp - 0x14]
shr ecx, 1
dec ecx
push 0
push ecx
mov ecx, esi
call fcn.0041a980
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.00446d97
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.00415250
push 0x489c9c
lea eax, [ebp - 0x2c]
push eax
call fcn.00448855
int3
Function at 0x420be0
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 0x420cc8
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 0x420cb7
jg 0x420c20
test edx, edx
je 0x420cb7
nop dword [eax]
call fcn.0040c800
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x420c74
jg 0x420c37
test esi, esi
je 0x420c74
cmp ebx, eax
jg 0x420c47
jl 0x420c41
cmp edi, esi
jae 0x420c47
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.004488d0
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 0x420c9b
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 0x420cb1
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x420c20
jl 0x420cb1
test edi, edi
jne 0x420c20
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 0x420cea
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x420cec
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x420d6a
jg 0x420cff
test esi, esi
je 0x420d6a
test eax, eax
jl 0x420d44
jg 0x420d09
test ebx, ebx
je 0x420d44
cmp edi, eax
jg 0x420d19
jl 0x420d13
cmp esi, ebx
jae 0x420d19
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.004488d0
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 0x420d47
mov edx, dword [ebp + 8]
test edi, edi
jl 0x420d6a
jg 0x420d51
test esi, esi
je 0x420d6a
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x420d6a
push eax
push esi
push 1
push edx
call fcn.0044d47a
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 0x420d80
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 0x420e6b
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 0x420e5a
jg 0x420dc0
test edx, edx
je 0x420e5a
nop dword [eax]
call fcn.0040c820
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x420e17
jg 0x420dd7
test esi, esi
je 0x420e17
cmp ebx, eax
jg 0x420de7
jl 0x420de1
cmp edi, esi
jae 0x420de7
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.004488d0
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 0x420e3c
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x420e54
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 0x420dc0
jl 0x420e54
test edi, edi
jne 0x420dc0
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 0x420e8d
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
jmp 0x420e8f
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x420f45
jg 0x420eaa
test esi, esi
je 0x420f45
test eax, eax
jl 0x420ef3
jg 0x420eb4
test ebx, ebx
je 0x420ef3
cmp edi, eax
jg 0x420ec4
jl 0x420ebe
cmp esi, ebx
jae 0x420ec4
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.004488d0
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 0x420efa
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test edi, edi
jl 0x420f45
jg 0x420f04
test esi, esi
je 0x420f45
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x420f45
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
cmp dword [ebx], eax
jne 0x420f30
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.0044ce28
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