joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401032
Capabilities:
Parse pe header

Disassembly:
pop edx
sbb edx, edx
add edx, edi
jmp 0x401028
and edx, ebx
pop edx
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push edi
call 0x401041
inc edi
pop edi
sbb edi, eax
call 0x40104a
inc edi
pop edi
or edi, esi
pop edi
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edx
add edx, esi
add edx, edx
and edx, ecx
sbb edx, edx
xor edx, ebx
jmp 0x40107b
xor edx, ebp
sbb edx, eax
pop edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push esi
call 0x401093
dec esi
pop esi
add esi, ebp
call 0x40109c
dec esi
pop esi
add esi, eax
pop esi
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ebx
call 0x4010c8
dec ebx
pop ebx
call 0x4010cf
dec ebx
pop ebx
add ebx, eax
sbb ebx, edi
pop ebx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push eax
call 0x4010f2
inc eax
pop eax
call 0x4010f9
inc eax
pop eax
add eax, esi
add eax, edi
pop eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401041
Capabilities:
Parse pe header

Disassembly:
pop edx
sbb edx, edx
add edx, edi
jmp 0x401028
and edx, ebx
pop edx
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push edi
call 0x401041
inc edi
pop edi
sbb edi, eax
call 0x40104a
inc edi
pop edi
or edi, esi
pop edi
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edx
add edx, esi
add edx, edx
and edx, ecx
sbb edx, edx
xor edx, ebx
jmp 0x40107b
xor edx, ebp
sbb edx, eax
pop edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push esi
call 0x401093
dec esi
pop esi
add esi, ebp
call 0x40109c
dec esi
pop esi
add esi, eax
pop esi
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ebx
call 0x4010c8
dec ebx
pop ebx
call 0x4010cf
dec ebx
pop ebx
add ebx, eax
sbb ebx, edi
pop ebx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push eax
call 0x4010f2
inc eax
pop eax
call 0x4010f9
inc eax
pop eax
add eax, esi
add eax, edi
pop eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40104a
Capabilities:
Parse pe header

Disassembly:
pop edx
sbb edx, edx
add edx, edi
jmp 0x401028
and edx, ebx
pop edx
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push edi
call 0x401041
inc edi
pop edi
sbb edi, eax
call 0x40104a
inc edi
pop edi
or edi, esi
pop edi
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edx
add edx, esi
add edx, edx
and edx, ecx
sbb edx, edx
xor edx, ebx
jmp 0x40107b
xor edx, ebp
sbb edx, eax
pop edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push esi
call 0x401093
dec esi
pop esi
add esi, ebp
call 0x40109c
dec esi
pop esi
add esi, eax
pop esi
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ebx
call 0x4010c8
dec ebx
pop ebx
call 0x4010cf
dec ebx
pop ebx
add ebx, eax
sbb ebx, edi
pop ebx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push eax
call 0x4010f2
inc eax
pop eax
call 0x4010f9
inc eax
pop eax
add eax, esi
add eax, edi
pop eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401093
Capabilities:
Enumerate pe sections

Disassembly:
pop edx
sbb edx, edx
add edx, edi
jmp 0x401028
and edx, ebx
pop edx
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push edi
call 0x401041
inc edi
pop edi
sbb edi, eax
call 0x40104a
inc edi
pop edi
or edi, esi
pop edi
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edx
add edx, esi
add edx, edx
and edx, ecx
sbb edx, edx
xor edx, ebx
jmp 0x40107b
xor edx, ebp
sbb edx, eax
pop edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push esi
call 0x401093
dec esi
pop esi
add esi, ebp
call 0x40109c
dec esi
pop esi
add esi, eax
pop esi
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ebx
call 0x4010c8
dec ebx
pop ebx
call 0x4010cf
dec ebx
pop ebx
add ebx, eax
sbb ebx, edi
pop ebx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push eax
call 0x4010f2
inc eax
pop eax
call 0x4010f9
inc eax
pop eax
add eax, esi
add eax, edi
pop eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40109c
Capabilities:
Enumerate pe sections

Disassembly:
pop edx
sbb edx, edx
add edx, edi
jmp 0x401028
and edx, ebx
pop edx
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push edi
call 0x401041
inc edi
pop edi
sbb edi, eax
call 0x40104a
inc edi
pop edi
or edi, esi
pop edi
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edx
add edx, esi
add edx, edx
and edx, ecx
sbb edx, edx
xor edx, ebx
jmp 0x40107b
xor edx, ebp
sbb edx, eax
pop edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push esi
call 0x401093
dec esi
pop esi
add esi, ebp
call 0x40109c
dec esi
pop esi
add esi, eax
pop esi
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ebx
call 0x4010c8
dec ebx
pop ebx
call 0x4010cf
dec ebx
pop ebx
add ebx, eax
sbb ebx, edi
pop ebx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push eax
call 0x4010f2
inc eax
pop eax
call 0x4010f9
inc eax
pop eax
add eax, esi
add eax, edi
pop eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4010c8
Capabilities:
Enumerate pe sections

Disassembly:
pop edx
sbb edx, edx
add edx, edi
jmp 0x401028
and edx, ebx
pop edx
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push edi
call 0x401041
inc edi
pop edi
sbb edi, eax
call 0x40104a
inc edi
pop edi
or edi, esi
pop edi
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edx
add edx, esi
add edx, edx
and edx, ecx
sbb edx, edx
xor edx, ebx
jmp 0x40107b
xor edx, ebp
sbb edx, eax
pop edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push esi
call 0x401093
dec esi
pop esi
add esi, ebp
call 0x40109c
dec esi
pop esi
add esi, eax
pop esi
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ebx
call 0x4010c8
dec ebx
pop ebx
call 0x4010cf
dec ebx
pop ebx
add ebx, eax
sbb ebx, edi
pop ebx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push eax
call 0x4010f2
inc eax
pop eax
call 0x4010f9
inc eax
pop eax
add eax, esi
add eax, edi
pop eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4010cf
Capabilities:
Enumerate pe sections

Disassembly:
pop edx
sbb edx, edx
add edx, edi
jmp 0x401028
and edx, ebx
pop edx
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push edi
call 0x401041
inc edi
pop edi
sbb edi, eax
call 0x40104a
inc edi
pop edi
or edi, esi
pop edi
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edx
add edx, esi
add edx, edx
and edx, ecx
sbb edx, edx
xor edx, ebx
jmp 0x40107b
xor edx, ebp
sbb edx, eax
pop edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push esi
call 0x401093
dec esi
pop esi
add esi, ebp
call 0x40109c
dec esi
pop esi
add esi, eax
pop esi
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ebx
call 0x4010c8
dec ebx
pop ebx
call 0x4010cf
dec ebx
pop ebx
add ebx, eax
sbb ebx, edi
pop ebx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push eax
call 0x4010f2
inc eax
pop eax
call 0x4010f9
inc eax
pop eax
add eax, esi
add eax, edi
pop eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402422
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push eax
call 0x402422
inc eax
pop eax
pop eax
call fcn.00402040
movzx eax, al
test eax, eax
jne 0x40243a
mov eax, 1
jmp 0x4024d3
call fcn.004021b0
movzx ecx, al
test ecx, ecx
jne 0x4024bf
push 1
push 0x403060
lea ecx, [ebp - 0x5c]
call fcn.00401c90
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
push 1
push 0x403080
lea ecx, [ebp - 0x3c]
call fcn.00401c90
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
push 0x10
mov ecx, dword [ebp - 0x18]
call fcn.00401000
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00401000
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00401e30
mov eax, 2
jmp 0x4024d3
call fcn.00402280
call fcn.004020b0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x406d6f
Capabilities:
Encode data using xor

Disassembly:
pop esi
adc al, 1
add bh, 5
dec esp
inc esp
add byte [eax], dl
push eax
inc esp
mov dword [0x5c73310], eax
ror byte [eax + eax], 1
and bh, al
add eax, 6
add dword [edi], ecx
push eax
add al, byte [eax]
clc
add bh, bh
jne 0x406d9c
push 0
push dword [0x100044d4]
call dword [0x10003010]
arpl word [ecx], ax
or al, 0x20
add byte [ebx], bl
adc al, 0x20
Function at 0x10001138
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000114f
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10001184
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x10001180
cmp edi, eax
jae 0x10001184
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x10001172
cmp edi, eax
jb 0x10001188
xor eax, eax
jmp 0x10001191
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x10001b10
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x1001fd10], 0
jne 0x10001b40
push 0x100181f0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10001b39
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1001fd14], eax
mov byte [0x1001fd10], 1
mov eax, dword [0x1001fd14]
test eax, eax
je 0x10001b58
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x10001b64
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4

Function at 0x10001bbc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x10001bca
push 0xd
pop eax
jmp 0x10001bfd
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10001bd1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10001c01
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1001d1c4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push ecx
push dword [esi]
mov dword [ebp - 0x21c], ecx
xor edi, edi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.10001b7e
mov ebx, eax
cmp ebx, edi
je 0x10001c67
cmp dword [ebp - 0x214], edi
je 0x10001c60
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x10001cff
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10001c8f
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.10001c01
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x10001d10
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x10001c6f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], edi
je 0x10001cda
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], edi
call fcn.10001b10
mov esi, eax
cmp dword [ebp - 0x214], edi
je 0x10001cfd
push dword [ebp - 0x214]
call ebx
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006cf8
leave
ret 4
cmp dword [ebp - 0x214], edi
je 0x10001d24
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x10001cff
Function at 0x10002cd5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x1001d1c4]
xor eax, ebp
mov dword [ebp + 0x398], eax
mov eax, dword [ebp + 0x3a4]
push esi
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp + 0x3a8]
push edi
lea esi, [ebp - 0x80]
mov edi, edx
mov dword [ebp - 0x74], ecx
call fcn.10002f59
and dword [ebp - 0x6c], 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10002d2f
call fcn.10001225
mov esi, eax
jmp 0x10002df0
push dword [ebp - 0x74]
push dword [ebp - 0x70]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10002d4c
call fcn.10001225
jmp 0x10002de7
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x10002d42
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x10002d83
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x6c], eax
je 0x10002d7c
lea eax, [ebp - 0x6c]
call fcn.10004cbe
mov eax, 0x8007000e
jmp 0x10002e02
push 2
push eax
call fcn.10005753
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x10002da0
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.1000514d
jmp 0x10002da6
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x10002db3
mov esi, 0x8007000e
jmp 0x10002de9
push esi
push dword [ebp - 0x6c]
push esi
push dword [ebp - 0x70]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x10002d42
mov edx, dword [ebp - 0x6c]
push dword [ebp + 0x3ac]
xor ecx, ecx
mov word [edx + eax*2], cx
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x80]
call fcn.10003682
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x6c], eax
je 0x10002e00
lea eax, [ebp - 0x6c]
call fcn.10004cbe
mov eax, esi
mov ecx, dword [ebp + 0x398]
pop edi
xor ecx, ebp
pop esi
call fcn.10006cf8
add ebp, 0x39c
leave
ret 0xc