Function at 0x47e340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630e20
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp + 0xc]
push 0
push 3
call fcn.0042af70
cmp byte [ebp - 0x1c], 0
je 0x47e3f6
mov edx, dword [0x6af2bc]
nop
mov ecx, dword [ebp - 0x20]
mov eax, 1
shl eax, cl
test edx, eax
jne 0x47e3f6
cmp byte [0x6ac39e], 0
jne 0x47e3f6
movzx ecx, word [ebx + 0x22]
lea edi, [ebx + 0x10]
movzx eax, word [ebx + 0x20]
push ecx
push edi
push eax
push ebx
lea eax, [ebp - 0x14]
push str.__J_:_d_______J_:_d
push eax
call fcn.005ac360
lea eax, [ebp - 0x14]
push eax
push str.Making_icmp6_error_for__S_n
push 0x6a6e70
call fcn.0042abc0
mov ecx, dword [ebp - 0x14]
add esp, 0x24
mov dword [ebp + 0xc], edi
test ecx, ecx
je 0x47e3fc
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
mov dword [ebp + 0xc], edi
jne 0x47e3fc
push ecx
call fcn.005a47b0
mov dword [ebp + 0xc], edi
jmp 0x47e3fc
lea eax, [ebx + 0x10]
mov dword [ebp + 0xc], eax
cmp byte [ebp - 0x1c], 0
je 0x47e427
mov eax, dword [ebp - 0x2c]
mov ecx, 0x6af2b8
mov dword [0x6a6e68], eax
mov eax, dword [ebp - 0x28]
mov dword [0x6a6e6c], eax
mov eax, dword [ebp - 0x24]
xchg dword [ecx], eax
mov ecx, dword [0x6ac16c]
call fcn.005e0810
mov edi, dword [esi + 0xc]
lea ecx, [ebp - 0x14]
mov eax, edi
mov dword [ebp - 0x14], 0
and eax, 0x8000
not edi
mov dword [ebp - 0x18], eax
and edi, 2
mov eax, ebx
cmove eax, dword [ebp + 0xc]
push ecx
push eax
call fcn.00444030
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x47e4fe
mov ecx, dword [edx + 0x26a]
test ecx, ecx
je 0x47e4fe
cmp byte [edx + 0x274], 0
je 0x47e4fe
mov eax, dword [ecx + 0x21c]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x204]
mov dword [esi + 8], eax
test edi, edi
jne 0x47e4b8
mov ecx, dword [edx + 0x26a]
mov eax, dword [ecx + 0x210]
mov dword [esi + 0x1e], eax
movzx eax, word [ecx + 0x214]
mov word [esi + 0x22], ax
mov eax, dword [edx + 0x26e]
mov dword [esi + 0x18], eax
movzx eax, word [edx + 0x272]
jmp 0x47e4e2
mov eax, dword [edx + 0x26e]
mov dword [esi + 0x1e], eax
movzx eax, word [edx + 0x272]
mov word [esi + 0x22], ax
mov ecx, dword [edx + 0x26a]
mov eax, dword [ecx + 0x210]
mov dword [esi + 0x18], eax
movzx eax, word [ecx + 0x214]
mov word [esi + 0x1c], ax
mov eax, dword [ebp - 0x18]
or eax, edi
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x47e52c
jmp 0x47e527
mov eax, dword [esi + 0x1e]
mov ecx, dword [esi + 0x18]
mov dx, word [esi + 0x1c]
or edi, dword [ebp - 0x18]
mov dword [esi + 0x18], eax
mov ax, word [esi + 0x22]
mov dword [esi + 0x1e], ecx
mov word [esi + 0x1c], ax
mov word [esi + 0x22], dx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 0
mov eax, 0x5dc
cdq
and edx, 7
add edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xfffffff8
movzx ecx, word [eax + 4]
mov edi, ecx
shl ecx, 8
shr edi, 8
movzx eax, cx
or edi, eax
lea eax, [edi + 0x58]
cmp eax, edx
jl 0x47e553
lea edi, [edx - 0x58]
lea eax, [edi + 0x28]
push eax
mov eax, dword [ebp - 0x10]
push eax
add eax, 0x30
push eax
call fcn.00609db0
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 0x30]
mov ebx, dword [ebp - 0x10]
mov ah, cl
mov al, ch
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x10]
mov word [ecx + 4], ax
mov word [ecx + 6], 0x803a
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebx + 8], eax
mov eax, ebx
mov dword [eax + 0xc], ecx
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov edx, ebx
mov ebx, dword [ebp + 8]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [edx + 0x20], eax
mov al, byte [ebp + 0x10]
mov dword [edx + 0x24], ecx
add edx, 0x28
mov ecx, dword [ebp - 0x10]
movq qword [edx], xmm0
mov byte [edx], al
mov al, byte [ebp + 0x14]
mov byte [edx + 1], al
lea eax, [edi + 0x30]
push eax
call fcn.0047d890
lea eax, [edi + 0x66]
add esp, 0x10
mov dword [esi + 0x14], eax
lea eax, [edi + 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret