Function at 0x402b50
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, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 4], edi
cmp dword [ebx + 0x84], 0
je 0x402e70
mov ebx, dword [ebx + 0x80]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add ebx, edi
push 0x14
push ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], eax
call eax
test eax, eax
jne 0x402e70
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov dword [ebp - 0x10], eax
nop dword [eax + eax]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x402e70
push dword [esi + 0x34]
add eax, edi
push eax
mov eax, dword [esi + 0x24]
call eax
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
je 0x402dd0
mov eax, dword [esi + 0xc]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [esi + 8]
call dword [ebp - 0x10]
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x402d26
mov eax, dword [esi + 0xc]
mov dword [esi + 8], ecx
mov dword [ecx + eax*4], edi
inc dword [esi + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x402c05
mov ecx, dword [ebx + 0x10]
jmp 0x402c0a
mov eax, dword [ebx + 0x10]
mov ecx, eax
mov edx, dword [ebp - 4]
lea ebx, [eax + edx]
mov eax, dword [ebx]
lea edi, [ecx + edx]
test eax, eax
je 0x402c54
nop dword [eax]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x28]
push ecx
test eax, eax
jns 0x402c30
movzx eax, ax
jmp 0x402c38
mov ecx, dword [ebp - 4]
add ecx, 2
add eax, ecx
push eax
push dword [ebp - 8]
call edx
add esp, 0xc
mov dword [edi], eax
test eax, eax
je 0x402c73
mov eax, dword [ebx + 4]
add ebx, 4
add edi, 4
test eax, eax
jne 0x402c20
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
push 0x14
push ebx
mov dword [ebp - 0xc], ebx
call dword [ebp - 0x14]
test eax, eax
jne 0x402e70
mov edi, dword [ebp - 4]
jmp 0x402ba0
push dword [esi + 0x34]
mov eax, dword [esi + 0x2c]
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
call eax
mov eax, dword fs:[0x30]
add esp, 8
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x10], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x14], ecx
cmp ecx, esi
je 0x402cf9
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x402cf9
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
nop dword [eax]
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x241eb38a
mov cl, byte [edx]
inc edx
test cl, cl
je 0x402cf2
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x402cd5
cmp esi, 0x9adb3158
je 0x402cfd
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x402cc0
mov eax, dword [eax]
jmp 0x402c94
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x7f
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
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x34]
mov eax, dword [esi + 0x2c]
push edi
call eax
mov eax, dword fs:[0x30]
add esp, 8
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x10], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x14], ecx
cmp ecx, esi
je 0x402da4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x402da4
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, 0x7808c62
mov cl, byte [edx]
inc edx
test cl, cl
je 0x402d9d
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 0x402d80
cmp esi, 0x2cd40a10
je 0x402da8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x402d65
mov eax, dword [eax]
jmp 0x402d40
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0xe
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
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
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 - 0x10], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x14], ecx
cmp ecx, edx
je 0x402e44
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x402e44
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, 0xa8e23fa4
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x402e3d
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 0x402e20
cmp esi, 0x336f12a
je 0x402e48
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x402e05
mov eax, dword [eax]
jmp 0x402de0
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x7e
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
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret