Function at 0x12e2f
Capabilities:
Create device object
Encode data using xor
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc68
push ebx
push esi
push edi
push 7
pop ecx
mov esi, section..codet
lea edi, [ebp - 0x40]
push 9
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
mov esi, 0x12460
lea edi, [ebp - 0x68]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x2ff
xor eax, eax
lea edi, [ebp - 0xc67]
mov byte [ebp - 0xc68], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, sym.imp.ntoskrnl.exe_ZwPulseEvent
lea eax, sym.imp.ntoskrnl.exe_ProbeForWrite
lea eax, sym.imp.HAL.dll_KfAcquireSpinLock
lea eax, sym.imp.HAL.dll_KfReleaseSpinLock
push ebx
lea eax, [ebp - 0xc68]
push 0xc00
push eax
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov eax, dword [ebp - 0xc5c]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x12ebe
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax + 8], 0x39e732ed
je 0x133fd
xor esi, esi
push 0x12488
call section..text
push 0x124bc
call section..text
push 0x124f0
call section..text
push 0x12524
call section..text
push 0x12558
call section..text
push 0x1258c
call section..text
push 0x125c0
call section..text
push 0x125f4
call section..text
push 0x12628
call section..text
push 0x1265c
call section..text
push dword [esi + 0x13f00]
push dword [ebp - 8]
call fcn.00012170
push 0x12690
mov edi, eax
call section..text
push 0x126c4
call section..text
push 0x126f8
call section..text
push 0x1272c
call section..text
push 0x12760
call section..text
push 0x12794
call section..text
push 0x127c8
call section..text
push 0x127fc
call section..text
push 0x12830
call section..text
push 0x12864
call section..text
cmp edi, ebx
je 0x13073
push 0x12898
call section..text
push 0x128cc
call section..text
push 0x12900
call section..text
push 0x12934
call section..text
push 0x12968
call section..text
push 0x1299c
call section..text
push 0x129d0
call section..text
push 0x12a04
call section..text
push 0x12a38
call section..text
push 0x12a6c
call section..text
mov eax, dword [ebp - 8]
push 0x12aa0
add edi, eax
mov dword [esi + 0x13f68], edi
call section..text
push 0x12ad4
call section..text
push 0x12b08
call section..text
push 0x12b3c
call section..text
push 0x12b70
call section..text
push 0x12ba4
call section..text
push 0x12bd8
call section..text
push 0x12c0c
call section..text
push 0x12c40
call section..text
push 0x12c74
call section..text
add esi, 4
cmp esi, 0x60
jl 0x12ec0
mov eax, dword [0x13f68]
mov dword [0x13fc8], eax
mov eax, dword [0x13f6c]
mov dword [0x13fcc], eax
mov eax, dword [0x13f70]
mov dword [0x13fd0], eax
mov eax, dword [0x13f74]
mov dword [0x13fd4], eax
mov eax, dword [0x13f78]
mov dword [0x13fd8], eax
mov eax, dword [0x13f7c]
mov dword [0x13fdc], eax
mov eax, dword [0x13f80]
mov dword [0x13fe0], eax
mov eax, dword [0x13f84]
mov dword [0x13fe4], eax
mov eax, dword [0x13f88]
mov dword [0x13fe8], eax
mov eax, dword [0x13f8c]
mov dword [0x13fec], eax
mov eax, dword [0x13f90]
mov dword [0x13ff0], eax
mov eax, dword [0x13f94]
mov dword [0x13ff4], eax
mov eax, dword [0x13f98]
mov dword [0x13ff8], eax
mov eax, dword [0x13f9c]
mov dword [0x13ffc], eax
mov eax, dword [0x13fa0]
mov dword [0x14000], eax
mov eax, dword [0x13fa4]
mov dword [0x14004], eax
mov eax, dword [0x13fa8]
mov dword [0x14008], eax
mov eax, dword [0x13fac]
mov dword [0x1400c], eax
mov eax, dword [0x13fb0]
mov dword [0x14010], eax
mov eax, dword [0x13fb4]
mov dword [0x14014], eax
mov eax, dword [0x13fb8]
mov dword [0x14018], eax
mov eax, dword [0x13fbc]
mov dword [0x1401c], eax
mov eax, dword [0x13fc0]
mov dword [0x14020], eax
mov eax, dword [0x13fc4]
mov dword [0x14024], eax
call fcn.000123eb
mov dword [0x14028], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [0x1400c]
mov edx, dword [ebp + 8]
push 0x1b
pop ecx
mov eax, 0x123aa
lea edi, [edx + 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
mov dword [edx + 0x70], 0x11e2b
push eax
push ebx
push ebx
lea eax, [ebp - 0x18]
push 0x22
push eax
push 0x10
push edx
mov dword [edx + 0x34], 0x138c6
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [0x1400c]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
push 0x12ca8
push 0x12cbc
call fcn.00012002
push 0x12cc4
push 0x12cdc
mov dword [0x14040], eax
call fcn.00012002
push 0x12ce4
push 0x12cf0
mov dword [0x14044], eax
call fcn.00012002
cmp dword [0x14040], ebx
mov dword [0x14048], eax
je 0x133fd
cmp dword [0x14044], ebx
je 0x133fd
cmp eax, ebx
je 0x133fd
mov byte [section..s2data], 0x4d
mov byte [0x14061], 0x41
mov byte [0x14062], 0x50
mov byte [0x14090], 0x44
mov byte [0x14091], 0x4e
mov byte [0x14092], 0x46
mov byte [0x140c0], 0x77
mov byte [0x140f0], 0x77
mov byte [0x14120], 0x68
mov byte [section..s1data], 0x56
mov byte [0x14281], 0x33
mov byte [0x142a3], 0x41
mov byte [0x142a4], 0x56
mov byte [0x142c6], 0x56
mov byte [0x142c7], 0x33
mov byte [0x142e9], 0x65
mov byte [0x142ea], 0x6b
mov byte [0x1430c], 0x65
mov byte [0x1430d], 0x67
mov byte [0x1432f], 0x6e
mov byte [0x14330], 0x61
mov byte [0x14352], 0x63
mov byte [0x14353], 0x63
xor eax, eax
xor byte [eax + section..ESTisb], 0x63
inc eax
cmp eax, 0xac0
jl 0x132d5
push dword [0x13f64]
lea eax, [ebp - 0x10]
push eax
call dword [0x1400c]
lea eax, [ebp - 0x10]
push eax
call dword [0x13fe4]
cmp eax, ebx
mov dword [0x1404c], eax
je 0x133fd
push dword [0x13f60]
lea eax, [ebp - 0x10]
push eax
call dword [0x1400c]
lea eax, [ebp - 0x10]
push eax
call dword [0x13fe4]
cmp eax, ebx
mov dword [0x14050], eax
je 0x133fd
push dword [sym.imp.ntoskrnl.exe_ZwPulseEvent]
call fcn.00012130
cmp eax, ebx
mov dword [0x14054], eax
je 0x133fd
push 0x20000
push ebx
call dword [0x13fc8]
mov edi, eax
cmp edi, ebx
mov dword [0x14030], edi
je 0x133fd
mov ecx, 0x8000
xor eax, eax
push 0x14034
rep stosd dword es:[edi], eax
push dword [0x14030]
push section..ESTisb
call fcn.00011216
test eax, eax
jne 0x133b5
push 0x12cf8
call section..text
push dword [0x14030]
call dword [0x13fcc]
push 0x12d2c
call section..text
mov dword [0x14030], ebx
push 0x12d60
jmp 0x133f8
push 0x10000
push ebx
call dword [0x13fc8]
mov edi, eax
cmp edi, ebx
mov dword [0x1402c], edi
jne 0x13409
push 0x12d94
call section..text
push dword [0x14030]
call dword [0x13fcc]
push 0x12dc8
call section..text
mov dword [0x14030], ebx
push 0x12dfc
call section..text
mov eax, 0xc0000001
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, 0x4000
xor eax, eax
rep stosd dword es:[edi], eax
push section..code1
call dword [0x14050]
call fcn.000117c0
xor eax, eax
jmp 0x13402