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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp byte [ebx], 0
mov dword [ebp - 0xc], esi
je 0x4027ea
mov bl, byte [ebx + 1]
mov ecx, dword [esi + 0x18]
movzx eax, bl
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
and ecx, eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
mov edi, dword [eax + ecx*8]
mov edx, edi
lea ecx, [eax + ecx*8]
nop word [eax + eax]
cmp edi, esi
jne 0x4027c8
mov eax, esi
jmp 0x4027cd
mov eax, dword [ecx + 4]
mov eax, dword [eax]
cmp edx, eax
je 0x4027da
cmp byte [edx + 8], bl
je 0x4027dc
mov edx, dword [edx]
jmp 0x4027c0
mov edx, esi
pop edi
cmp edx, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebx + 0x14]
add ebx, 4
mov dword [ebp - 8], edi
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x4027fd
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x402819
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x402808
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x2c]
and eax, edx
mov edi, dword [edi + 0x24]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0x10], edx
mov esi, edx
mov dword [ebp - 0x14], eax
nop dword [eax + eax]
cmp edx, edi
jne 0x402848
mov eax, edi
jmp 0x40284c
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4028b6
cmp dword [ebx + 0x14], 0x10
lea ecx, [esi + 8]
mov eax, ebx
jb 0x40285d
mov eax, dword [ebx]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 4], edx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x18], edx
cmp edx, 0x10
jb 0x402870
mov ecx, dword [ecx]
push dword [ebp - 8]
mov edx, dword [ebp - 4]
push eax
call fcn.00413890
add esp, 8
test al, al
jne 0x40288d
mov esi, dword [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x402840
cmp dword [ebp - 0x18], 0x10
lea eax, [esi + 8]
jb 0x402898
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
jb 0x4028a0
mov ebx, dword [ebx]
push dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, ebx
push eax
call fcn.00413890
add esp, 8
test al, al
cmovne edi, esi
mov eax, dword [ebp - 0xc]
cmp edi, dword [eax + 0x24]
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e1eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x48c084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
lea ecx, [esi + 0xc]
mov dword [esi], vtable._.20.0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
call fcn.0040b000
mov dword [ebp - 4], 0
mov dword [esi], vtable..21.0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
lea edi, [esi + 0x30]
mov dword [edi + 0x24], 0
mov dword [ebp + 8], edi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x404a0b
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x405230
Capabilities:
Get number of processors

Disassembly:
mov edx, dword [ecx]
mov eax, dword [ecx + 0x88]
push esi
lea esi, [ecx + 8]
lea ecx, [esi + 0x64]
mov dword [edx + 0x11c], eax
call fcn.0040c130
lea ecx, [esi + 0x58]
call fcn.0040c130
mov ecx, esi
pop esi
jmp fcn.00404a20
Function at 0x40ce40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dc10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x48c084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable._v..0
call fcn.0044779a
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0042ed08
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 0x410f10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f320
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48c084]
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 0x410f5d
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x410f85
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x410f70
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 0x410ffe
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, dword [ecx]
je 0x410ffe
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jb 0x410fba
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x410fc4
mov ecx, dword [edi]
push edx
mov edx, dword [edi + 0x10]
push eax
call fcn.00413890
mov ecx, dword [ebp - 0x20]
add esp, 8
test al, al
je 0x410fa5
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.004474f7
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.00414e10
mov edx, dword [ebp - 0x1c]
mov edi, eax
mov ecx, 0x7fffffe
mov eax, dword [edx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x4110c0
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 0x411077
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.00413b80
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 2
call fcn.00413cb0
mov dword [ebx], edi
mov byte [ebx + 4], 1
jmp 0x410fde
push str.list_T__too_long
call fcn.0042f07e
int3
Function at 0x4110d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f350
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48c084]
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 0x411141
mov esi, edx
jmp 0x411146
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x411178
mov esi, dword [esi + 4]
cmp cl, byte [esi + 8]
jne 0x411146
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.004474f7
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.00414df0
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 8]
sub ecx, eax
cmp ecx, 1
jb 0x411232
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 0x4111e7
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.00413b80
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00413ae0
mov dword [ebx], edi
mov byte [ebx + 4], 1
jmp 0x411158
push str.list_T__too_long
call fcn.0042f07e
int3
Function at 0x413d50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x48c084]
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 0x413d7d
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x413d99
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x413d88
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 0x413dd2
cmp eax, edi
jne 0x413dca
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 0x413dda
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x413dda
cmp eax, edi
jne 0x413ddd
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.0040d160
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.004474f7
mov esp, ebp
pop ebp
ret 8
Function at 0x414a60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f710
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x48c084]
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 0x414b25
mov esi, dword [edi + 4]
mov esi, dword [esi]
nop
cmp esi, eax
je 0x414b25
mov esi, dword [esi + 4]
cmp cl, byte [esi + 8]
jne 0x414ad0
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.00447b45
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.004474f7
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 0x414b55
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.00413b80
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 2
call fcn.00413ae0
mov dword [ebx], edi
mov byte [ebx + 4], 1
jmp 0x414b05
Function at 0x414ba0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f740
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48c084]
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 0x414bf3
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x414c14
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x414c00
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 0x414cab
mov esi, dword [eax + 4]
mov esi, dword [esi]
cmp esi, dword [eax]
je 0x414cab
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jb 0x414c49
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x414c53
mov ecx, dword [edi]
push edx
push eax
mov edx, ebx
call fcn.00413890
add esp, 8
test al, al
mov eax, dword [ebp - 0x18]
je 0x414c34
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.0040d160
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.004474f7
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 0x414cd8
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.00413b80
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00413cb0
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x414c8d
Function at 0x419710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dc10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x48c084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.f.1.0
call fcn.0044779a
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0042ed08
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 0x41c200
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ff46
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x48c084]
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.00449b30
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 0x41c2c6
lea esi, [ebp - 0x220]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41c294
sub esi, ecx
mov ecx, ebx
sar esi, 1
cmp dword [ebx + 0x14], 8
jb 0x41c2ad
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 0x220]
push esi
push eax
push 0
call fcn.00419c40
add esp, 0xc
test eax, eax
je 0x41c313
inc edi
cmp di, 0x5a
jbe 0x41c250
mov ebx, dword [ebp - 0x224]
xor eax, eax
push eax
push 0x4827b0
mov ecx, ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
call fcn.0040c290
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.004474f7
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 0x41c471
sub ecx, eax
or edx, 0xffffffff
cmp ecx, 0xffffffff
cmovb edx, ecx
cmp dword [ebx + 0x14], 8
jb 0x41c35b
mov ebx, dword [ebx]
push edx
lea eax, [ebx + eax*2]
push eax
lea ecx, [ebp - 0x254]
call fcn.0040c290
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 0x41c395
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x23c]
call fcn.0040c290
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.0041c8a0
mov edx, dword [ebp - 0x228]
add esp, 0xc
cmp edx, 8
jb 0x41c411
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c407
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c476
push edx
push ecx
call fcn.00447b45
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 0x41c46a
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c460
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c47b
push edx
push ecx
call fcn.00447b45
add esp, 8
mov eax, esi
jmp 0x41c2f5
call fcn.0040d1c0
call fcn.0044ca29
call fcn.0044ca29
int3
Function at 0x41c490
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
xor edx, edx
push esi
lea esi, [ecx + 4]
test eax, eax
je 0x41c4b1
nop dword [eax]
lea eax, [edx + 0xb8]
xor word [esi + edx*2], ax
inc edx
mov eax, dword [ecx]
cmp edx, eax
jb 0x41c4a0
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, esi
pop esi
ret

Function at 0x41fab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470339
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48c084]
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 0x41fb05
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 0x41fba9
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.0041aaa0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41fb51
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x41fb59
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 0x41fb79
push eax
push str.Cannot_get_string_value:_RegGetValue_failed.
jmp 0x41fbaf
mov ecx, dword [ebp - 0x14]
shr ecx, 1
dec ecx
push 0
push ecx
mov ecx, esi
call fcn.0041aaa0
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.004474f7
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.00415370
push 0x48ad7c
lea eax, [ebp - 0x2c]
push eax
call fcn.00448fb5
int3