Function at 0x538980
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2b9a8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x58
push esi
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 2
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x2e98ec]
cmp eax, dword [edx + 4]
jg 0x538c04
push 0x2e98b4
call fcn.004a4799
add esp, 4
test eax, eax
jne 0x538c4f
cmp dword [0x2e98e0], 0x7fffffff
je 0x538c56
cmp dword [0x2e6dd0], 0xf
mov dword [0x2e6dcc], eax
mov byte [0x2e90b0], al
mov eax, 0x2e6dbc
cmova eax, dword [0x2e6dbc]
push 0
push 0x2bc9
mov byte [eax], 0
call fcn.0055c020
mov edi, dword [0x2e5b24]
mov esi, eax
mov dword [ebp - 0x20], 0xdf9be3e9
mov dword [ebp - 0x1c], 0xf940fadb
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
lea edx, [ebx + 8]
mov dword [ebp - 0x20], 0x7dbb92e6
mov dword [ebp - 0x1c], 0x14d846fe
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], 0xdf9be395
mov dword [ebp - 0x1c], 0xf940fadb
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], 0x7dbb92e6
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x1c], 0x14d846fe
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x68]
xorps xmm1, xmmword [ebp - 0x50]
push eax
movaps xmmword [ebp - 0x40], xmm1
call fcn.0048c720
mov byte [ebp - 4], 4
sub esp, 0xc
lea edx, [ebx + 0x20]
mov dword [ebp - 0x24], esp
mov ecx, esp
push edx
mov edx, eax
call fcn.0048c980
add esp, 4
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov edx, esi
mov ecx, edi
call fcn.0047ae80
add esp, 0x18
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.004749f0
cmp byte [ebp - 0x11], 0
je 0x538bb5
cmp byte [0x2e90b0], 0
jne 0x538bb5
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x24], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x1c], ecx
cmp ecx, edx
je 0x538b87
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x538b87
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, edx
sub ecx, 4
dec edi
mov dword [ebp - 0x18], ecx
mov esi, 0x811c9dc5
mov ecx, dword [ecx]
add ecx, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x538b7d
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 0x538b60
cmp esi, 0x2fa62ca8
je 0x538b8b
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x538b45
mov eax, dword [eax]
jmp 0x538b20
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
push 2
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, edx
add eax, edx
movzx eax, word [eax + edi*2]
mov eax, dword [ecx + eax*4]
add eax, edx
call eax
cmp byte [0x2e90b0], 0
je 0x538b12
mov ecx, dword [ebp - 0x28]
push 0x2e6dbc
call fcn.00487fb0
push 0x2e98b4
mov dword [ebp - 0x2c], 1
call fcn.004a47aa
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebx + 8]
call fcn.004749f0
mov byte [ebp - 4], 0
lea ecx, [ebx + 0x20]
call fcn.004749f0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x2e98ec
call fcn.004a55b3
add esp, 4
cmp dword [0x2e98ec], 0xffffffff
jne 0x5389e2
mov byte [ebp - 4], 3
mov ecx, 0x2e98b4
call fcn.0047a310
push 0x2bc7d0
call fcn.004a54de
add esp, 4
mov byte [ebp - 4], 2
push 0x2e98ec
call fcn.004a5562
add esp, 4
jmp 0x5389e2
push 5
call fcn.004a4134
push 6
mov dword [0x2e98e0], 0x7ffffffe
call fcn.004a4134
int3