Function at 0x438dfe
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 0x54884d
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 [0x58d574]
test al, 1
jne 0x438e1f
or eax, 1
mov dword [0x58d574], eax
mov byte [ebp - 4], 3
push 2
push 0x58d534
call fcn.00507693
mov byte [ebp - 4], 3
push 0x555520
call fcn.0050839c
add esp, 0xc
mov byte [ebp - 4], 2
push 0x58d534
call fcn.005076b2
add esp, 4
test eax, eax
jne 0x439086
cmp dword [0x58abe8], 0x10
mov byte [0x58cf5c], al
mov eax, 0x58abd4
cmovae eax, dword [0x58abd4]
push 4
mov dword [0x58abe4], 0
push 0x3c106c1b
mov byte [eax], 0
call fcn.004163f0
mov edi, dword [0x58ab3c]
mov esi, eax
mov dword [ebp - 0x28], 0x4efd549
add esp, 8
mov dword [ebp - 0x24], 0xe640eba1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], 0x76184a46
mov dword [ebp - 0x24], 0xf52f0c30
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], 0x4efd535
mov dword [ebp - 0x24], 0xe640eba1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], 0x76184a46
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0xf52f0c30
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 0x438ef0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x43908c
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.004b41d0
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.004b03b0
add esp, 4
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
mov edx, esi
mov ecx, edi
call fcn.004373f0
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.0040fe10
test esi, esi
jle 0x439038
cmp byte [0x58cf5c], 0
jne 0x439038
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 0x439007
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x439007
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 0x438ffd
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 0x438fe0
cmp esi, 0x2fa62ca8
je 0x43900b
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x438fc5
mov eax, dword [eax]
jmp 0x438fa0
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 [0x58cf5c], 0
je 0x438f90
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
push 0x58abd4
call fcn.004abdc0
or edi, 1
push 0x58d534
mov dword [ebp - 0x14], edi
call fcn.005076c3
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebx + 8]
call fcn.0040fe10
mov byte [ebp - 4], 0
lea ecx, [ebx + 0x20]
call fcn.0040fe10
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.0050735b
call fcn.0040f760
int3