Function at 0x40ebf0
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8205de
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x93bf44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov edx, eax
shr edx, 0x10
test edx, edx
je 0x40ecc3
cmp word [eax], 0x3c
je 0x40ecc3
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov ecx, dword [0x181cbd0]
cmp ecx, dword [edx + 4]
jle 0x40ecaa
push 0x181cbd0
call fcn.005c2a3f
add esp, 4
cmp dword [0x181cbd0], 0xffffffff
jne 0x40eca7
push 0x1f8
mov dword [ebp - 4], 0
call fcn.00490dba
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x40ec8c
mov ecx, eax
call fcn.005eb580
jmp 0x40ec8e
xor eax, eax
push 0x181cbd0
mov dword [0x181cbd4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.005c29f5
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [0x181cbd4]
push eax
call fcn.005eb6a2
mov ecx, eax
mov eax, dword [ebp + 8]
test ecx, ecx
cmovne eax, ecx
mov dword [ebp + 8], eax
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x40ed1e
cmp word [eax], 0x3c
mov ecx, ebx
jne 0x40ecf8
push eax
call fcn.005ea8ec
test al, al
jne 0x40f22a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0
push eax
call fcn.005ea93a
test al, al
jne 0x40f22a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx + 0x148]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x40ed33
call fcn.005e05e1
mov dword [ebp - 0x10], eax
mov ecx, dword fs:[0x30]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
movzx edx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
and edx, 0xfffffffe
mov dword [ebp - 0x14], ecx
mov ebx, 0x811c9dc5
lea eax, [edx + esi]
inc edx
shr edx, 1
cmp esi, eax
cmova edx, edi
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x40ed93
mov ecx, edx
mov dl, byte [esi]
mov al, dl
sub al, 0x41
cmp al, 0x19
movsx eax, dl
ja 0x40ed78
or eax, 0x20
xor eax, ebx
inc edi
imul ebx, eax, 0x1000193
add esi, 2
cmp edi, ecx
jne 0x40ed68
mov ecx, dword [ebp - 0x14]
cmp ebx, 0xa3e6f6c3
je 0x40ed97
mov ecx, dword [ecx]
jmp 0x40ed40
mov eax, dword [0x181cbc4]
mov esi, dword [ecx + 0x18]
mov dword [ebp - 0x14], esi
test eax, eax
jne 0x40ee49
test esi, esi
je 0x40ee42
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
cmp ecx, esi
je 0x40ee42
mov eax, dword [ecx + 0x18]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40ee42
mov edi, dword [ecx + 0x20]
add edi, esi
nop word [eax + eax]
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x40ee18
mov al, cl
sub al, 0x41
cmp al, 0x19
movsx eax, cl
ja 0x40edfe
or eax, 0x20
mov cl, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
test cl, cl
jne 0x40edf0
cmp esi, 0xcc83e81f
je 0x40ee25
mov eax, dword [ebp - 0x1c]
inc ebx
add edi, 4
cmp ebx, eax
je 0x40ee42
mov esi, dword [ebp - 0x14]
jmp 0x40ede0
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x40ee44
xor eax, eax
mov dword [0x181cbc4], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x10]
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ece2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
xor edi, edi
mov esi, dword [eax + 0x30]
and edx, 0xfffffffe
mov dword [ebp - 0x1c], eax
mov ebx, 0x811c9dc5
lea ecx, [edx + esi]
inc edx
shr edx, 1
cmp esi, ecx
cmova edx, edi
mov dword [ebp - 0x20], edx
test edx, edx
je 0x40eebe
mov eax, edx
mov dl, byte [esi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x40eea3
or ecx, 0x20
xor ecx, ebx
inc edi
imul ebx, ecx, 0x1000193
add esi, 2
cmp edi, eax
jne 0x40ee93
mov eax, dword [ebp - 0x1c]
cmp ebx, 0xa3e6f6c3
je 0x40eec2
mov eax, dword [eax]
jmp 0x40ee6b
mov esi, dword [eax + 0x18]
mov eax, dword [0x181cbc8]
mov dword [ebp - 0x1c], esi
test eax, eax
jne 0x40ef6e
test esi, esi
je 0x40ef67
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], ecx
cmp ecx, esi
je 0x40ef67
mov eax, dword [ecx + 0x18]
xor ebx, ebx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x40ef67
mov edi, dword [ecx + 0x20]
add edi, esi
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x40ef3d
mov al, cl
sub al, 0x41
cmp al, 0x19
movsx eax, cl
ja 0x40ef23
or eax, 0x20
mov cl, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
test cl, cl
jne 0x40ef15
cmp esi, 0xc5e040b9
je 0x40ef4a
mov eax, dword [ebp - 0x20]
inc ebx
add edi, 4
cmp ebx, eax
je 0x40ef67
mov esi, dword [ebp - 0x1c]
jmp 0x40ef05
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x40ef69
xor eax, eax
mov dword [0x181cbc8], eax
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
push esi
push ebx
call eax
mov edi, eax
test edi, edi
jne 0x40f0d2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
xor edi, edi
mov esi, dword [eax + 0x30]
and edx, 0xfffffffe
mov dword [ebp + 0xc], eax
mov ebx, 0x811c9dc5
lea ecx, [edx + esi]
inc edx
shr edx, 1
cmp esi, ecx
cmova edx, edi
mov dword [ebp + 0x10], edx
test edx, edx
je 0x40efe1
mov eax, edx
mov dl, byte [esi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x40efc6
or ecx, 0x20
xor ecx, ebx
inc edi
imul ebx, ecx, 0x1000193
add esi, 2
cmp edi, eax
jne 0x40efb6
mov eax, dword [ebp + 0xc]
cmp ebx, 0xa3e6f6c3
je 0x40efe5
mov eax, dword [eax]
jmp 0x40ef8e
mov esi, dword [eax + 0x18]
mov eax, dword [0x181cbcc]
mov dword [ebp + 0xc], esi
test eax, eax
jne 0x40f0b7
test esi, esi
je 0x40f0b0
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
add ecx, esi
mov dword [ebp + 0x18], ecx
cmp ecx, esi
je 0x40f0b0
mov eax, dword [ecx + 0x18]
xor ebx, ebx
mov dword [ebp + 0x10], eax
test eax, eax
je 0x40f0b0
mov edi, dword [ecx + 0x20]
add edi, esi
nop dword [eax]
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x40f068
mov al, cl
sub al, 0x41
cmp al, 0x19
movsx eax, cl
ja 0x40f04e
or eax, 0x20
mov cl, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
test cl, cl
jne 0x40f040
cmp esi, 0xee1dc317
je 0x40f075
mov eax, dword [ebp + 0x10]
inc ebx
add edi, 4
cmp ebx, eax
je 0x40f0b0
mov esi, dword [ebp + 0xc]
jmp 0x40f030
mov esi, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [0x181cbcc], eax
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor eax, eax
mov dword [0x181cbcc], eax
push dword [ebp - 0x14]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
push esi
push ebx
mov dword [eax + 0x140], ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 0x18]
push 0
push esi
push eax
call fcn.005eac2d
test al, al
je 0x40ece2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
xor edi, edi
mov esi, dword [eax + 0x30]
and edx, 0xfffffffe
mov dword [ebp - 0x1c], eax
mov ebx, 0x811c9dc5
lea ecx, [edx + esi]
inc edx
shr edx, 1
cmp esi, ecx
cmova edx, edi
mov dword [ebp - 0x24], edx
test edx, edx
je 0x40f162
mov eax, edx
mov dl, byte [esi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x40f147
or ecx, 0x20
xor ecx, ebx
inc edi
imul ebx, ecx, 0x1000193
add esi, 2
cmp edi, eax
jne 0x40f137
mov eax, dword [ebp - 0x1c]
cmp ebx, 0xa3e6f6c3
je 0x40f166
mov eax, dword [eax]
jmp 0x40f10f
mov esi, dword [eax + 0x18]
mov eax, dword [0x181cbcc]
mov dword [ebp - 0x1c], esi
test eax, eax
jne 0x40f219
test esi, esi
je 0x40f212
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
cmp ecx, esi
je 0x40f212
mov eax, dword [ecx + 0x18]
xor ebx, ebx
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40f212
mov edi, dword [ecx + 0x20]
add edi, esi
nop dword [eax]
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x40f1e8
mov al, cl
sub al, 0x41
cmp al, 0x19
movsx eax, cl
ja 0x40f1ce
or eax, 0x20
mov cl, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
test cl, cl
jne 0x40f1c0
cmp esi, 0xee1dc317
je 0x40f1f5
mov eax, dword [ebp - 0x24]
inc ebx
add edi, 4
cmp ebx, eax
je 0x40f212
mov esi, dword [ebp - 0x1c]
jmp 0x40f1b0
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x40f214
xor eax, eax
mov dword [0x181cbcc], eax
push dword [ebp - 0x14]
call eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x144], eax
push dword [ebp + 0x18]
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0040f250
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14