Function at 0x101142c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x1029ad64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0xb8], ebx
xor ecx, ecx
push edi
mov dword [ebp - 0x8c], esi
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0x84], eax
cmp eax, edi
je 0x10114341
sub edi, eax
lea ecx, [ebp - 0xd4]
mov esi, edi
sar esi, 2
push esi
call fcn.10056660
push edi
push dword [ebp - 0x84]
mov dword [ebp - 0x94], eax
lea ecx, [eax + esi*4]
push eax
mov dword [ebp - 0xb4], ecx
call sub.VCRUNTIME140.dll_memmove
mov esi, dword [ebp - 0x8c]
add esp, 0xc
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc4], eax
lea eax, [esi + 0x10]
push eax
mov dword [ebp - 0x88], eax
call fcn.100b4a60
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [esi + 0x50]
mov dword [esi + 0xc], ebx
mov edi, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x84], eax
cmp esi, edi
je 0x10114396
nop dword [eax]
mov ecx, esi
call fcn.100632b0
add esi, 0x18
cmp esi, edi
jne 0x10114380
mov eax, dword [ebp - 0x84]
mov esi, dword [eax]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x88]
push esi
push dword [esi + 4]
push dword [esi]
call fcn.10042db0
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 4], eax
cmp byte [0x1029a888], bl
je 0x1011441d
cmp byte [0x1029a889], bl
jne 0x10114471
mov byte [0x1029a889], 1
xor esi, esi
nop
xor edx, edx
mov ebx, esi
xor edx, dword [0x1029a89c]
xor ebx, dword [0x1029a898]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0xac], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x1029a88a]
xor al, bl
mov byte [esi + 0x1029a88a], al
inc esi
cmp esi, 0xc
jb 0x101143d0
jmp 0x1011446b
xor esi, esi
nop
xor edx, edx
mov ebx, esi
xor edx, dword [0x1029a89c]
xor ebx, dword [0x1029a898]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0xac], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x1029a88a]
xor al, bl
mov byte [esi + 0x1029a88a], al
inc esi
cmp esi, 0xc
jb 0x10114420
mov ebx, dword [ebp - 0x90]
push 0xb
push 0x1029a88a
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
call fcn.100464c0
cmp dword [ebp - 8], 0x10
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x64], 0
cmovae edx, dword [ebp - 0x1c]
mov ecx, edx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101144c0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.100464c0
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x10114507
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101144fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10114b64
push edx
push ecx
call fcn.10138f1a
add esp, 8
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
mov byte [ebp - 0x88], 0
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x64]
push dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100623d0
push 0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xa8], 0
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa4], 0
push eax
call fcn.1010a960
add esp, 0x1c
lea ecx, [ebp - 0x7c]
test eax, eax
jne 0x10114bc4
call fcn.100632b0
mov edi, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], edi
test edi, edi
je 0x10114579
lock inc dword [edi + 4]
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], edi
test edi, edi
je 0x101145b5
lea ecx, [edi + 4]
lock inc dword [ecx]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x101145b5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x101145b5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xa4], eax
nop dword [eax]
test esi, esi
je 0x10114aea
mov byte [ebp - 0x88], 0
lea eax, [ebp - 0x7c]
push dword [ebp - 0x88]
push 4
push str..lua
push eax
call fcn.100623d0
mov ecx, dword [esi + 0x30]
lea edi, [esi + 0x20]
add esp, 0x10
or ebx, 3
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1011460b
mov eax, dword [edi]
lea esi, [eax + ecx*2]
push esi
push eax
call fcn.10062c20
mov edx, eax
add esp, 8
mov ecx, edx
cmp edx, esi
je 0x10114660
cmp word [ecx], 0x3a
je 0x1011462d
add ecx, 2
cmp ecx, esi
jne 0x10114620
cmp edx, ecx
je 0x10114660
lea eax, [ecx - 2]
cmp edx, eax
je 0x10114660
cmp word [eax], 0x2e
lea esi, [eax - 2]
jne 0x1011464d
cmp edx, esi
jne 0x10114662
cmp word [esi], 0x2e
jne 0x10114662
jmp 0x10114660
mov eax, esi
cmp edx, eax
je 0x10114660
cmp word [eax], 0x2e
je 0x10114662
sub eax, 2
cmp edx, eax
jne 0x10114653
mov eax, ecx
sub ecx, eax
mov dword [ebp - 0x1c], 0
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
call fcn.100635c0
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
push dword [ebp - 0x6c]
cmovae eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x1c]
push eax
call fcn.101108d0
test eax, eax
je 0x10114774
mov byte [ebp - 0xbc], 0
lea eax, [ebp - 0x4c]
push dword [ebp - 0xbc]
push 5
push str..luac
push eax
call fcn.100623d0
mov ecx, dword [edi + 0x10]
add esp, 0x10
or ebx, 0xc
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x101146d4
mov eax, dword [edi]
lea esi, [eax + ecx*2]
push esi
push eax
call fcn.10062c20
mov edx, eax
add esp, 8
mov ecx, edx
cmp edx, esi
je 0x10114730
nop dword [eax]
cmp word [ecx], 0x3a
je 0x101146fd
add ecx, 2
cmp ecx, esi
jne 0x101146f0
cmp edx, ecx
je 0x10114730
lea eax, [ecx - 2]
cmp edx, eax
je 0x10114730
cmp word [eax], 0x2e
lea esi, [eax - 2]
jne 0x1011471d
cmp edx, esi
jne 0x10114732
cmp word [esi], 0x2e
jne 0x10114732
jmp 0x10114730
mov eax, esi
cmp edx, eax
je 0x10114730
cmp word [eax], 0x2e
je 0x10114732
sub eax, 2
cmp edx, eax
jne 0x10114723
mov eax, ecx
sub ecx, eax
mov dword [ebp - 0x34], 0
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
call fcn.100635c0
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x34]
push eax
call fcn.101108d0
mov byte [ebp - 0x7d], 0
test eax, eax
jne 0x10114778
mov byte [ebp - 0x7d], 1
test bl, 8
je 0x101147ce
mov edx, dword [ebp - 0x20]
and ebx, 0xfffffff7
cmp edx, 8
jb 0x101147ba
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x101147b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10114b64
push edx
push ecx
call fcn.10138f1a
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
test bl, 4
je 0x101147de
lea ecx, [ebp - 0x4c]
and ebx, 0xfffffffb
call fcn.100632b0
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x10114818
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1011480e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10114b64
push edx
push ecx
call fcn.10138f1a
add esp, 8
xor eax, eax
mov dword [ebp - 0xc], 0
and ebx, 0xfffffffc
mov dword [ebp - 8], 7
lea ecx, [ebp - 0x7c]
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x90], ebx
call fcn.100632b0
cmp byte [ebp - 0x7d], 0
je 0x10114ac8
push edi
lea ecx, [ebp - 0x4c]
call fcn.10062630
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x4c]
lea esi, [ecx + eax*2]
push esi
push ecx
call fcn.10062c20
add esp, 8
mov dword [ebp - 0x1c], 0
sub esi, eax
mov dword [ebp - 0xc], 0
sar esi, 1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
push esi
push eax
call fcn.100635c0
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x7d]
push ecx
push dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10062490
mov edx, dword [ebp - 8]
add esp, 0x10
cmp edx, 8
jb 0x101148e7
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x101148dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10114b64
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov ecx, dword [ebp - 0xc0]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0xa4]
xor esi, esi
sub ecx, edi
mov byte [ebp - 0x7d], 0
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x10114994
cmp ebx, esi
jbe 0x10114bdb
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10114924
mov ecx, dword [edi]
push dword [edi + 0x10]
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push ecx
cmovae eax, dword [ebp - 0x34]
push dword [ebp - 0x24]
push eax
call fcn.1009f780
add esp, 0x10
test al, al
je 0x10114985
cmp dword [ebp - 0xc4], esi
jbe 0x10114bd0
mov ecx, dword [ebp - 0x94]
mov eax, esi
shr eax, 5
lea edx, [ecx + eax*4]
mov ecx, esi
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [edx], eax
lea eax, [ebp - 0x7d]
mov ecx, dword [ebp - 0x8c]
push eax
setne byte [ebp - 0x7d]
call fcn.101135b0
mov al, 1
mov byte [ebp - 0x7d], al
jmp 0x10114988
mov al, byte [ebp - 0x7d]
inc esi
add edi, 0x18
cmp ebx, esi
ja 0x1011491a
test al, al
jne 0x101149ab
mov ebx, dword [ebp - 0x8c]
lea eax, [ebp - 0x7d]
push eax
mov ecx, ebx
mov byte [ebp - 0x7d], 0
call fcn.101135b0
jmp 0x101149b1
mov ebx, dword [ebp - 0x8c]
mov eax, dword [ebx + 0x54]
lea ecx, [ebp - 0x4c]
push ecx
cmp eax, dword [ebx + 0x58]
je 0x101149ca
mov ecx, eax
call fcn.10062630
add dword [ebx + 0x54], 0x18
jmp 0x101149d3
push eax
lea ecx, [ebx + 0x50]
call fcn.1010a110
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x34]
push ecx
cmp eax, dword [ebx + 0x18]
je 0x101149ec
mov ecx, eax
call fcn.10043d50
add dword [ebx + 0x14], 0x18
jmp 0x101149f5
push eax
lea ecx, [ebx + 0x10]
call fcn.10042e20
mov eax, dword [ebx + 0x20]
lea ecx, [ebx + 0x1c]
xor edx, edx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x98], edx
cmp eax, dword [ecx + 8]
je 0x10114a2c
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
add dword [ecx + 4], 0xc
jmp 0x10114a51
lea edx, [ebp - 0xa0]
push edx
push eax
call fcn.1010a5a0
mov eax, dword [ebp - 0x98]
mov edi, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0xa0]
mov dword [ebp - 0x84], eax
test ebx, ebx
je 0x10114ab2
mov esi, ebx
cmp esi, edi
je 0x10114a6e
nop dword [eax + eax]
mov ecx, esi
call fcn.1010d800
add esi, 0x48
cmp esi, edi
jne 0x10114a60
mov ecx, dword [ebp - 0x84]
mov eax, 0x38e38e39
sub ecx, ebx
imul ecx
lea ecx, [ebp - 0xa0]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.10110e00
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
lea ecx, [ebp - 0x34]
call fcn.10044260
lea ecx, [ebp - 0x4c]
call fcn.100632b0
mov ebx, dword [ebp - 0x90]
lea eax, [ebp - 0xb0]
push eax
call fcn.1010e260
add esp, 4
test eax, eax
jne 0x10114be0
mov esi, dword [ebp - 0xb0]
jmp 0x101145d0
mov esi, dword [ebp - 0xac]
or ebx, 0xffffffff
test esi, esi
je 0x10114b16
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10114b16
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10114b16
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0xb8]
test edi, edi
je 0x10114b3e
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x10114b3e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x10114b3e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x10114b74
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10114b6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10114b6a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.10044410
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x10114bb3
mov ecx, dword [ebp - 0xb4]
sub ecx, eax
sar ecx, 2
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.10056940
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10139242
mov esp, ebp
pop ebp
ret
push ecx
push eax
push str.directory_iterator::directory_iterator
call fcn.1010ecc0
lea ecx, [ebp - 0xd4]
call fcn.1010f1b0
call fcn.100a90e0
push eax
push str.directory_iterator::operator
call fcn.1010ec70
int3