Function at 0x10035a90
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae8d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100ca040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10034830
mov ecx, dword [0x1013ee38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1013ee3c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [0x100ca2a8], eax
call fcn.100a0340
mov ecx, 0x1013fba0
call fcn.1008f100
mov ecx, 0x100ca720
call fcn.10038150
mov ecx, 0x1013c928
call fcn.1002a5b0
mov eax, dword [0x1013cde0]
cmp eax, dword [0x1013cde4]
je 0x10035b15
mov dword [0x1013cde4], eax
mov eax, dword [0x1013b7c4]
cmp eax, dword [0x1013b7c8]
je 0x10035b27
mov dword [0x1013b7c8], eax
mov ecx, dword [0x1013ee38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [0x1013eea0], eax
mov eax, dword [0x1013ee34]
mov ebx, dword [eax + 0x30]
jmp 0x10035b7c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [edi + eax], 0
jne 0x10035b50
xor edx, edx
test eax, eax
je 0x10035b79
nop dword [eax]
movsx ecx, byte [edi + edx]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x10035b60
cmp esi, 0xc5764f31
je 0x10035b80
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10035b46
mov eax, dword [ebx]
mov ecx, ebx
push 1
mov eax, dword [eax + 0x40]
call eax
mov edi, dword [0x1013eea0]
mov dword [0x100ca694], 0
test edi, edi
je 0x10035db7
mov eax, dword [0x1013f37c]
mov dword [0x1013f37c], 0
test eax, eax
je 0x10035bef
push fcn.10022d20
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 4
push eax
call fcn.100aca28
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100ac9ea
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [0x1013eea0]
mov ecx, dword [0x1013f374]
test ecx, ecx
je 0x10035c06
mov eax, dword [0x1013f378]
mov dword [ecx], eax
mov edi, dword [0x1013eea0]
mov dword [0x1013f378], 0
mov dword [0x1013f380], 0
mov byte [0x1013f384], 0
mov dword [0x1013f374], edi
mov eax, dword [edi]
mov dword [0x1013f378], eax
test eax, eax
je 0x10035d50
xor esi, esi
nop dword [eax + eax]
mov eax, dword [0x1013f378]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x10035c6f
mov eax, dword [0x100ddfdc]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x10035c6f
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x10035c6f
test eax, 0x100
jne 0x10035c6f
inc esi
jmp 0x10035c40
mov dword [0x1013f380], esi
test esi, esi
je 0x10035d50
lea edx, [esi + 1]
lea ecx, [ebp - 0x30]
call fcn.100385f0
cmp eax, 0x1013f37c
je 0x10035cd9
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x1013f37c]
mov dword [0x1013f37c], ecx
test eax, eax
je 0x10035cd9
push fcn.10022d20
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push dword [esi]
push 4
push eax
call fcn.100aca28
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100ac9ea
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10035d14
push fcn.10022d20
mov dword [ebp - 4], 2
lea esi, [ebx - 4]
push dword [esi]
push 4
push ebx
call fcn.100aca28
mov eax, dword [ebx - 4]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100ac9ea
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x1013f37c]
test esi, esi
je 0x10035d50
mov eax, dword [0x1013f380]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x1013f378]
add eax, 0xfffffffc
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, 0x2a
add esi, 4
mov dword [edi], esi
mov byte [0x1013f384], 1
jmp 0x10035d65
cmp byte [0x1013f384], 0
je 0x10035d60
mov eax, 0x2a
jmp 0x10035d65
mov eax, 0x29
cmp dword [0x1013f378], 0
je 0x10035d87
mov esi, dword [0x1013f37c]
test esi, esi
je 0x10035d87
cmp eax, dword [0x1013f380]
ja 0x10035d87
mov dword [esi + eax*4], 0x100998f0
xor eax, eax
cmp byte [0x1013f384], al
setne al
add eax, 0x30
cmp dword [0x1013f378], 0
je 0x10035db7
mov esi, dword [0x1013f37c]
test esi, esi
je 0x10035db7
cmp eax, dword [0x1013f380]
ja 0x10035db7
mov dword [esi + eax*4], 0x100997a0
sub esp, 0x18
mov edx, str._truckmode__resetting_data__...___n
mov ecx, esp
call fcn.1002d3d0
push 0x100ca2a8
call fcn.10037b80
add esp, 4
mov edx, str._truckmode__OnMapLoad_vars_loaded__n
mov ecx, esp
call fcn.1002d3d0
push 0x100ca2a8
call fcn.10037b80
add esp, 4
mov edx, str._truckmode__executed_reset_config__n
mov ecx, esp
call fcn.1002d3d0
push 0x100ca2a8
call fcn.10037b80
add esp, 4
mov edx, str._truckmode__map_load_done____proceed__n
mov ecx, esp
call fcn.1002d3d0
push 0x100ca2a8
call fcn.10037b80
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ac9dc
mov esp, ebp
pop ebp
ret