Function at 0x1003a4a0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1008b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x40], eax
mov esi, ecx
mov dword [ebp - 0x2c], ebx
push edi
mov dword [ebp - 0x3c], esi
call fcn.1003a330
cmp dword [0x1012ab9c], 0
je 0x1003a9d7
mov ecx, esi
call fcn.100394a0
test eax, eax
je 0x1003a9d0
mov ecx, ebx
call fcn.100394a0
test eax, eax
je 0x1003a9d0
mov edx, dword [0x1012b04c]
xor eax, eax
test edx, edx
je 0x1003a515
mov ecx, dword [0x1012b044]
cmp esi, dword [ecx]
je 0x1003a5a8
inc eax
add ecx, 0x2c
cmp eax, edx
jb 0x1003a505
mov ecx, dword [0x1012ab94]
test ecx, ecx
je 0x1003a530
nop
cmp dword [ecx + 4], 0
jne 0x1003a635
mov ecx, dword [ecx]
test ecx, ecx
jne 0x1003a520
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 [ebp - 0x34], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x38], ecx
cmp ecx, edx
je 0x1003a5a4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x1003a5a4
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, 0x5a568dc9
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x1003a59d
nop word [eax + eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x1003a580
cmp esi, 0xd89b5a8d
je 0x1003a5bb
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x1003a565
mov eax, dword [eax]
jmp 0x1003a540
cmp eax, 0xffffffff
je 0x1003a515
mov ebx, 3
jmp 0x1003a9dc
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
push 0x40
push 0x3000
mov eax, dword [esi + 0x24]
push 0x1000
push 0
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
mov ecx, eax
test ecx, ecx
je 0x1003a628
xor edi, edi
mov dword [ecx + 8], 0
lea edx, [ecx + 0x20]
lea esi, [edi + 0x20]
nop dword [eax + eax]
mov dword [edx], edi
mov eax, edx
mov dword [ecx + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, eax
cmp esi, 0xfe0
jbe 0x1003a600
mov eax, dword [0x1012ab94]
mov dword [ecx], eax
mov dword [0x1012ab94], ecx
test ecx, ecx
jne 0x1003a632
mov ebx, 9
jmp 0x1003a9dc
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
mov eax, dword [esi]
inc dword [ecx + 8]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
call fcn.1003aac0
test eax, eax
je 0x1003a9c2
mov ecx, dword [0x1012b044]
test ecx, ecx
jne 0x1003a69b
push 0x580
push ecx
push dword [0x1012ab9c]
mov dword [0x1012b048], 0x20
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov dword [0x1012b044], ecx
test ecx, ecx
jne 0x1003a6d5
mov ebx, 9
jmp 0x1003a9b5
mov eax, dword [0x1012b04c]
mov edx, dword [0x1012b048]
cmp eax, edx
jb 0x1003a6da
imul eax, edx, 0x58
push eax
push ecx
push 0
push dword [0x1012ab9c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, eax
test ecx, ecx
je 0x1003a691
mov eax, dword [0x1012b048]
add eax, eax
mov dword [0x1012b044], ecx
mov dword [0x1012b048], eax
mov eax, dword [0x1012b04c]
imul edx, eax, 0x2c
inc eax
mov dword [0x1012b04c], eax
add edx, ecx
mov dword [ebp - 0x34], edx
test edx, edx
je 0x1003a691
mov eax, dword [ebp - 0x28]
mov cl, byte [edx + 0x14]
mov dword [edx], eax
and cl, 0xf8
mov eax, dword [ebp - 0x24]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edx + 8], eax
mov al, byte [ebp - 0x1c]
and al, 1
or cl, al
mov byte [edx + 0x14], cl
mov ecx, dword [edx + 0x18]
mov eax, dword [ebp - 0x18]
and ecx, 0xfffffff0
and eax, 0xf
or ecx, eax
mov eax, dword fs:[0x30]
mov dword [edx + 0x18], ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop word [eax + eax]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x30], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x2c], ecx
cmp ecx, esi
je 0x1003a794
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x1003a794
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, 0xc54bbe7
mov cl, byte [edx]
inc edx
test cl, cl
je 0x1003a78d
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x1003a770
cmp esi, 0xaf9895c2
je 0x1003a798
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x1003a755
mov eax, dword [eax]
jmp 0x1003a730
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
push 8
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]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x34]
add ecx, edx
add eax, 0x1c
push eax
call ecx
mov eax, dword fs:[0x30]
add esp, 0xc
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x1003a834
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x1003a834
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, 0x7924bb7b
mov cl, byte [edx]
inc edx
test cl, cl
je 0x1003a82d
nop dword [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x1003a810
cmp esi, 0xaafa656e
je 0x1003a838
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x1003a7f6
mov eax, dword [eax]
jmp 0x1003a7d1
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
push 8
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]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x34]
add ecx, edx
add eax, 0x24
push eax
call ecx
mov eax, dword fs:[0x30]
add esp, 0xc
cmp dword [ebp - 0x1c], 0
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
je 0x1003a910
nop dword [eax + eax]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x1003a8e4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x1003a8e4
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, 0x7e9eb794
mov cl, byte [edx]
inc edx
test cl, cl
je 0x1003a8dd
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x1003a8c0
cmp esi, 0x9a83a3d
je 0x1003a8e8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x1003a8a5
mov eax, dword [eax]
jmp 0x1003a880
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
push 7
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 [ebp - 0x3c]
add eax, 0xfffffffb
push eax
jmp 0x1003a996
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x1003a974
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x1003a974
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, 0x572e29f7
mov cl, byte [edx]
inc edx
test cl, cl
je 0x1003a96d
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x1003a950
cmp esi, 0xa5331412
je 0x1003a978
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x1003a935
mov eax, dword [eax]
jmp 0x1003a910
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
push 5
push dword [ebp - 0x3c]
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 ebx, dword [ebp - 0x34]
add ecx, edx
lea eax, [ebx + 0xc]
push eax
call ecx
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov esi, dword [ebp - 0x38]
test ecx, ecx
je 0x1003a9b3
mov eax, dword [ebx + 8]
mov dword [ecx], eax
xor ebx, ebx
test ebx, ebx
je 0x1003a9dc
mov ecx, esi
call fcn.10039390
jmp 0x1003a9dc
mov ecx, esi
mov ebx, 8
call fcn.10039390
jmp 0x1003a9dc
mov ebx, 7
jmp 0x1003a9dc
mov ebx, 2
xor ecx, ecx
mov eax, 0x1012ab98
xchg dword [eax], ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004a7ae
mov esp, ebp
pop ebp
ret 4