Function at 0x417a05
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, 0x2b4
mov eax, dword [0x4e2040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x284], ebx
push esi
push edi
test ebx, ebx
je 0x417e4b
push 0x250
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.004b21c0
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ebx
call fcn.0040c1e2
call fcn.00417e5a
mov esi, eax
cmp byte [esi + 6], 0
je 0x417a73
push 0xd993efbb
push 0x19cfe32d
push 0
push 3
mov ecx, esi
call fcn.00407f3c
add esp, 0x10
mov byte [esi + 6], 0
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040c0fc
mov ecx, dword [0x4e5c74]
test ecx, ecx
jne 0x417b58
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x27c], ecx
cmp ecx, esi
je 0x417b30
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x417b30
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, esi
sub ecx, 4
mov edx, 0x814a8b38
dec edi
mov dword [ebp - 0x274], edx
mov dword [ebp - 0x278], ecx
mov ebx, dword [ecx]
add ebx, esi
mov dl, byte [ebx]
inc ebx
test dl, dl
je 0x417b2c
mov esi, dword [ebp - 0x274]
movsx ecx, dl
xor ecx, esi
imul edx, ecx, 0x1000193
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
imul edx, ecx, 0x1000193
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
mov dl, byte [ebx]
imul esi, ecx, 0x1000193
inc ebx
test dl, dl
jne 0x417ae5
mov dword [ebp - 0x274], esi
cmp dword [ebp - 0x274], 0xefde5e1f
mov esi, dword [eax + 0x18]
je 0x417b37
mov ecx, dword [ebp - 0x278]
test edi, edi
jne 0x417abf
mov eax, dword [eax]
jmp 0x417a96
mov edx, dword [ebp - 0x27c]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + esi]
add ecx, esi
mov dword [0x4e5c74], ecx
cmp dword [ebp - 8], 7
lea edx, [ebp - 0x270]
lea eax, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
push edx
push eax
call ecx
mov dword [ebp - 0x274], eax
cmp eax, 0xffffffff
je 0x417e43
push 0x2e
pop ebx
mov ecx, dword [0x4e5c70]
test ecx, ecx
jne 0x417c64
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x280], ecx
cmp ecx, esi
je 0x417c33
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x417c33
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, esi
sub ecx, 4
mov edx, 0xe18e1701
dec edi
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x27c], ecx
mov ebx, dword [ecx]
add ebx, esi
mov dl, byte [ebx]
inc ebx
test dl, dl
je 0x417c2f
mov esi, dword [ebp - 0x278]
movsx ecx, dl
xor ecx, esi
imul edx, ecx, 0x1000193
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
imul edx, ecx, 0x1000193
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
mov dl, byte [ebx]
imul esi, ecx, 0x1000193
inc ebx
test dl, dl
jne 0x417be8
mov dword [ebp - 0x278], esi
cmp dword [ebp - 0x278], 0x2dab72c5
mov esi, dword [eax + 0x18]
je 0x417c3a
mov ecx, dword [ebp - 0x27c]
test edi, edi
jne 0x417bc2
mov eax, dword [eax]
jmp 0x417b99
mov edx, dword [ebp - 0x280]
push 0x2e
pop ebx
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + esi]
mov eax, dword [ebp - 0x274]
add ecx, esi
mov dword [0x4e5c70], ecx
lea edx, [ebp - 0x270]
push edx
push eax
call ecx
test eax, eax
je 0x417d61
cmp word [ebp - 0x244], bx
jne 0x417ca0
mov eax, dword [ebp - 0x274]
cmp word [ebp - 0x242], bx
je 0x417b7f
cmp word [ebp - 0x242], 0
je 0x417b7f
push 0x4d15c4
push dword [ebp - 0x284]
lea ecx, [ebp - 0x2b4]
call fcn.0040c1e2
mov edx, eax
lea ecx, [ebp - 0x29c]
call fcn.0040c732
pop ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040c144
lea ecx, [ebp - 0x29c]
call fcn.0040c4e8
lea ecx, [ebp - 0x2b4]
call fcn.0040c4e8
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040c0fc
test byte [ebp - 0x270], 0x10
je 0x417d0d
cmp dword [ebp - 8], 7
lea ecx, [ebp - 0x1c]
cmova ecx, dword [ebp - 0x1c]
call fcn.00417a05
jmp 0x417d56
push ecx
call fcn.00417eca
push ecx
mov ecx, eax
call fcn.004184a4
pop ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004176fe
cmp eax, 0xffffffff
je 0x417d31
call fcn.00417f48
jmp 0x417d36
call fcn.00417fc6
mov ecx, eax
call fcn.004184a4
cmp dword [ebp - 8], 7
lea ecx, [ebp - 0x1c]
mov edx, eax
cmova ecx, dword [ebp - 0x1c]
call fcn.00435835
mov byte [0x4e5cbd], 1
mov eax, dword [ebp - 0x274]
jmp 0x417b7f
mov eax, dword [0x4e5c6c]
test eax, eax
jne 0x417e3b
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x280], ecx
cmp ecx, esi
je 0x417e14
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x417e14
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, esi
sub ecx, 4
mov edx, 0x59c78988
dec edi
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x284], ecx
mov ebx, dword [ecx]
add ebx, esi
mov dl, byte [ebx]
inc ebx
test dl, dl
je 0x417e10
mov esi, dword [ebp - 0x278]
movsx ecx, dl
xor ecx, esi
imul edx, ecx, 0x1000193
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
imul edx, ecx, 0x1000193
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
mov dl, byte [ebx]
imul esi, ecx, 0x1000193
inc ebx
test dl, dl
jne 0x417dc9
mov dword [ebp - 0x278], esi
cmp dword [ebp - 0x278], 0x2a7a4fe5
mov esi, dword [eax + 0x18]
je 0x417e1b
mov ecx, dword [ebp - 0x284]
test edi, edi
jne 0x417da3
mov eax, dword [eax]
jmp 0x417d7a
mov edx, dword [ebp - 0x280]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
mov dword [0x4e5c6c], eax
push dword [ebp - 0x274]
call eax
lea ecx, [ebp - 0x1c]
call fcn.0040c4e8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b0ce6
leave
ret