Function at 0x10039590
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f0
mov eax, dword [0x1008b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x2d8], 0x10001
push ebx
push esi
mov eax, dword [eax + 0xc]
push edi
mov dword [ebp - 0x2e4], edx
mov dword [ebp - 0x2e8], ecx
mov eax, dword [eax + 0xc]
nop dword [eax + eax]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2dc], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x2e0], ecx
cmp ecx, esi
je 0x10039639
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x10039639
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
nop dword [eax + eax]
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x6fbfb36c
mov cl, byte [edx]
inc edx
test cl, cl
je 0x10039632
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x10039615
cmp esi, 0x7452d8cb
je 0x1003963d
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x10039600
mov eax, dword [eax]
jmp 0x100395d0
mov esi, dword [ebp - 0x2e0]
mov edx, dword [ebp - 0x2dc]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [ebp - 0x2d8]
push ecx
push dword [ebp - 0x2e8]
add eax, edx
call eax
test eax, eax
je 0x1003983f
mov ecx, dword [ebp - 0x2e4]
mov ebx, dword [0x1012b04c]
cmp ecx, 0xffffffff
je 0x10039689
lea ebx, [ecx + 1]
xor eax, eax
cmp ecx, 0xffffffff
cmovne eax, ecx
cmp eax, ebx
jae 0x1003983f
mov edi, dword [ebp - 0x220]
imul ecx, eax, 0x2c
sub ebx, eax
mov dword [ebp - 0x2e0], ebx
mov dword [ebp - 0x2dc], ecx
mov edx, dword [0x1012b044]
mov eax, dword [ebp + 8]
add edx, ecx
sub eax, 0
je 0x100396d8
sub eax, 1
je 0x100396d1
movzx ecx, byte [edx + 0x14]
shr ecx, 2
and ecx, 1
jmp 0x100396da
mov ecx, 1
jmp 0x100396da
xor ecx, ecx
mov bl, byte [edx + 0x14]
movzx eax, bl
shr eax, 1
and eax, 1
cmp eax, ecx
je 0x10039823
test ecx, ecx
je 0x10039720
mov esi, dword [edx + 0x18]
xor ecx, ecx
and esi, 0xf
jbe 0x10039823
mov ebx, dword [edx]
movzx eax, byte [ecx + edx + 0x1c]
add eax, ebx
cmp edi, eax
je 0x10039716
inc ecx
cmp ecx, esi
jb 0x10039701
jmp 0x10039823
movzx ecx, byte [ecx + edx + 0x24]
add ecx, dword [edx + 8]
jmp 0x1003975c
test bl, 1
je 0x1003972e
mov ecx, dword [edx]
lea eax, [ecx - 5]
cmp edi, eax
je 0x1003975c
mov esi, dword [edx + 0x18]
xor ecx, ecx
and esi, 0xf
jbe 0x10039823
mov ebx, dword [edx + 8]
nop
movzx eax, byte [ecx + edx + 0x24]
add eax, ebx
cmp edi, eax
je 0x10039755
inc ecx
cmp ecx, esi
jb 0x10039740
jmp 0x10039823
movzx ecx, byte [ecx + edx + 0x1c]
add ecx, dword [edx]
test ecx, ecx
je 0x10039823
mov eax, dword fs:[0x30]
mov dword [ebp - 0x220], ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop word [eax + eax]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x2ec], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x2e4], ecx
cmp ecx, edx
je 0x100397e9
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x100397e9
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
nop dword [eax + eax]
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0xcd2e6cb7
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x100397e2
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x100397c5
cmp esi, 0x4a43f470
je 0x100397ed
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x100397b0
mov eax, dword [eax]
jmp 0x10039780
mov esi, dword [ebp - 0x2e4]
mov edx, dword [ebp - 0x2ec]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [ebp - 0x2d8]
push ecx
push dword [ebp - 0x2e8]
add eax, edx
call eax
mov edi, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x2dc]
add ecx, 0x2c
sub dword [ebp - 0x2e0], 1
mov dword [ebp - 0x2dc], ecx
jne 0x100396b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004a7ae
mov esp, ebp
pop ebp
ret