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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7c60
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x104cdec0]
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
mov edi, ecx
mov dword [ebp - 0x30], edi
mov ecx, 0x105d9f58
call fcn.100389c0
mov ecx, dword [0x105d9ce8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x105d9cec]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [edi + 0x3c8], eax
call fcn.10146020
call fcn.10038ba0
mov ecx, 0x104ce960
call fcn.10028d80
mov esi, 0x104ce9fc
mov ecx, esi
call fcn.100291b0
add esi, 0x2670
cmp esi, 0x105685fc
jne 0x10038474
mov eax, dword [0x105dfb58]
mov dword [0x105dfb9c], 0
mov dword [0x105dfb98], 0
mov dword [0x105dfb94], 0
cmp eax, dword [0x105dfb5c]
je 0x100384b9
mov dword [0x105dfb5c], eax
mov eax, dword [0x105d31cc]
test al, 1
jne 0x10038528
or eax, 1
mov dword [0x105d31cc], eax
mov eax, dword [0x105d9ce4]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x10038513
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x100384e0
xor edx, edx
test ecx, ecx
je 0x10038509
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100384f0
cmp esi, 0x149c8b4d
je 0x1003851d
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100384d6
mov edi, dword [ebp - 0x30]
xor ebx, ebx
mov dword [0x105d31c8], ebx
jmp 0x1003852e
mov edi, dword [ebp - 0x30]
mov dword [0x105d31c8], ebx
jmp 0x1003852e
mov ebx, dword [0x105d31c8]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1003854a
mov ecx, dword [0x105d31c8]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, 0x105db388
call fcn.1011c9e0
lea ecx, [edi + 0x31d0]
call fcn.10039ee0
mov ecx, dword [0x105d9ce8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [0x105d9d50], edi
test edi, edi
je 0x1003875a
mov eax, dword [0x105da3b8]
xor esi, esi
mov dword [0x105da3b8], esi
test eax, eax
je 0x100385cc
push fcn.1001b3f0
push dword [eax - 4]
mov dword [ebp - 4], esi
lea esi, [eax - 4]
push 4
push eax
call fcn.101a38ee
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.101a3a41
mov edi, dword [0x105d9d50]
add esp, 8
mov esi, dword [0x105da3b8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x105da3b0]
test ecx, ecx
je 0x100385e9
mov eax, dword [0x105da3b4]
mov dword [ecx], eax
mov edi, dword [0x105d9d50]
mov esi, dword [0x105da3b8]
xor cl, cl
mov dword [0x105da3b4], 0
mov dword [0x105da3bc], 0
mov byte [0x105da3c0], cl
mov dword [0x105da3b0], edi
mov eax, dword [edi]
mov dword [0x105da3b4], eax
test eax, eax
je 0x10038707
xor esi, esi
nop dword [eax]
mov eax, dword [0x105da3b4]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x1003864f
mov eax, dword [0x105d9c18]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x1003864f
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x1003864f
test eax, 0x100
jne 0x1003864f
inc esi
jmp 0x10038620
mov dword [0x105da3bc], esi
test esi, esi
je 0x100386f0
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100352e0
add esp, 8
mov ecx, 0x105da3b8
push eax
call fcn.10034540
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100386ad
push fcn.1001b3f0
push dword [ebx - 4]
lea esi, [ebx - 4]
mov dword [ebp - 4], 1
push 4
push ebx
call fcn.101a38ee
mov eax, dword [ebx - 4]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.101a3a41
add esp, 8
mov esi, dword [0x105da3b8]
test esi, esi
je 0x100386f6
mov eax, dword [0x105da3bc]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x105da3b4]
add eax, 0xfffffffc
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov cl, 1
add esi, 4
mov eax, 0x2a
mov dword [edi], esi
mov esi, dword [0x105da3b8]
mov byte [0x105da3c0], cl
jmp 0x1003870c
mov esi, dword [0x105da3b8]
mov cl, byte [0x105da3c0]
test cl, cl
je 0x10038707
mov eax, 0x2a
jmp 0x1003870c
mov eax, 0x29
cmp dword [0x105da3b4], 0
je 0x10038734
test esi, esi
je 0x10038734
cmp eax, dword [0x105da3bc]
ja 0x10038734
mov dword [esi + eax*4], 0x1012d430
mov cl, byte [0x105da3c0]
mov esi, dword [0x105da3b8]
xor eax, eax
test cl, cl
setne al
add eax, 0x30
cmp dword [0x105da3b4], 0
je 0x1003875a
test esi, esi
je 0x1003875a
cmp eax, dword [0x105da3bc]
ja 0x1003875a
mov dword [esi + eax*4], 0x1012d5d0
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.101a3d69
mov esp, ebp
pop ebp
ret