Function at 0x100286d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10052a45
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x280
mov eax, dword [0x1006a050]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1fc], edi
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x224], edi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x204], eax
mov eax, dword [str.noname]
mov dword [edi + 8], eax
mov ax, word [0x10063038]
mov word [edi + 0xc], ax
mov al, byte [0x1006303a]
mov byte [edi + 0xe], al
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [edi + 0x14], 0
movups xmmword [edi + 0x18], xmm0
push 0x80
movups xmmword [edi + 0x28], xmm0
push eax
mov word [edi + 0x38], ax
mov dword [edi + 0xcc], eax
mov dword [edi + 0xc4], eax
lea eax, [edi + 0x3c]
push eax
mov dword [ebp - 0x13c], esi
mov word [edi + 0xc8], 0xff00
call fcn.100336f0
xor eax, eax
mov dword [edi + 0xd0], 0x1000000
add esp, 0xc
mov byte [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov byte [edi + 0xdc], 0
mov word [edi + 0xdd], ax
mov byte [edi + 0xdf], al
mov word [edi + 0xe4], ax
mov dword [edi + 0xe8], eax
mov dword [edi + 0xec], eax
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf4], 0x5000000
push 0xc
mov dword [edi + 0x108], eax
mov dword [edi + 0x10c], eax
call fcn.10031b56
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x108], eax
mov dword [ebp - 4], 0
push 0xc
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0
call fcn.10031b56
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x110], eax
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0xf
mov byte [edi + 0x134], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0xf
mov byte [edi + 0x14c], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0xf
mov byte [edi + 0x164], 0
push esi
push str.Loading_custom_script__s...
push 3
call fcn.10023c60
mov al, byte [ebx + 0xc]
add esp, 0xc
mov byte [edi + 0xc6], al
mov byte [edi + 0xdc], al
lea eax, [ebp - 0x138]
mov byte [edi + 0xdf], 1
push 0xb8
push 0
push eax
mov byte [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
call fcn.100336f0
add esp, 0xc
mov dword [ebp - 0x138], 0x10062fa8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x128]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1fc], 0x10
push eax
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xc8], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0xcc], 0x58
movlpd qword [ebp - 0x130], xmm0
call fcn.10018ac0
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x13c], eax
lea ecx, [ebp - 0x128]
call fcn.10018860
cmp dword [ebx + 0x14], 0
mov byte [ebp - 4], 0xb
je 0x10028b52
mov esi, dword [ebp - 0x204]
test esi, esi
je 0x1002938e
cmp byte [esi + 0xdf], 0
je 0x100293af
mov eax, dword [esi + 0xf4]
mov dword [edi + 0xf4], eax
cmp byte [esi + 0xdf], 0
mov al, byte [0x10092c58]
je 0x10028a48
mov al, byte [esi + 0x130]
mov ecx, esi
mov byte [edi + 0x130], al
call fcn.10025140
mov ecx, eax
lea edx, [eax + 1]
mov dword [ebp - 0x1fc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10028a60
sub eax, dword [ebp - 0x1fc]
push eax
push ecx
lea ecx, [edi + 0x134]
call fcn.1000b240
mov ecx, esi
call fcn.100251c0
mov esi, eax
lea ecx, [esi + 1]
mov dl, byte [esi]
inc esi
test dl, dl
jne 0x10028a86
sub esi, ecx
lea ecx, [edi + 0x14c]
push esi
push eax
call fcn.1000b240
mov esi, dword [ebp - 0x204]
mov ecx, esi
call fcn.10025240
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x1fc], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x10028ab4
sub edx, dword [ebp - 0x1fc]
lea ecx, [edi + 0x164]
push edx
push eax
call fcn.1000b240
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x10]
sub eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov eax, dword [esi + 0xe0]
mov dword [edi + 0x104], esi
add esi, 0x108
mov dword [edi + 0xe0], eax
cmp dword [esi + 4], 0x15555555
mov eax, dword [esi]
mov dword [ebp - 0x1fc], eax
je 0x100293d0
mov dword [ebp - 0x208], esi
mov byte [ebp - 4], 0xc
push 0xc
mov dword [ebp - 0x204], 0
call fcn.10031b56
mov edx, dword [ebp - 0x1fc]
add esp, 4
mov dword [eax + 8], edi
inc dword [esi + 4]
mov ecx, dword [edx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
mov dword [ecx], eax
jmp 0x100292fb
mov byte [ebp - 0x1fc], 0
lea edx, [ebp - 0x13c]
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x4c]
call fcn.10015fc0
add esp, 4
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x220]
call fcn.10023bc0
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000d320
lea ecx, [ebp - 0x220]
call fcn.1000a9e0
lea ecx, [ebp - 0x4c]
call fcn.100231b0
test al, al
jne 0x10028cdd
mov byte [ebp - 0x1fc], al
lea ecx, [ebp - 0x34]
push dword [ebp - 0x1fc]
call fcn.1002ac10
add esp, 4
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x4c]
call fcn.10022740
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.10022430
lea ecx, [ebp - 0x220]
mov esi, eax
call fcn.1000a9e0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.1000a9e0
test esi, esi
jne 0x100293fb
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000c3a0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x220]
mov byte [ebp - 0x1fc], 0
mov edx, str..cs4
push dword [ebp - 0x1fc]
call fcn.1000ba40
add esp, 4
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x34]
call fcn.10022310
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0xf
call fcn.1000a9e0
lea ecx, [ebp - 0x34]
call fcn.100231b0
test al, al
je 0x10028c73
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
push eax
call fcn.1000af70
jmp 0x10028cd1
mov byte [ebp - 0x1fc], 0
lea ecx, [ebp - 0x220]
push dword [ebp - 0x1fc]
mov edx, str..cs3
call fcn.1000ba40
add esp, 4
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x34]
call fcn.10022310
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0xf
call fcn.1000a9e0
lea ecx, [ebp - 0x34]
call fcn.100231b0
test al, al
je 0x100293da
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000a9b0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.1000a9e0
mov byte [ebp - 0x1fc], 0
lea ecx, [ebp - 0x220]
push dword [ebp - 0x1fc]
mov edx, str..cs4
call fcn.1000ba40
add esp, 4
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x4c]
call fcn.10022740
lea ecx, [ebp - 0x220]
push ecx
mov ecx, eax
call fcn.10022430
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.1000a9e0
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0xd
call fcn.1000a9e0
test esi, esi
jne 0x10028d44
mov dword [edi + 0xf4], 0x4040000
jmp 0x10028da9
mov byte [ebp - 0x1fc], 0
lea ecx, [ebp - 0x220]
push dword [ebp - 0x1fc]
mov edx, str..cs3
call fcn.1000ba40
add esp, 4
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x4c]
call fcn.10022740
lea ecx, [ebp - 0x220]
push ecx
mov ecx, eax
call fcn.10022430
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.1000a9e0
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0xd
call fcn.1000a9e0
test esi, esi
jne 0x10028da9
mov dword [edi + 0xf4], 0x3000000
cmp dword [edi + 0xf4], 0x5000000
mov esi, dword [ebp - 0x204]
jne 0x10028e9a
test esi, esi
je 0x10028e9a
movzx eax, byte [edi + 0xdf]
mov ecx, esi
imul eax, eax, 0xe0
sub ecx, eax
je 0x10028e9a
mov eax, dword [esi + 0xf4]
lea ecx, [ebp - 0x34]
mov dword [edi + 0xf4], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1000c3a0
mov byte [ebp - 4], 0x14
mov eax, dword [edi + 0xf4]
cmp eax, 0x4040000
jne 0x10028e2d
mov byte [ebp - 0x1fc], 0
lea ecx, [ebp - 0x220]
push dword [ebp - 0x1fc]
mov edx, str..cs4
call fcn.1000ba40
add esp, 4
mov byte [ebp - 4], 0x15
jmp 0x10028e58
cmp eax, 0x3000000
jne 0x10028e8e
mov byte [ebp - 0x1fc], 0
lea ecx, [ebp - 0x220]
push dword [ebp - 0x1fc]
mov edx, str..cs3
call fcn.1000ba40
add esp, 4
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x34]
call fcn.10022310
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x14
call fcn.1000a9e0
lea ecx, [ebp - 0x34]
call fcn.100231b0
test al, al
je 0x10028e8e
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000a9b0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.1000a9e0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000a880
push ecx
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x17
push ecx
mov ecx, eax
call fcn.1000b7d0
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x134]
call fcn.10015bc0
lea ecx, [ebp - 0x220]
call fcn.1000ae50
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.1000a9e0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000c280
push ecx
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x18
push ecx
mov ecx, eax
call fcn.1000b7d0
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x14c]
call fcn.10015bc0
lea ecx, [ebp - 0x220]
call fcn.1000ae50
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.1000a9e0
mov al, byte [0x10092c58]
test esi, esi
je 0x10028f93
cmp byte [esi + 0xdf], 0
je 0x10028f42
mov al, byte [esi + 0x130]
mov byte [edi + 0x130], al
cmp byte [esi + 0xdf], 0
jne 0x10028f66
cmp dword [0x10092ca0], 0x10
mov esi, 0x10092c8c
cmovae esi, dword [0x10092c8c]
jmp 0x10028f74
add esi, 0x164
cmp dword [esi + 0x14], 0x10
jb 0x10028f74
mov esi, dword [esi]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10028f80
sub ecx, edx
push ecx
push esi
lea ecx, [edi + 0x164]
jmp 0x10028fc1
lea ecx, [edi + 0x164]
mov byte [edi + 0x130], al
cmp ecx, 0x10092d98
je 0x10028fc6
cmp dword [0x10092dac], 0x10
mov eax, 0x10092d98
push dword [0x10092da8]
cmovae eax, dword [0x10092d98]
push eax
call fcn.1000b240
push 0xb8
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.100336f0
add esp, 8
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x4c]
push eax
call fcn.1000b7d0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x1f8]
cmovae eax, dword [ebp - 0x34]
sub esp, 8
push 0x20
push eax
call fcn.10020ea0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1b
call fcn.1000ae50
mov eax, dword [ebp - 0x1f8]
lea ecx, [ebp - 0x1f8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov dword [ecx + 0x10], 6
push dword [ecx + 0xc]
call fcn.10016af0
push 2
push 0
push 0
lea ecx, [ebp - 0x1f8]
call fcn.10021100
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.10021020
push 0
push 0
push 0
mov esi, dword [eax + 8]
lea ecx, [ebp - 0x1f8]
add esi, dword [eax]
call fcn.10021100
cmp byte [ebx + 0xc], 0
je 0x1002909d
mov eax, dword [0x100908f0]
cmp byte [eax], 0
jne 0x1002941c
mov byte [eax], 1
mov eax, dword [0x1008eab8]
mov dword [0x1009090c], 0xffffffff
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
jmp 0x100290ac
push esi
call fcn.100320e1
add esp, 4
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
push 0
push esi
push eax
lea ecx, [ebp - 0x1f8]
call fcn.10021200
or ecx, 0xffffffff
xor edx, edx
test esi, esi
je 0x100290e2
mov eax, dword [edi + 0x10]
movzx eax, byte [edx + eax]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10061130]
mov eax, dword [edi + 0x10]
cmp edx, esi
jb 0x100290c7
lea eax, [ebp - 0x4c]
mov dword [edi + 0xe0], ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.1000c3a0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x1fc], 0
mov edx, str..cs3
push dword [ebp - 0x1fc]
call fcn.1000ba40
add esp, 4
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x1fc], 0x284011
call fcn.10022740
mov ecx, eax
mov eax, 0x284013
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x34]
push eax
call fcn.10022430
test eax, eax
je 0x100291bd
mov byte [ebp - 0x204], 0
lea ecx, [ebp - 0x220]
push dword [ebp - 0x204]
mov edx, str..cs4
call fcn.1000ba40
add esp, 4
lea eax, [ebp - 0x294]
mov dword [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x1fc], 0x284017
call fcn.10022740
mov ecx, eax
mov eax, 0x28401f
mov dword [ebp - 0x204], eax
lea eax, [ebp - 0x220]
push eax
call fcn.10022430
mov byte [ebp - 0x1fd], 0
test eax, eax
jne 0x100291c4
mov byte [ebp - 0x1fd], 1
mov eax, dword [ebp - 0x204]
test al, 8
je 0x100291e8
and eax, 0xfffffff7
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x204], eax
call fcn.1000a9e0
mov eax, dword [ebp - 0x204]
test al, 4
je 0x10029206
and eax, 0xfffffffb
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x204], eax
call fcn.1000a9e0
mov eax, dword [ebp - 0x204]
test al, 2
je 0x10029224
and eax, 0xfffffffd
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x204], eax
call fcn.1000a9e0
mov eax, dword [ebp - 0x204]
mov dword [ebp - 4], 0x1c
test al, 1
je 0x10029237
lea ecx, [ebp - 0x34]
call fcn.1000a9e0
cmp byte [ebp - 0x1fd], 0
je 0x1002927d
mov byte [ebp - 0x1fc], 0
lea ecx, [ebp - 0x220]
push dword [ebp - 0x1fc]
call fcn.1002ac10
add esp, 4
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x7c]
call fcn.10022310
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x1c
call fcn.1000a9e0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x7c]
call fcn.1000c280
push ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
push ecx
mov ecx, eax
call fcn.1000b7d0
lea ecx, [ebp - 0x240]
call fcn.1000a9e0
mov eax, dword [ebp - 0x54]
lea edx, [edi + 8]
xorps xmm0, xmm0
movq qword [edx], xmm0
test eax, eax
je 0x100292d8
mov ecx, 7
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push ecx
push eax
push edx
call fcn.10033160
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.1000ae50
lea ecx, [ebp - 0x7c]
call fcn.1000a9e0
lea ecx, [ebp - 0x1f8]
call fcn.10020c90
lea ecx, [ebp - 0x4c]
call fcn.1000a9e0
mov dword [0x10092c54], edi
lea ecx, [ebp - 0x138]
mov byte [edi + 0xe5], 1
call fcn.10020c90
jmp 0x1002936c
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10031b48
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push str.Trying_to_create_external_thread_from_label_without_parent_thread
lea ecx, [ebp - 0x24c]
call fcn.10022140
push 0x10068318
lea eax, [ebp - 0x24c]
push eax
call fcn.100330f1
push str.Only_custom_threads_can_spawn_children_threads_from_label
lea ecx, [ebp - 0x258]
call fcn.10022140
push 0x10068318
lea eax, [ebp - 0x258]
push eax
call fcn.100330f1
push str.list_too_long
call fcn.10030437
push str.File_does_not_exists
lea ecx, [ebp - 0x264]
call fcn.10022140
push 0x10068318
lea eax, [ebp - 0x264]
push eax
call fcn.100330f1
push str.File_does_not_exists
lea ecx, [ebp - 0x270]
call fcn.10022140
push 0x10068318
lea eax, [ebp - 0x270]
push eax
call fcn.100330f1
push str.Starting_of_custom_mission_when_other_mission_loaded
lea ecx, [ebp - 0x27c]
call fcn.10022140
push 0x10068318
lea eax, [ebp - 0x27c]
push eax
call fcn.100330f1
int3