Function at 0x421a91
Capabilities:
Encode data using xor
Enumerate device drivers on windows

Disassembly:
push 0x8d8
mov eax, 0x43b570
call fcn.00427d33
mov dword [ebp - 0x878], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0xf
mov dword [ebp - 0x8b0], ebx
pop ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x874], esi
mov dword [ebp - 0x8b4], esi
mov byte [esi], bl
xor eax, eax
mov dword [ebp - 0x828], ecx
inc eax
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x8b0], eax
mov byte [ebp - 0x83c], bl
mov dword [ebp - 4], eax
mov dword [ebp - 0x894], ebx
mov dword [ebp - 0x88c], ebx
mov dword [ebp - 0x888], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x880], ebx
mov dword [ebp - 0x87c], ebx
call fcn.004078d5
mov dword [ebp - 0x880], eax
lea eax, [ebp - 0x880]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x894]
call fcn.0040c7b9
lea ecx, [ebp - 0x880]
call fcn.0040747e
xor eax, eax
mov dword [ebp - 0x840], 7
mov dword [ebp - 0x844], ebx
mov word [ebp - 0x854], ax
lea eax, [ebp - 0x870]
mov byte [ebp - 4], 4
push eax
push ebx
push ebx
mov ebx, dword [sym.imp.PSAPI.DLL_EnumDeviceDrivers]
call ebx
test eax, eax
je 0x421c3c
mov ecx, dword [ebp - 0x870]
test ecx, ecx
je 0x421c3c
xor eax, eax
shr ecx, 2
lea edi, [ebp - 0x820]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x87c], eax
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x87c]
push eax
push ecx
lea ecx, [ebp - 0x820]
call fcn.00422122
lea eax, [ebp - 0x870]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x870]
push dword [ebp - 0x820]
call ebx
test eax, eax
je 0x421c27
mov edi, dword [ebp - 0x870]
xor ebx, ebx
shr edi, 2
test edi, edi
jle 0x421c27
mov esi, dword [ebp - 0x820]
push 0x400
lea eax, [ebp - 0x814]
push eax
push dword [esi + ebx*4]
call dword [sym.imp.PSAPI.DLL_GetDeviceDriverBaseNameW]
test eax, eax
je 0x421c1c
lea ecx, [ebp - 0x814]
call fcn.00402286
push eax
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x854]
call fcn.00405183
inc ebx
cmp ebx, edi
jl 0x421be5
mov esi, dword [ebp - 0x874]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x820]
test eax, eax
je 0x421c3c
push eax
call fcn.00424218
pop ecx
push 0
call fcn.00424dca
mov ebx, eax
mov dword [esp], str.time
lea ecx, [ebp - 0x8ac]
mov dword [ebp - 0x874], ebx
mov edi, edx
call fcn.00401557
and dword [ebp - 0x81c], 0
and dword [ebp - 0x818], 0
mov dword [ebp - 0x824], 6
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], edi
lea eax, [ebp - 0x824]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x8ac]
push eax
lea ecx, [ebp - 0x894]
call fcn.004068f8
mov ecx, eax
call fcn.0040d846
mov ecx, eax
call fcn.0040c740
lea ecx, [ebp - 0x824]
call fcn.004067e5
xor ebx, ebx
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x8ac]
call fcn.004016fc
cmp dword [ebp - 0x844], ebx
jbe 0x421d7d
push str.hash
lea ecx, [ebp - 0x8ac]
call fcn.00401557
lea edx, [ebp - 0x854]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8cc]
call fcn.004121e4
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8e4]
call fcn.00413495
push eax
lea ecx, [ebp - 0x824]
mov byte [ebp - 4], 0xa
call fcn.0040c6cc
push eax
lea eax, [ebp - 0x8ac]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x894]
call fcn.004068f8
mov ecx, eax
call fcn.0040d846
mov ecx, eax
call fcn.0040c740
lea ecx, [ebp - 0x824]
call fcn.004067e5
push ebx
push 1
lea ecx, [ebp - 0x8e4]
call fcn.004016fc
push ebx
push 1
lea ecx, [ebp - 0x8cc]
call fcn.004016fc
push ebx
push 1
lea ecx, [ebp - 0x8ac]
mov byte [ebp - 4], 4
call fcn.004016fc
push 0x445ccc
lea ecx, [ebp - 0x8ac]
call fcn.00401557
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x824]
mov ebx, dword [ebp - 0x878]
lea eax, [ebx + 0x270]
push eax
call fcn.0040e79a
push eax
lea eax, [ebp - 0x8ac]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x894]
call fcn.004068f8
mov ecx, eax
call fcn.0040d846
mov ecx, eax
call fcn.0040c740
lea ecx, [ebp - 0x824]
call fcn.004067e5
push 0
push 1
lea ecx, [ebp - 0x8ac]
mov byte [ebp - 4], 4
call fcn.004016fc
push 0x445cc8
lea ecx, [ebp - 0x8ac]
call fcn.00401557
mov eax, dword [ebx + 0x2a0]
mov ecx, dword [ebx + 0x2a4]
and dword [ebp - 0x81c], 0
and dword [ebp - 0x818], 0
mov dword [ebp - 0x824], 6
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x818], ecx
lea eax, [ebp - 0x824]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x8ac]
push eax
lea ecx, [ebp - 0x894]
call fcn.004068f8
mov ecx, eax
call fcn.0040d846
mov ecx, eax
call fcn.0040c740
lea ecx, [ebp - 0x824]
call fcn.004067e5
push 0
push 1
lea ecx, [ebp - 0x8ac]
mov byte [ebp - 4], 4
call fcn.004016fc
push str.disk
lea ecx, [ebp - 0x8ac]
call fcn.00401557
mov eax, dword [ebx + 0x2a8]
mov ecx, dword [ebx + 0x2ac]
and dword [ebp - 0x81c], 0
and dword [ebp - 0x818], 0
mov dword [ebp - 0x824], 6
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x818], ecx
lea eax, [ebp - 0x824]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x8ac]
push eax
lea ecx, [ebp - 0x894]
call fcn.004068f8
mov ecx, eax
call fcn.0040d846
mov ecx, eax
call fcn.0040c740
lea ecx, [ebp - 0x824]
call fcn.004067e5
push 0
push 1
lea ecx, [ebp - 0x8ac]
mov byte [ebp - 4], 4
call fcn.004016fc
push ecx
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x894]
call fcn.0040e93f
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x83c]
movzx eax, byte [ebx]
push eax
push 1
call fcn.00412491
mov eax, dword [ebp - 0x874]
mov ecx, eax
shrd ecx, edi, 8
xor cl, al
sar edi, 8
mov byte [ebp - 0x878], cl
push dword [ebp - 0x878]
mov dword [ebp - 0x874], ecx
push ecx
lea ecx, [ebp - 0x83c]
call fcn.004109a7
xor edi, edi
cmp dword [ebp - 0x85c], edi
jbe 0x421f97
cmp dword [ebp - 0x858], 0x10
lea eax, [ebp - 0x86c]
cmovae eax, dword [ebp - 0x86c]
mov al, byte [eax + edi]
xor al, byte [ebx]
xor al, byte [ebp - 0x874]
movzx eax, al
push eax
push ecx
lea ecx, [ebp - 0x83c]
call fcn.004109a7
inc edi
cmp edi, dword [ebp - 0x85c]
jb 0x421f5f
lea edx, [ebp - 0x83c]
lea ecx, [ebp - 0x8cc]
call fcn.004123f6
push eax
mov ecx, esi
call fcn.00410332
xor edi, edi
lea ecx, [ebp - 0x8cc]
push edi
push 1
call fcn.004016fc
cmp dword [esi + 0x14], 0x10
jb 0x421fca
mov eax, dword [esi]
jmp 0x421fcc
mov eax, esi
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
lea edx, [eax + ecx]
mov dword [ebp - 0x87c], edx
jb 0x421fe2
mov eax, dword [esi]
jmp 0x421fe4
mov eax, esi
add ecx, eax
cmp dword [esi + 0x14], 0x10
jb 0x421ff0
mov eax, dword [esi]
jmp 0x421ff2
mov eax, esi
cmp eax, ecx
je 0x422043
cmp byte [eax], 0x20
jl 0x422000
inc eax
cmp eax, ecx
jne 0x421ff6
cmp eax, ecx
je 0x422043
and dword [ebp - 0x878], 0
lea ebx, [eax + 1]
mov dword [ebp - 0x874], edi
mov edi, ecx
sub edi, ebx
cmp ebx, ecx
cmova edi, dword [ebp - 0x878]
test edi, edi
je 0x422041
mov ecx, dword [ebp - 0x874]
mov dl, byte [ebx]
cmp dl, 0x20
jl 0x422035
mov byte [eax], dl
inc eax
inc ebx
inc ecx
cmp ecx, edi
jne 0x42202b
mov edx, dword [ebp - 0x87c]
xor edi, edi
push edx
push eax
lea eax, [ebp - 0x878]
mov ecx, esi
push eax
call fcn.0041e8e3
push edi
push 1
lea ecx, [ebp - 0x86c]
call fcn.004016fc
push edi
push 1
lea ecx, [ebp - 0x854]
call fcn.004017dc
lea ecx, [ebp - 0x894]
call fcn.004067e5
push edi
push 1
lea ecx, [ebp - 0x83c]
call fcn.004016fc
mov eax, esi
call fcn.00427ce2
ret 4