Function at 0x101a168
Capabilities:
Bypass windows file protection

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1033f70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x22c], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x220], ebx
cmp edi, ebx
jne 0x101a1c5
xor eax, eax
jmp 0x101a410
push 0x1011ba4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x218], eax
cmp eax, ebx
je 0x101a3cc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1011b8c
push eax
call esi
push 0x1011b74
push dword [ebp - 0x218]
mov dword [ebp - 0x210], eax
call esi
push 0x1011b5c
push dword [ebp - 0x218]
mov dword [ebp - 0x224], eax
call esi
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x210], ebx
je 0x101a3cb
cmp dword [ebp - 0x224], ebx
je 0x101a3cb
cmp eax, ebx
je 0x101a3cb
lea eax, [ebp - 0x214]
push eax
push ebx
push ebx
call dword [ebp - 0x210]
test eax, eax
je 0x101a3cb
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x103
push dword [edi + 4]
call fcn.0101e8c1
test eax, eax
je 0x101a3cb
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x101a27e
push eax
call fcn.01022c12
push 0x20000
push 0x32
push 0x1388
push 3
push dword [edi + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.010243a4
mov dword [edi + 0x1c], eax
cmp eax, ebx
je 0x101a3cb
mov eax, 0x1011b50
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x101a2ae
mov edi, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
sub eax, ecx
mov ecx, dword fs:[0x18]
sar eax, 1
mov dword [ebp - 0x230], eax
mov eax, 0x100
push eax
mov dword [ebp - 0x210], eax
mov eax, dword [ecx + 0x30]
push 8
push dword [eax + 0x18]
call edi
mov esi, eax
cmp esi, ebx
je 0x101a3cb
mov dword [ebp - 0x21c], ebx
jmp 0x101a328
mov eax, dword [esi]
shr eax, 1
sub eax, dword [ebp - 0x230]
push 0x1011b50
lea eax, [esi + eax*2 + 4]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x101a328
push dword [esi]
lea eax, [esi + 4]
push eax
push dword [ebp - 0x228]
call fcn.01019fcb
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push ebx
call dword [ebp - 0x224]
test eax, eax
jne 0x101a2f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x101a393
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword fs:[0x18]
push dword [ebp - 0x21c]
mov eax, dword [eax + 0x30]
push 8
push dword [eax + 0x18]
call edi
mov esi, eax
cmp esi, ebx
je 0x101a3cb
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x210], eax
jmp 0x101a2ef
mov edi, dword [ebp - 0x228]
push dword [edi + 0x1c]
call fcn.01023fdc
push dword [edi + 0x1c]
call fcn.010238bd
mov dword [ebp - 0x22c], 1
cmp esi, ebx
je 0x101a3cb
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop esi
cmp dword [ebp - 0x214], ebx
je 0x101a3f6
cmp dword [ebp - 0x218], ebx
je 0x101a40a
cmp dword [ebp - 0x220], ebx
je 0x101a3f6
push dword [ebp - 0x214]
call dword [ebp - 0x220]
mov dword [ebp - 0x214], ebx
cmp dword [ebp - 0x218], ebx
je 0x101a40a
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0101c23d
leave
ret 4