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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], edx
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.10039850
test eax, eax
jne 0x10039d4f
mov eax, 9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx], 0
je 0x10039f81
cmp dword [ebx + 8], 0
mov dword [esp + 0x10], 0
jbe 0x10039f81
nop word [eax + eax]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x1c], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [esp + 0x14], ecx
cmp ecx, edx
je 0x10039de4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x10039de4
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0xf8ed32d2
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x10039ddd
nop dword [eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x10039dc0
cmp esi, 0x1a62d3de
je 0x10039de8
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x10039da7
mov eax, dword [eax]
jmp 0x10039d80
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
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 ecx, dword [eax + edx]
mov eax, dword [ebx]
add ecx, edx
mov edx, dword [esp + 0x10]
push dword [eax + edx*4]
push 0
push 0x5a
call ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x10039f6f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov dword [esp + 0x20], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [esp + 0x1c], ecx
cmp ecx, esi
je 0x10039e94
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x10039e94
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x75f9308c
mov cl, byte [edx]
inc edx
test cl, cl
je 0x10039e8d
nop dword [eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x10039e70
cmp esi, 0x19851f60
je 0x10039e98
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x10039e57
mov eax, dword [eax]
jmp 0x10039e30
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
push ebx
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]
add eax, edx
call eax
push dword [ebp + 8]
mov edx, dword [esp + 0x28]
mov ecx, ebx
call fcn.10039590
mov eax, dword fs:[0x30]
add esp, 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax]
mov esi, dword [eax + 0x18]
mov dword [esp + 0x1c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [esp + 0x20], ecx
cmp ecx, esi
je 0x10039f44
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x10039f44
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0xf2bd5862
mov cl, byte [edx]
inc edx
test cl, cl
je 0x10039f3d
nop dword [eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x10039f20
cmp esi, 0xa403f568
je 0x10039f48
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x10039f07
mov eax, dword [eax]
jmp 0x10039ee0
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x14]
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 ecx, dword [eax + edx]
add ecx, edx
call ecx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [ebx + 8]
jb 0x10039d70
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret