Function at 0x100290a0
Capabilities:
Encode data using xor
Hash data with crc32
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d9cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x154], ecx
lea eax, [ebp - 0x130]
mov dword [ebp - 4], 0
push eax
xor esi, esi
push 8
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x130], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100291ce
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
xor edi, edi
push eax
push edi
push edi
push 1
push dword [ebp - 0x130]
call esi
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x10029142
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
push ecx
push eax
push edi
push 1
push dword [ebp - 0x130]
call esi
test eax, eax
je 0x100291b9
mov esi, dword [edi]
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x150], 0x14
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x14c], 0x14
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x8c]
push eax
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
push str.ConvertSidToStringSidW
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x128]
push ecx
push esi
call eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebp - 0x128], 0
je 0x1002980b
cmp dword [ebp + 0x1c], 0x10
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 0x134], edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100291f1
push 0
push 0
sub ecx, esi
push ecx
push edx
push 0
push 0
mov dword [ebp - 0x138], ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea esi, [edi*2 + 2]
push esi
call fcn.100bd8fa
push esi
mov esi, eax
mov dword [ebp - 0x148], eax
push 0
push esi
call fcn.100b7060
add esp, 0x10
push edi
push esi
push dword [ebp - 0x138]
push dword [ebp - 0x134]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x128]
xor eax, eax
mov word [esi + edi*2], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029260
sub ecx, edx
mov edx, esi
sar ecx, 1
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10029274
sub edx, esi
sar edx, 1
lea eax, [edx + ecx]
lea esi, [eax*2 + 8]
push esi
call fcn.100bd8fa
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x144], edi
call fcn.100b7060
mov ecx, dword [ebp - 0x128]
mov edx, edi
add esp, 0x10
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x100292b1
lea ecx, [edi - 2]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x100292c4
mov eax, dword [0x100eeb88]
mov edx, dword [ebp - 0x148]
mov esi, edx
mov dword [ecx], eax
mov eax, dword [0x100eeb8c]
mov dword [ecx + 4], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100292e7
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10029300
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x144]
mov edx, eax
mov dword [ebp - 0x11c], edx
mov ecx, esi
movzx eax, word [ecx]
add ecx, 4
test ax, ax
jne 0x10029330
sub ecx, esi
mov byte [ebp - 0x36], 0x80
sar ecx, 2
mov eax, 0x51eb851f
mul edx
dec ecx
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp - 0x120]
mov byte [ebp - 0x3c], al
mov eax, 0x10624dd3
mov cl, byte [esi]
shr edx, 5
mov byte [ebp - 0x3a], dl
mul dword [ebp - 0x11c]
mov byte [ebp - 0x3b], cl
mov eax, 0xd1b71759
shr edx, 6
add cl, 2
add dl, 6
mov byte [ebp - 0x39], dl
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 0x37], dl
mul edx
mov eax, dword [ebp - 0x120]
shr edx, 0xd
add cl, dl
mov byte [ebp - 0x38], dl
cdq
sub eax, edx
mov byte [ebp - 0x35], cl
imul ecx, dword [ebp - 0x120], 0x2710
sar eax, 1
push 0x8c
push 0
movzx eax, word [esi + eax*4]
add eax, dword [ebp - 0x11c]
add ecx, eax
mov eax, 0x51d07eaf
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x11c]
mul ecx
imul eax, dword [ebp - 0x120], 0x64
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0xb
inc eax
add eax, ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x118]
push eax
call fcn.100b7060
add esp, 8
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x118]
push eax
call fcn.1002f740
mov ecx, esi
add esp, 8
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029410
sub ecx, edx
sar ecx, 1
lea esi, [ecx*2 + 2]
mov eax, esi
and eax, 0x80000007
jns 0x10029436
dec eax
or eax, 0xfffffff8
add eax, 1
je 0x1002944c
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
lea edi, [eax*8 + 8]
jmp 0x1002944e
mov edi, esi
push edi
call fcn.100bd8fa
push edi
push esi
push eax
mov dword [ebp - 0x138], eax
call fcn.100b7060
push esi
push dword [ebp - 0x144]
mov esi, dword [ebp - 0x138]
push esi
call fcn.100b6ae0
push edi
call fcn.100bd8fa
push edi
push 0
push eax
mov dword [ebp - 0x140], eax
call fcn.100b7060
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x18]
push 1
push eax
lea eax, [ebp - 0x118]
xorps xmm0, xmm0
push eax
push edi
mov ecx, esi
movlpd qword [ebp - 0x18], xmm0
call fcn.100303d0
push 0x8c
lea eax, [ebp - 0x118]
mov dword [ebp - 0x20], 0x87a123
push 0
push eax
mov dword [ebp - 0x1c], 0xf1459b4f
mov dword [ebp - 0x18], 0x20396443
mov dword [ebp - 0x14], 0xd44214f3
call fcn.100b7060
add esp, 0x44
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x118]
push eax
call fcn.1002f740
add edi, 0x10
mov dword [ebp - 0x18], 0x20396443
push edi
mov dword [ebp - 0x14], 0xd44214f3
mov dword [ebp - 0x124], edi
call fcn.100bd8fa
push edi
mov dword [ebp - 0x120], eax
call fcn.100bd8fa
push edi
mov esi, eax
push 0
push esi
mov dword [ebp - 0x134], esi
call fcn.100b7060
push edi
push 0
push dword [ebp - 0x120]
call fcn.100b7060
mov ecx, dword [ebp - 0x120]
lea eax, [edi - 0x10]
movups xmm0, xmmword [ebp - 0x3c]
push eax
push dword [ebp - 0x140]
lea eax, [ecx + 0x10]
push eax
movups xmmword [ecx], xmm0
call fcn.100b6ae0
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x18]
push 1
push eax
lea eax, [ebp - 0x118]
mov edx, esi
push eax
push edi
call fcn.1002ff20
add esp, 0x44
lea esi, [edi*2 + 1]
push esi
call fcn.100bd8fa
push esi
push 0
push eax
mov dword [ebp - 0x11c], eax
call fcn.100b7060
add esp, 0x10
xor esi, esi
test edi, edi
jle 0x100295c5
mov edi, dword [ebp - 0x11c]
nop
mov eax, dword [ebp - 0x134]
movzx eax, byte [esi + eax]
push eax
push str._02X
push edi
call fcn.100038c0
inc esi
add esp, 0xc
add edi, 2
cmp esi, dword [ebp - 0x124]
jl 0x100295a0
mov edx, dword [ebp - 0x11c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100295d0
push 0
push 0
sub ecx, esi
push ecx
push edx
push 0
push 0
mov dword [ebp - 0x124], ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea esi, [edi*2 + 2]
push esi
call fcn.100bd8fa
push esi
mov esi, eax
mov dword [ebp - 0x13c], eax
push 0
push esi
call fcn.100b7060
add esp, 0x10
push edi
push esi
push dword [ebp - 0x124]
push dword [ebp - 0x11c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov ecx, esi
xorps xmm0, xmm0
mov word [esi + edi*2], ax
movq qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x24], al
movq qword [ebp - 0x1c], xmm0
lea edx, [ecx + 2]
mov byte [ebp - 0x14], al
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029650
sub ecx, edx
xor esi, esi
sar ecx, 1
xor edx, edx
lea edi, [ecx + ecx]
test edi, edi
jle 0x1002968e
nop word [eax + eax]
mov eax, dword [ebp - 0x13c]
movzx ecx, byte [esi + eax]
inc esi
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100e9148]
cmp esi, edi
jl 0x10029670
not edx
lea eax, [ebp - 0x2c]
push edx
push str._08X
push eax
call fcn.100038c0
movzx eax, byte [ebp - 0x26]
lea esi, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
lea ecx, [esi + 1]
movzx eax, byte [ebp - 0x25]
add esp, 0xc
mov byte [ebp - 0x1b], al
movzx eax, byte [ebp - 0x28]
mov byte [ebp - 0x1a], al
movzx eax, byte [ebp - 0x27]
mov byte [ebp - 0x19], al
movzx eax, byte [ebp - 0x2a]
mov byte [ebp - 0x18], al
movzx eax, byte [ebp - 0x29]
mov byte [ebp - 0x17], al
movzx eax, byte [ebp - 0x2c]
mov byte [ebp - 0x16], al
movzx eax, byte [ebp - 0x2b]
mov byte [ebp - 0x15], al
mov al, byte [esi]
inc esi
test al, al
jne 0x100296e0
sub esi, ecx
mov ecx, dword [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100296f2
sub ecx, edx
lea eax, [ecx + 7]
add eax, esi
push eax
mov dword [ebp - 0x124], eax
call fcn.100bd8fa
push dword [ebp - 0x124]
mov edi, eax
push 0
push edi
call fcn.100b7060
mov eax, dword [str.QBCI01]
mov dword [edi], eax
mov ax, word [0x100eeb9c]
mov word [edi + 4], ax
lea eax, [ebp - 0x1c]
push esi
push eax
lea eax, [edi + 6]
push eax
call fcn.100b6ae0
mov edx, dword [ebp - 0x11c]
add esp, 0x1c
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029750
sub ecx, dword [ebp - 0x14]
lea eax, [esi + 6]
push ecx
push edx
add eax, edi
push eax
call fcn.100b6ae0
push 0x100ee038
push dword [ebp - 0x154]
call fcn.100bed8c
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10029798
push esi
push 1
push dword [ebp - 0x124]
push edi
call fcn.100befdb
push esi
call fcn.100bf0a9
add esp, 0x14
push edi
call fcn.100bd905
push dword [ebp - 0x13c]
call fcn.100bd905
push dword [ebp - 0x11c]
call fcn.100bd905
push dword [ebp - 0x134]
call fcn.100bd905
push dword [ebp - 0x120]
call fcn.100bd905
push dword [ebp - 0x140]
call fcn.100bd905
push dword [ebp - 0x138]
call fcn.100bd905
push dword [ebp - 0x144]
call fcn.100bd905
push dword [ebp - 0x148]
call fcn.100bd905
mov eax, dword [ebp - 0x128]
add esp, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, 1
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1002983b
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10029831
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029858
push edx
push ecx
call fcn.100b4813
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
call fcn.100ba02c
int3