Function at 0x438e6e
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 0x54d95d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x58
push esi
push edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
mov eax, dword [0x593584]
test al, 1
jne 0x438e8f
or eax, 1
mov dword [0x593584], eax
mov byte [ebp - 4], 3
push 2
push 0x593544
call fcn.0050c793
mov byte [ebp - 4], 3
push 0x55b220
call fcn.0050d49c
add esp, 0xc
mov byte [ebp - 4], 2
push 0x593544
call fcn.0050c7b2
add esp, 4
test eax, eax
jne 0x4390f6
cmp dword [0x590be8], 0x10
mov byte [0x592f5c], al
mov eax, 0x590bd4
cmovae eax, dword [0x590bd4]
push 0x1e
mov dword [0x590be4], 0
push 0x117478a6
mov byte [eax], 0
call fcn.00416440
mov edi, dword [0x590b3c]
mov esi, eax
mov dword [ebp - 0x28], 0x5544fc73
add esp, 8
mov dword [ebp - 0x24], 0xd280d90
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], 0xaf4b4030
mov dword [ebp - 0x24], 0xbe0aaf25
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], 0x5544fc0f
mov dword [ebp - 0x24], 0xd280d90
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], 0xaf4b4030
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0xbe0aaf25
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x24]
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x40], xmm1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438f60
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x4390fc
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x40]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x68]
call fcn.004b92d0
sub esp, 0x18
mov dword [ebp - 0x14], 2
lea eax, [ebx + 0x20]
mov dword [ebp - 0x24], esp
mov ecx, esp
lea edx, [ebp - 0x68]
push eax
call fcn.004b54b0
add esp, 4
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
mov edx, esi
mov ecx, edi
call fcn.00437460
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 - 0x68]
call fcn.0040fe60
test esi, esi
jle 0x4390a8
cmp byte [0x592f5c], 0
jne 0x4390a8
nop dword [eax]
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 - 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 0x439077
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x439077
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 0x43906d
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 0x439050
cmp esi, 0x2fa62ca8
je 0x43907b
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x439035
mov eax, dword [eax]
jmp 0x439010
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
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 [0x592f5c], 0
je 0x439000
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
push 0x590bd4
call fcn.004b0ec0
or edi, 1
push 0x593544
mov dword [ebp - 0x14], edi
call fcn.0050c7c3
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebx + 8]
call fcn.0040fe60
mov byte [ebp - 4], 0
lea ecx, [ebx + 0x20]
call fcn.0040fe60
mov eax, dword [ebp - 0x2c]
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 eax
call fcn.0050c45b
call fcn.0040f7b0
int3