Function at 0x4307c0
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 ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527bd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
mov eax, dword [0x571574]
test al, 1
jne 0x43082c
or eax, 1
mov dword [0x571574], eax
mov byte [ebp - 4], 3
push 2
push 0x571534
call fcn.004e5cf3
mov byte [ebp - 4], 3
push 0x537370
call fcn.004e69fc
add esp, 0xc
mov byte [ebp - 4], 2
push 0x571534
call fcn.004e5d12
add esp, 4
test eax, eax
jne 0x430a61
cmp dword [0x56ebe8], 0x10
mov byte [0x570f5c], al
mov eax, 0x56ebd4
cmovae eax, dword [0x56ebd4]
push 0x28
mov dword [0x56ebe4], 0
push 0x7756c347
mov byte [eax], 0
call fcn.00411d80
mov edi, dword [0x56eb3c]
add esp, 8
mov byte [ebp - 0xe], 0x8c
xor edx, edx
mov byte [ebp - 0xd], 0xf1
mov esi, 0xf
mov cl, byte [ebp - 0xe]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov bl, byte [ebp + edx - 0xe]
mov ecx, edx
and ecx, esi
mov eax, 0xd9b2ebfd
cmp ecx, esi
mov edx, 0x89aed71c
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x18]
and al, 0xf
lea ecx, [edx - 3]
xor al, cl
xor al, bl
mov byte [ebp + edx - 0xe], al
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 2
jb 0x430893
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe]
mov esi, dword [ebp - 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4308d8
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x430a67
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0xe]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
call fcn.00493330
sub esp, 0x18
mov dword [ebp - 0x14], 2
lea eax, [ebp + 0x20]
mov dword [ebp - 0x1c], esp
mov ecx, esp
lea edx, [ebp - 0x38]
push eax
call fcn.0048f3c0
add esp, 4
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
mov edx, esi
mov ecx, edi
call fcn.0042f030
mov edi, 2
add esp, 0x18
mov dword [ebp - 0x14], edi
mov esi, eax
and edi, 0xfffffffd
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040b870
test esi, esi
jle 0x430a15
cmp byte [0x570f5c], 0
jne 0x430a15
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x18], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x1c], ecx
cmp ecx, edx
je 0x4309e4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4309e4
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, 0x811c9dc5
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x4309dd
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 0x4309c0
cmp esi, 0x2fa62ca8
je 0x4309e8
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x4309a5
mov eax, dword [eax]
jmp 0x430980
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push 1
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 [0x570f5c], 0
je 0x430974
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
push 0x56ebd4
call fcn.0048ac50
or edi, 1
push 0x571534
mov dword [ebp - 0x14], edi
call fcn.004e5d23
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0040b870
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0040b870
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004e59bb
call fcn.0040b180
int3