Function at 0x534fa0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x54e840
push eax
mov eax, 0x68
mov dword fs:[0], esp
call fcn.00525ec0
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0x58]
mov eax, dword [edi + 4]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
mov ecx, dword [eax + 8]
push 0x10
mov dword [esp + 0x14], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
call fcn.0050f3bc
add esp, 4
mov ebx, eax
mov esi, 0x1000
push esi
mov dword [esp + 0x30], ebx
call fcn.0050f3bc
lea ecx, [eax + 0xf]
mov dword [ebx], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
mov dword [ebx + 4], ecx
mov eax, dword [edi + 4]
add esp, 4
cmp byte [eax + 0x134], 0
je 0x535053
add ecx, 0xc
mov dword [ebx + 4], ecx
cmp dword [eax + 0xec], 0x10
jne 0x53502f
add ecx, 4
mov dword [ebx + 4], ecx
or dword [eax + 0xc4], 8
cmp byte [eax + 0x135], 0
mov ecx, dword [eax + 0xc4]
je 0x535062
or ecx, 0x800
mov dword [eax + 0xc4], ecx
jmp 0x535062
cmp dword [eax + 0xc4], 0
je 0x535062
add ecx, 4
mov dword [ebx + 4], ecx
add dword [ebx + 4], 0x12
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 4]
mov byte [ecx], 1
mov ebp, 1
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0
add dword [ebx + 4], ebp
mov dl, byte [eax + 0xb8]
mov esi, dword [ebx + 4]
mov byte [esi], dl
add dword [ebx + 4], ebp
mov al, byte [eax + 0xb9]
mov ecx, dword [ebx + 4]
mov byte [ecx], al
add dword [ebx + 4], ebp
mov ax, word [ebx + 4]
sub ax, word [ebx]
mov ecx, dword [edi + 4]
movzx edx, word [ecx + 0x1ca]
movzx esi, ax
mov eax, dword [ebx]
mov dword [ebx + 4], eax
movzx ecx, si
xor eax, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x12c], al
mov dword [esp + 0x1c], esi
setne al
mov dword [esp + 0x24], ecx
add eax, 0x19
test byte [ecx + 0xc4], 8
je 0x535115
cmp dword [ecx + 0xec], 0x10
jne 0x535115
movzx ecx, si
sub ecx, 0x1f
mov esi, ecx
and esi, reloc.WS2_32.dll_getsockopt
jns 0x5350fc
dec esi
or esi, 0xfffffff8
inc esi
mov ecx, 8
sub ecx, esi
cmp ecx, 8
je 0x535115
mov esi, dword [esp + 0x1c]
add ecx, esi
movzx ecx, cx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx]
mov byte [ecx], 3
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov ecx, dword [esp + 0x18]
shr ecx, 8
mov byte [esi], cl
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov cl, byte [esp + 0x18]
mov byte [esi], cl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 2
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], pe_nt_image_headers32
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0x80
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
add al, al
add al, al
mov byte [ecx], al
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 0x1ca]
lea ecx, [eax - 0x3e9]
sar ecx, 8
mov byte [esi], cl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
add al, 0x17
mov byte [ecx], al
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 3
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0xeb
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0x70
mov eax, dword [esp + 0x18]
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
add eax, 0xfffffff1
or eax, 0x8000
movzx eax, ax
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], al
add dword [ebx + 4], ebp
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0xc4]
mov esi, dword [ebx + 4]
test al, 8
je 0x5351f2
cmp dword [ecx + 0xec], 0x10
mov eax, 0xc
jne 0x5351f9
mov eax, 0x10
jmp 0x5351f9
neg eax
sbb eax, eax
and eax, 4
mov ecx, esi
sub ecx, dword [ebx]
add esi, eax
mov dword [ebx + 4], esi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
sub ecx, eax
lea eax, [ecx - 0xf]
movzx eax, ax
mov byte [esi], al
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
shr eax, 8
mov byte [esi], al
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0x17
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], dl
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
shr edx, 8
mov byte [eax], dl
add dword [ebx + 4], ebp
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xac]
mov edx, dword [ebx + 4]
mov byte [edx], al
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov edx, eax
shr edx, 8
mov byte [esi], dl
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov edx, eax
shr eax, 0x18
shr edx, 0x10
mov byte [esi], dl
add dword [ebx + 4], ebp
mov edx, dword [ebx + 4]
mov byte [edx], al
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 1
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x24]
add ecx, 0xffffffdf
movzx ecx, cx
mov byte [eax], cl
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
movzx esi, word [esp + 0x1c]
shr ecx, 8
mov byte [eax], cl
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0x1f
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
mov eax, dword [ebx + 4]
mov byte [eax + 1], 0
mov ecx, dword [ebx]
add ecx, edx
mov dword [ebx + 4], ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xc4]
mov dword [esp + 0x14], 0
test eax, eax
je 0x5354c9
mov byte [ecx], al
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov edx, eax
shr edx, 8
mov byte [ecx], dl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
test al, 8
je 0x5354bc
mov edx, dword [edi + 4]
cmp dword [edx + 0xec], 0x10
mov edx, dword [ebx]
jne 0x5353d8
mov byte [ecx], 0x10
add dword [ebx + 4], ebp
lea eax, [ecx + 0xc]
sub edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
add esi, edx
mov byte [eax], 1
add dword [ebx + 4], ebp
mov ecx, esi
and ecx, 7
mov eax, 8
sub eax, ecx
mov dword [esp + 0x14], eax
cmp eax, 8
jne 0x535373
mov dword [esp + 0x14], 0
jmp 0x535389
test eax, eax
je 0x53538d
mov edx, dword [esp + 0x24]
push eax
add edx, esi
push 0
push edx
call fcn.00516180
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x24]
mov byte [ecx], al
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
push edi
push eax
push esi
push edx
call fcn.0052cab0
mov edx, dword [esp + 0x24]
add dword [ebx + 4], 8
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x24]
add ecx, esi
push edx
lea esi, [esp + 0x40]
push esi
push edx
mov esi, eax
call fcn.0046cc50
mov eax, dword [edi + 4]
add esp, 0xc
add dword [eax + 0xc0], ebp
jmp 0x5354bc
add ecx, 8
sub edx, ecx
add esi, edx
test eax, 0x800
je 0x5353f5
mov eax, dword [ebx + 4]
push eax
push ebp
push esi
push ecx
push edi
call fcn.0052dfb0
jmp 0x535401
mov edx, dword [ebx + 4]
push edx
push esi
push ecx
push edi
call fcn.0052e280
add dword [ebx + 4], 8
mov eax, dword [ebx + 4]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
cmp dword [eax + 0xc0], 0x1000
mov dword [esp + 0x18], eax
jb 0x535495
mov edi, dword [eax + 0xd4]
lea edx, [eax + 0x1aa]
lea ecx, [eax + 0x146]
push edx
push ecx
call fcn.0052c260
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x53544c
push eax
call fcn.0050f521
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xd4]
push 0x408
mov dword [esp + 0x28], ecx
call fcn.0050f3bc
mov edx, dword [esp + 0x28]
add esp, 4
lea ecx, [edi + 0x146]
push ecx
push edx
push eax
mov dword [esp + 0x2c], eax
call fcn.004da560
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x30], eax
mov dword [edi + 0xc0], 0
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x30]
push eax
push eax
push esi
push ecx
call fcn.004da240
mov eax, dword [esp + 0x28]
add dword [eax + 0xc0], ebp
add esp, 0x10
add dword [eax + 0xd8], ebp
mov edx, dword [edi + 4]
mov dword [edx + 0xc4], 0
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
mov ecx, dword [ebx]
movzx eax, ax
add eax, ecx
mov dword [ebx + 4], eax
sub eax, ecx
push 0x10
mov dword [ebx + 8], eax
call fcn.0050f3bc
add esp, 4
mov ebx, eax
mov esi, 0x1000
push esi
mov dword [esp + 0x40], ebx
call fcn.0050f3bc
lea ecx, [eax + 0xf]
mov dword [ebx], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
mov dword [ebx + 4], ecx
mov eax, dword [edi + 4]
add esp, 4
cmp byte [eax + 0x134], 0
je 0x535551
add ecx, 0xc
mov dword [ebx + 4], ecx
cmp dword [eax + 0xec], 0x10
jne 0x53552d
add ecx, 4
mov dword [ebx + 4], ecx
or dword [eax + 0xc4], 8
cmp byte [eax + 0x135], 0
mov ecx, dword [eax + 0xc4]
je 0x535560
or ecx, 0x800
mov dword [eax + 0xc4], ecx
jmp 0x535560
cmp dword [eax + 0xc4], 0
je 0x535560
add ecx, 4
mov dword [ebx + 4], ecx
add dword [ebx + 4], 0x12
mov eax, dword [ebx + 4]
mov byte [eax], 4
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov ax, word [ebx + 4]
sub ax, word [ebx]
mov ecx, dword [edi + 4]
movzx edx, word [ecx + 0x1ca]
movzx esi, ax
mov eax, dword [ebx]
mov dword [ebx + 4], eax
movzx ecx, si
xor eax, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x12c], al
mov dword [esp + 0x20], esi
setne al
mov dword [esp + 0x30], ecx
add eax, 0x19
test byte [ecx + 0xc4], 8
je 0x535625
cmp dword [ecx + 0xec], 0x10
jne 0x535625
movzx ecx, si
sub ecx, 0x1f
mov esi, ecx
and esi, reloc.WS2_32.dll_getsockopt
jns 0x53560c
dec esi
or esi, 0xfffffff8
inc esi
mov ecx, 8
sub ecx, esi
cmp ecx, 8
je 0x535625
mov esi, dword [esp + 0x20]
add ecx, esi
movzx ecx, cx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx]
mov byte [ecx], 3
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
shr ecx, 8
mov byte [esi], cl
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov cl, byte [esp + 0x1c]
mov byte [esi], cl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 2
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], pe_nt_image_headers32
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0x80
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
add al, al
add al, al
mov byte [ecx], al
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x1ca]
lea ecx, [eax - 0x3e9]
sar ecx, 8
mov byte [esi], cl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
add al, 0x17
mov byte [ecx], al
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 3
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0xeb
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0x70
mov eax, dword [esp + 0x1c]
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
add eax, 0xfffffff1
or eax, 0x8000
movzx eax, ax
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], al
add dword [ebx + 4], ebp
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0xc4]
mov esi, dword [ebx + 4]
test al, 8
je 0x535702
cmp dword [ecx + 0xec], 0x10
mov eax, 0xc
jne 0x535709
mov eax, 0x10
jmp 0x535709
neg eax
sbb eax, eax
and eax, 4
mov ecx, esi
sub ecx, dword [ebx]
add esi, eax
mov dword [ebx + 4], esi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
sub ecx, eax
lea eax, [ecx - 0xf]
movzx eax, ax
mov byte [esi], al
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
shr eax, 8
mov byte [esi], al
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0x17
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], dl
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
shr edx, 8
mov byte [eax], dl
add dword [ebx + 4], ebp
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xac]
mov edx, dword [ebx + 4]
mov byte [edx], al
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov edx, eax
shr edx, 8
mov byte [esi], dl
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov edx, eax
shr eax, 0x18
shr edx, 0x10
mov byte [esi], dl
add dword [ebx + 4], ebp
mov edx, dword [ebx + 4]
mov byte [edx], al
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 1
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x30]
add ecx, 0xffffffdf
movzx ecx, cx
mov byte [eax], cl
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
movzx esi, word [esp + 0x20]
shr ecx, 8
mov byte [eax], cl
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0x14
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
mov eax, dword [ebx + 4]
mov byte [eax + 1], 0
mov ecx, dword [ebx]
add ecx, edx
mov dword [ebx + 4], ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xc4]
mov dword [esp + 0x14], 0
test eax, eax
je 0x5359d9
mov byte [ecx], al
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov edx, eax
shr edx, 8
mov byte [ecx], dl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
test al, 8
je 0x5359cc
mov edx, dword [edi + 4]
cmp dword [edx + 0xec], 0x10
mov edx, dword [ebx]
jne 0x5358e8
mov byte [ecx], 0x10
add dword [ebx + 4], ebp
lea eax, [ecx + 0xc]
sub edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
add esi, edx
mov byte [eax], 1
add dword [ebx + 4], ebp
mov ecx, esi
and ecx, 7
mov eax, 8
sub eax, ecx
mov dword [esp + 0x14], eax
cmp eax, 8
jne 0x535883
mov dword [esp + 0x14], 0
jmp 0x535899
test eax, eax
je 0x53589d
mov edx, dword [esp + 0x24]
push eax
add edx, esi
push 0
push edx
call fcn.00516180
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x24]
mov byte [ecx], al
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
push edi
push eax
push esi
push edx
call fcn.0052cab0
mov edx, dword [esp + 0x24]
add dword [ebx + 4], 8
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x24]
add ecx, esi
push edx
lea esi, [esp + 0x34]
push esi
push edx
mov esi, eax
call fcn.0046cc50
mov eax, dword [edi + 4]
add esp, 0xc
add dword [eax + 0xc0], ebp
jmp 0x5359cc
add ecx, 8
sub edx, ecx
add esi, edx
test eax, 0x800
je 0x535905
mov eax, dword [ebx + 4]
push eax
push ebp
push esi
push ecx
push edi
call fcn.0052dfb0
jmp 0x535911
mov edx, dword [ebx + 4]
push edx
push esi
push ecx
push edi
call fcn.0052e280
add dword [ebx + 4], 8
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
cmp dword [eax + 0xc0], 0x1000
mov dword [esp + 0x18], eax
jb 0x5359a5
mov edi, dword [eax + 0xd4]
lea edx, [eax + 0x1aa]
lea ecx, [eax + 0x146]
push edx
push ecx
call fcn.0052c260
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x53595c
push eax
call fcn.0050f521
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xd4]
push 0x408
mov dword [esp + 0x34], ecx
call fcn.0050f3bc
mov edx, dword [esp + 0x34]
add esp, 4
lea ecx, [edi + 0x146]
push ecx
push edx
push eax
mov dword [esp + 0x30], eax
call fcn.004da560
mov eax, dword [esp + 0x30]
mov dword [edi + 0x30], eax
mov dword [edi + 0xc0], 0
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x30]
push eax
push eax
push esi
push ecx
call fcn.004da240
mov eax, dword [esp + 0x28]
add dword [eax + 0xc0], ebp
add esp, 0x10
add dword [eax + 0xd8], ebp
mov edx, dword [edi + 4]
mov dword [edx + 0xc4], 0
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x14]
mov ecx, dword [ebx]
movzx eax, ax
add eax, ecx
mov dword [ebx + 4], eax
sub eax, ecx
push 0x10
mov dword [ebx + 8], eax
call fcn.0050f3bc
add esp, 4
mov esi, 0x1000
push esi
mov ebx, eax
call fcn.0050f3bc
lea ecx, [eax + 0xf]
mov dword [ebx], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
mov dword [ebx + 4], ecx
mov eax, dword [edi + 4]
add esp, 4
cmp byte [eax + 0x134], 0
je 0x535a5d
add ecx, 0xc
mov dword [ebx + 4], ecx
cmp dword [eax + 0xec], 0x10
jne 0x535a39
add ecx, 4
mov dword [ebx + 4], ecx
or dword [eax + 0xc4], 8
cmp byte [eax + 0x135], 0
mov ecx, dword [eax + 0xc4]
je 0x535a6c
or ecx, 0x800
mov dword [eax + 0xc4], ecx
jmp 0x535a6c
cmp dword [eax + 0xc4], 0
je 0x535a6c
add ecx, 4
mov dword [ebx + 4], ecx
add dword [ebx + 4], 0x12
mov eax, dword [ebx + 4]
mov byte [eax], 1
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov ax, word [ebx + 4]
sub ax, word [ebx]
mov ecx, dword [edi + 4]
movzx edx, word [ecx + 0x1ca]
movzx esi, ax
mov eax, dword [ebx]
mov dword [ebx + 4], eax
movzx ecx, si
xor eax, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x12c], al
mov dword [esp + 0x1c], esi
setne al
mov dword [esp + 0x30], ecx
add eax, 0x19
test byte [ecx + 0xc4], 8
je 0x535b31
cmp dword [ecx + 0xec], 0x10
jne 0x535b31
movzx ecx, si
sub ecx, 0x1f
mov esi, ecx
and esi, reloc.WS2_32.dll_getsockopt
jns 0x535b18
dec esi
or esi, 0xfffffff8
inc esi
mov ecx, 8
sub ecx, esi
cmp ecx, 8
je 0x535b31
mov esi, dword [esp + 0x1c]
add ecx, esi
movzx ecx, cx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx]
mov byte [ecx], 3
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov ecx, dword [esp + 0x20]
shr ecx, 8
mov byte [esi], cl
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov cl, byte [esp + 0x20]
mov byte [esi], cl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 2
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], pe_nt_image_headers32
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0x80
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
add al, al
add al, al
mov byte [ecx], al
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x1ca]
lea ecx, [eax - 0x3e9]
sar ecx, 8
mov byte [esi], cl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
add al, 0x17
mov byte [ecx], al
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 3
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0xeb
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0x70
mov eax, dword [esp + 0x20]
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
add eax, 0xfffffff1
or eax, 0x8000
movzx eax, ax
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], al
add dword [ebx + 4], ebp
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0xc4]
mov esi, dword [ebx + 4]
test al, 8
je 0x535c0e
cmp dword [ecx + 0xec], 0x10
mov eax, 0xc
jne 0x535c15
mov eax, 0x10
jmp 0x535c15
neg eax
sbb eax, eax
and eax, 4
mov ecx, esi
sub ecx, dword [ebx]
add esi, eax
mov dword [ebx + 4], esi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x1c]
sub ecx, eax
lea eax, [ecx - 0xf]
movzx eax, ax
mov byte [esi], al
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
shr eax, 8
mov byte [esi], al
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0x17
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], dl
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
shr edx, 8
mov byte [eax], dl
add dword [ebx + 4], ebp
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xac]
mov edx, dword [ebx + 4]
mov byte [edx], al
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov edx, eax
shr edx, 8
mov byte [esi], dl
add dword [ebx + 4], ebp
mov esi, dword [ebx + 4]
mov edx, eax
shr eax, 0x18
shr edx, 0x10
mov byte [esi], dl
add dword [ebx + 4], ebp
mov edx, dword [ebx + 4]
mov byte [edx], al
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 1
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x30]
add ecx, 0xffffffdf
movzx ecx, cx
mov byte [eax], cl
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
movzx esi, word [esp + 0x1c]
shr ecx, 8
mov byte [eax], cl
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0x14
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
mov byte [eax], 0
mov eax, dword [ebx + 4]
mov byte [eax + 1], 0
mov ecx, dword [ebx]
add ecx, edx
mov dword [ebx + 4], ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xc4]
mov dword [esp + 0x14], 0
test eax, eax
je 0x535eea
mov byte [ecx], al
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov edx, eax
shr edx, 8
mov byte [ecx], dl
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
mov byte [ecx], 0
add dword [ebx + 4], ebp
mov ecx, dword [ebx + 4]
test al, 8
je 0x535edd
mov edx, dword [edi + 4]
cmp dword [edx + 0xec], 0x10
mov edx, dword [ebx]
jne 0x535df9
mov byte [ecx], 0x10
add dword [ebx + 4], ebp
lea eax, [ecx + 0xc]
sub edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
mov byte [eax], 0
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
add esi, edx
mov byte [eax], 1
add dword [ebx + 4], ebp
mov ecx, esi
and ecx, 7
mov eax, 8
sub eax, ecx
mov dword [esp + 0x14], eax
cmp eax, 8
jne 0x535d8f
mov dword [esp + 0x14], 0
jmp 0x535da9
test eax, eax
je 0x535da9
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
push edx
add eax, esi
push 0
push eax
call fcn.00516180
add esp, 0xc
mov ecx, dword [ebx + 4]
mov dl, byte [esp + 0x14]
mov byte [ecx], dl
add dword [ebx + 4], ebp
mov eax, dword [ebx + 4]
push edi
push eax
mov eax, dword [esp + 0x2c]
push esi
push eax
call fcn.0052cab0
add dword [ebx + 4], 8
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x24]
mov edx, dword [esp + 0x14]
lea ecx, [edx + esi]
mov edx, dword [esp + 0x24]
push edx
lea esi, [esp + 0x34]
push esi
push edx
mov esi, eax
call fcn.0046cc50
mov eax, dword [edi + 4]
add esp, 0xc
add dword [eax + 0xc0], ebp
jmp 0x535edd
add ecx, 8
sub edx, ecx
add esi, edx
test eax, 0x800
je 0x535e16
mov eax, dword [ebx + 4]
push eax
push ebp
push esi
push ecx
push edi
call fcn.0052dfb0
jmp 0x535e22
mov edx, dword [ebx + 4]
push edx
push esi
push ecx
push edi
call fcn.0052e280
add dword [ebx + 4], 8
mov eax, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
cmp dword [eax + 0xc0], 0x1000
mov dword [esp + 0x18], eax
jb 0x535eb6
mov edi, dword [eax + 0xd4]
lea edx, [eax + 0x1aa]
lea ecx, [eax + 0x146]
push edx
push ecx
call fcn.0052c260
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x535e6d
push eax
call fcn.0050f521
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xd4]
push 0x408
mov dword [esp + 0x34], ecx
call fcn.0050f3bc
mov edx, dword [esp + 0x34]
add esp, 4
lea ecx, [edi + 0x146]
push ecx
push edx
push eax
mov dword [esp + 0x30], eax
call fcn.004da560
mov eax, dword [esp + 0x30]
mov dword [edi + 0x30], eax
mov dword [edi + 0xc0], 0
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x30]
push eax
push eax
push esi
push ecx
call fcn.004da240
mov eax, dword [esp + 0x28]
add dword [eax + 0xc0], ebp
add esp, 0x10
add dword [eax + 0xd8], ebp
mov edx, dword [edi + 4]
mov dword [edx + 0xc4], 0
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
mov ecx, dword [ebx]
movzx eax, ax
add eax, ecx
mov dword [ebx + 4], eax
sub eax, ecx
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x115], 0
mov dword [esp + 0x24], 0
jne 0x536518
cmp byte [eax + 0x117], 0
je 0x536518
push 0x10
call fcn.0050f3bc
add esp, 4
mov esi, 0x1000
push esi
mov ebp, eax
call fcn.0050f3bc
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0xf]
mov dword [ebp], eax
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
mov dword [ebp + 4], ecx
mov eax, dword [edx + 4]
add esp, 4
cmp byte [eax + 0x134], 0
je 0x535f99
add ecx, 0xc
mov dword [ebp + 4], ecx
cmp dword [eax + 0xec], 0x10
jne 0x535f75
add ecx, 4
mov dword [ebp + 4], ecx
or dword [eax + 0xc4], 8
cmp byte [eax + 0x135], 0
mov ecx, dword [eax + 0xc4]
je 0x535fa8
or ecx, 0x800
mov dword [eax + 0xc4], ecx
jmp 0x535fa8
cmp dword [eax + 0xc4], 0
je 0x535fa8
add ecx, 4
mov dword [ebp + 4], ecx
add dword [ebp + 4], 0x12
mov eax, dword [ebp + 4]
mov byte [eax], 0
mov edi, 1
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 3
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov ax, word [ebp + 4]
sub ax, word [ebp]
mov ecx, dword [edx + 4]
movzx ecx, word [ecx + 0x1ca]
movzx esi, ax
mov eax, dword [ebp]
mov dword [esp + 0x1c], esi
mov dword [ebp + 4], eax
mov edx, dword [edx + 4]
movzx eax, si
mov dword [esp + 0x20], eax
xor eax, eax
cmp byte [edx + 0x12c], al
mov dword [esp + 0x34], edx
setne al
add eax, 0x19
test byte [edx + 0xc4], 8
je 0x536104
cmp dword [edx + 0xec], 0x10
jne 0x536104
movzx edx, si
sub edx, 0x1f
mov esi, edx
and esi, reloc.WS2_32.dll_getsockopt
jns 0x5360eb
dec esi
or esi, 0xfffffff8
inc esi
mov edx, 8
sub edx, esi
cmp edx, 8
je 0x536104
mov esi, dword [esp + 0x1c]
add esi, edx
movzx edx, si
mov dword [esp + 0x20], edx
mov edx, dword [ebp]
mov byte [edx], 3
add dword [ebp + 4], edi
mov edx, dword [ebp + 4]
mov byte [edx], 0
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
mov edx, dword [esp + 0x20]
shr edx, 8
mov byte [esi], dl
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
mov dl, byte [esp + 0x20]
mov byte [esi], dl
add dword [ebp + 4], edi
mov edx, dword [ebp + 4]
mov byte [edx], 2
add dword [ebp + 4], edi
mov edx, dword [ebp + 4]
mov byte [edx], pe_nt_image_headers32
add dword [ebp + 4], edi
mov edx, dword [ebp + 4]
mov byte [edx], 0x80
add dword [ebp + 4], edi
mov edx, dword [ebp + 4]
add al, al
add al, al
mov byte [edx], al
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 0x1ca]
lea edx, [eax - 0x3e9]
sar edx, 8
mov byte [esi], dl
add dword [ebp + 4], edi
mov edx, dword [ebp + 4]
add al, 0x17
mov byte [edx], al
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 3
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0xeb
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0x70
mov eax, dword [esp + 0x20]
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
add eax, 0xfffffff1
or eax, 0x8000
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi], dl
add dword [ebp + 4], edi
mov edx, dword [ebp + 4]
mov byte [edx], al
add dword [ebp + 4], edi
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov eax, dword [edx + 0xc4]
mov esi, dword [ebp + 4]
test al, 8
je 0x5361e8
mov eax, 0x10
mov dword [esp + 0x20], 0xc
cmp dword [edx + 0xec], eax
jne 0x5361f3
jmp 0x5361ef
neg eax
sbb eax, eax
and eax, 4
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x20]
mov eax, esi
sub eax, dword [ebp]
add esi, edx
mov dword [ebp + 4], esi
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
lea eax, [edx - 0xf]
movzx eax, ax
mov byte [esi], al
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
shr eax, 8
mov byte [esi], al
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0x17
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
shr ecx, 8
mov byte [eax], cl
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0xac]
mov byte [esi], al
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
add edx, 0xffffffdf
movzx ecx, dx
mov edx, eax
shr edx, 8
mov byte [esi], dl
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
mov edx, eax
shr eax, 0x18
shr edx, 0x10
mov byte [esi], dl
add dword [ebp + 4], edi
mov edx, dword [ebp + 4]
mov byte [edx], al
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 1
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], cl
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x34]
movzx esi, word [esp + 0x1c]
shr ecx, 8
mov byte [eax], cl
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0x2b
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
mov eax, dword [ebp + 4]
mov byte [eax + 1], 0
mov ecx, dword [ebp]
mov eax, dword [esp + 0x10]
add ecx, edx
mov dword [ebp + 4], ecx
mov dword [esp + 0x14], 0
mov edx, dword [eax + 4]
mov eax, dword [edx + 0xc4]
test eax, eax
je 0x5364fb
mov byte [ecx], al
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
mov edx, eax
shr edx, 8
mov byte [ecx], dl
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
mov byte [ecx], 0
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
mov byte [ecx], 0
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
test al, 8
je 0x5364ea
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp dword [edx + 0xec], 0x10
mov edx, dword [ebp]
jne 0x5363f9
mov byte [ecx], 0x10
add dword [ebp + 4], edi
lea eax, [ecx + 0xc]
sub edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
add esi, edx
mov byte [eax], 1
add dword [ebp + 4], edi
mov ecx, esi
and ecx, 7
mov eax, 8
sub eax, ecx
mov dword [esp + 0x14], eax
cmp eax, 8
jne 0x536382
mov dword [esp + 0x14], 0
jmp 0x53639d
test eax, eax
je 0x53639d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
push edx
lea ecx, [esi + eax]
push 0
push ecx
call fcn.00516180
add esp, 0xc
mov edx, dword [ebp + 4]
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov byte [edx], al
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x24]
push ecx
push eax
push esi
push edx
call fcn.0052cab0
add dword [ebp + 4], 8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0x24]
mov edx, dword [esp + 0x14]
lea ecx, [esi + edx]
mov edx, dword [esp + 0x24]
push edx
lea esi, [esp + 0x38]
push esi
push edx
mov esi, eax
call fcn.0046cc50
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add esp, 0xc
add dword [eax + 0xc0], edi
jmp 0x5364ea
add ecx, 8
sub edx, ecx
add esi, edx
test eax, 0x800
je 0x53641a
mov eax, dword [ebp + 4]
push eax
push edi
push esi
push ecx
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0052dfb0
jmp 0x53642a
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x10]
push edx
push esi
push ecx
push eax
call fcn.0052e280
add dword [ebp + 4], 8
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp dword [eax + 0xc0], 0x1000
mov ecx, dword [ebp + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
jb 0x5364c3
mov edi, dword [eax + 0xd4]
lea edx, [eax + 0x1aa]
lea ecx, [eax + 0x146]
push edx
push ecx
call fcn.0052c260
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x536479
push eax
call fcn.0050f521
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xd4]
push 0x408
mov dword [esp + 0x38], ecx
call fcn.0050f3bc
mov edx, dword [esp + 0x38]
add esp, 4
lea ecx, [edi + 0x146]
push ecx
push edx
push eax
mov dword [esp + 0x3c], eax
call fcn.004da560
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x30], eax
mov dword [edi + 0xc0], 0
add esp, 0xc
mov edi, 1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x30]
push eax
push eax
push esi
push ecx
call fcn.004da240
mov eax, dword [esp + 0x28]
add dword [eax + 0xc0], edi
add esp, 0x10
add dword [eax + 0xd8], edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov dword [eax + 0xc4], 0
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
mov ecx, dword [ebp]
movzx edx, ax
lea eax, [edx + ecx]
mov dword [ebp + 4], eax
sub eax, ecx
mov dword [ebp + 8], eax
mov dword [esp + 0x24], ebp
push 0x10
call fcn.0050f3bc
add esp, 4
mov esi, 0x1000
push esi
mov ebp, eax
call fcn.0050f3bc
mov ecx, dword [esp + 0x14]
lea edx, [eax + 0xf]
mov dword [ebp], eax
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
mov dword [ebp + 4], edx
mov eax, dword [ecx + 4]
add esp, 4
cmp byte [eax + 0x134], 0
je 0x53658a
add edx, 0xc
mov dword [ebp + 4], edx
cmp dword [eax + 0xec], 0x10
jne 0x536566
add edx, 4
mov dword [ebp + 4], edx
or dword [eax + 0xc4], 8
cmp byte [eax + 0x135], 0
mov edx, dword [eax + 0xc4]
je 0x536599
or edx, 0x800
mov dword [eax + 0xc4], edx
jmp 0x536599
cmp dword [eax + 0xc4], 0
je 0x536599
add edx, 4
mov dword [ebp + 4], edx
add dword [ebp + 4], 0x12
mov eax, dword [ebp + 4]
mov byte [eax], 0
mov edi, 1
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 3
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0x32
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ecx + 4]
movzx edx, word [eax + 0x1ca]
mov ax, word [ebp + 4]
sub ax, word [ebp]
movzx esi, ax
mov eax, dword [ebp]
mov dword [ebp + 4], eax
mov ecx, dword [ecx + 4]
movzx eax, si
mov dword [esp + 0x20], eax
xor eax, eax
cmp byte [ecx + 0x12c], al
mov dword [esp + 0x1c], esi
setne al
mov dword [esp + 0x34], ecx
add eax, 0x19
test byte [ecx + 0xc4], 8
je 0x536665
cmp dword [ecx + 0xec], 0x10
jne 0x536665
movzx ecx, si
sub ecx, 0x1f
mov esi, ecx
and esi, reloc.WS2_32.dll_getsockopt
jns 0x53664c
dec esi
or esi, 0xfffffff8
inc esi
mov ecx, 8
sub ecx, esi
cmp ecx, 8
je 0x536665
mov esi, dword [esp + 0x1c]
add esi, ecx
movzx ecx, si
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp]
mov byte [ecx], 3
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
mov byte [ecx], 0
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
mov ecx, dword [esp + 0x20]
shr ecx, 8
mov byte [esi], cl
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
mov cl, byte [esp + 0x20]
mov byte [esi], cl
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
mov byte [ecx], 2
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
mov byte [ecx], pe_nt_image_headers32
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
mov byte [ecx], 0x80
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
add al, al
add al, al
mov byte [ecx], al
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 0x1ca]
lea ecx, [eax - 0x3e9]
sar ecx, 8
mov byte [esi], cl
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
add al, 0x17
mov byte [ecx], al
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 3
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0xeb
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0x70
mov eax, dword [esp + 0x20]
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
add eax, 0xfffffff1
or eax, 0x8000
movzx eax, ax
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
mov byte [ecx], al
add dword [ebp + 4], edi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0xc4]
mov esi, dword [ebp + 4]
test al, 8
je 0x536747
cmp dword [ecx + 0xec], 0x10
mov eax, 0xc
jne 0x53674e
mov eax, 0x10
jmp 0x53674e
neg eax
sbb eax, eax
and eax, 4
mov ecx, esi
sub ecx, dword [ebp]
add esi, eax
mov dword [ebp + 4], esi
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x1c]
sub ecx, eax
lea eax, [ecx - 0xf]
movzx eax, ax
mov byte [esi], al
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
shr eax, 8
mov byte [esi], al
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0x17
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], dl
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
shr edx, 8
mov byte [eax], dl
add dword [ebp + 4], edi
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xac]
mov byte [edx], al
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
mov edx, eax
shr edx, 8
mov byte [esi], dl
add dword [ebp + 4], edi
mov esi, dword [ebp + 4]
mov edx, eax
shr eax, 0x18
shr edx, 0x10
mov byte [esi], dl
add dword [ebp + 4], edi
mov edx, dword [ebp + 4]
mov byte [edx], al
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 1
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x34]
add ecx, 0xffffffdf
movzx ecx, cx
mov byte [eax], cl
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
movzx esi, word [esp + 0x1c]
shr ecx, 8
mov byte [eax], cl
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0x27
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov byte [eax], 0
mov eax, dword [ebp + 4]
mov byte [eax + 1], 0
mov ecx, dword [ebp]
mov eax, dword [esp + 0x10]
add ecx, edx
mov dword [ebp + 4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], 0
mov eax, dword [edx + 0xc4]
test eax, eax
je 0x536a4f
mov byte [ecx], al
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
mov edx, eax
shr edx, 8
mov byte [ecx], dl
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
mov byte [ecx], 0
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
mov byte [ecx], 0
add dword [ebp + 4], edi
mov ecx, dword [ebp + 4]
test al, 8
je 0x536a3e
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp dword [edx + 0xec], 0x10
mov edx, dword [ebp]
jne 0x53694d
mov byte [ecx], 0x10
add dword [ebp + 4], edi
lea eax, [ecx + 0xc]
sub edx, eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 4]
mov byte [eax], 0
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
add esi, edx
mov byte [eax], 1
add dword [ebp + 4], edi
mov ecx, esi
and ecx, 7
mov eax, 8
sub eax, ecx
mov dword [esp + 0x14], eax
cmp eax, 8
jne 0x5368d7
mov dword [esp + 0x14], 0
jmp 0x5368f1
test eax, eax
je 0x5368f1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push edx
add eax, esi
push 0
push eax
call fcn.00516180
add esp, 0xc
mov ecx, dword [ebp + 4]
mov dl, byte [esp + 0x14]
mov byte [ecx], dl
mov ecx, dword [esp + 0x10]
add dword [ebp + 4], edi
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x20]
push ecx
push eax
push esi
push edx
call fcn.0052cab0
add dword [ebp + 4], 8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0x24]
mov edx, dword [esp + 0x14]
lea ecx, [edx + esi]
mov edx, dword [esp + 0x20]
push edx
lea esi, [esp + 0x38]
push esi
push edx
mov esi, eax
call fcn.0046cc50
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add esp, 0xc
add dword [eax + 0xc0], edi
jmp 0x536a3e
add ecx, 8
sub edx, ecx
add esi, edx
test eax, 0x800
je 0x53696e
mov eax, dword [ebp + 4]
push eax
push edi
push esi
push ecx
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0052dfb0
jmp 0x53697e
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x10]
push edx
push esi
push ecx
push eax
call fcn.0052e280
add dword [ebp + 4], 8
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp dword [eax + 0xc0], 0x1000
mov ecx, dword [ebp + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
jb 0x536a17
mov edi, dword [eax + 0xd4]
lea edx, [eax + 0x1aa]
lea ecx, [eax + 0x146]
push edx
push ecx
call fcn.0052c260
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x5369cd
push eax
call fcn.0050f521
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xd4]
push 0x408
mov dword [esp + 0x38], ecx
call fcn.0050f3bc
mov edx, dword [esp + 0x38]
add esp, 4
lea ecx, [edi + 0x146]
push ecx
push edx
push eax
mov dword [esp + 0x3c], eax
call fcn.004da560
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x30], eax
mov dword [edi + 0xc0], 0
add esp, 0xc
mov edi, 1
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x30]
mov ecx, dword [esp + 0x20]
push ecx
push ecx
push esi
push eax
call fcn.004da240
mov eax, dword [esp + 0x28]
add dword [eax + 0xc0], edi
add esp, 0x10
add dword [eax + 0xd8], edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov dword [eax + 0xc4], 0
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
mov ecx, dword [ebp]
movzx edx, ax
lea eax, [edx + ecx]
mov dword [ebp + 4], eax
sub eax, ecx
mov dword [ebp + 8], eax
lea eax, [esp + 0x60]
push eax
call fcn.00401cf0
mov dword [esp + 0x80], 0
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x34]
push ecx
lea edi, [esp + 0x64]
mov dword [esp + 0x3c], eax
call fcn.0042b110
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
call fcn.0042b110
mov esi, dword [esp + 0x3c]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], ecx
call fcn.0042b110
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x44], eax
call fcn.0042b110
cmp dword [esp + 0x24], 0
je 0x536b0e
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
call fcn.0042b110
mov eax, dword [ebp + 8]
mov ecx, dword [ebp]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
lea edi, [esp + 0x64]
mov dword [esp + 0x40], ecx
call fcn.0042b110
mov edi, dword [esp + 0x4c]
push 0
push 0
push 0x3c
push 0
push 0
lea ecx, [esp + 0x60]
mov dword [edi + 0xc], 0x582a2c
call fcn.00417fd0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00412690
mov eax, dword [edi]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x50], 0x5473a0
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
call fcn.004282d0
push 0x14
call fcn.0050d866
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebp
cmp byte [edi + 0x6c], 0
mov byte [esp + 0x4c], 0
push eax
je 0x536bda
mov eax, dword [0x5be844]
movzx ecx, byte [eax]
push ecx
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x98]
call fcn.0042b960
mov edx, dword [edi + 0x1c]
add esp, 0xc
push eax
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x68]
call fcn.0042b990
jmp 0x536c11
mov ecx, dword [0x5be844]
movzx edx, byte [ecx]
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x94]
lea eax, [esp + 0x44]
push eax
call fcn.0042b960
mov ecx, dword [esp + 0x58]
mov edx, dword [edi + 0x18]
add esp, 0xc
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.0042ba60
add esp, 8
mov dword [esp + 0x80], 0xffffffff
lea edx, [esp + 0x60]
push edx
call fcn.00401930
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 8