Function at 0x10067080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x1013d070]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [ebp + 0xc]
push esi
mov esi, edx
mov dword [esp + 8], ebx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x34], eax
inc eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
push edi
test eax, eax
jne 0x100670ef
cmp dword [ebx + 0x78], eax
jne 0x100670e0
mov eax, dword [ebx]
test byte [eax + 0x44], 8
jne 0x100670e0
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.1004f440
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10067136
test dword [esi + 4], 0x800
je 0x10067136
mov eax, dword [esi + 0x14]
xor edx, edx
mov esi, dword [eax]
mov edi, dword [esi]
test edi, edi
jle 0x10067127
add esi, 4
nop dword [eax]
mov ecx, dword [esi]
call fcn.10066cc0
test eax, eax
jne 0x10067123
inc edx
add esi, 0x18
cmp edx, edi
jl 0x10067110
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
xor eax, eax
cmp edx, edi
cmove ecx, eax
mov dword [esp + 0x3c], ecx
cmp dword [ebx + 0x24], 0
mov eax, dword [ebp + 8]
jne 0x10067783
mov ecx, esi
call fcn.10066ea0
test eax, eax
je 0x10067780
mov ecx, dword [eax]
mov eax, dword [eax + 0x1c]
mov esi, dword [ebx]
mov dword [esp + 0x54], ecx
mov edi, dword [ecx]
mov ecx, 0xfff0bdc0
mov ebx, dword [eax + 0x18]
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], ebx
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x1006718a
mov eax, dword [esi + 0x10]
xor ecx, ecx
add eax, 0xc
cmp dword [eax], edx
je 0x1006718a
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x10067182
movsx eax, cx
mov ecx, dword [esp + 0xc]
mov edx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x78]
test eax, eax
mov ecx, dword [esp + 0x34]
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x5c]
test esi, eax
jne 0x100671c7
bts esi, ecx
mov dword [edx + 0x5c], esi
cmp ecx, 1
jne 0x100671c7
mov ecx, edx
call fcn.10075bc0
mov ecx, dword [esp + 0x34]
push dword [ebx]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push 0
push dword [ebx + 0x1c]
call fcn.1006fd80
add esp, 0xc
cmp edi, 1
jne 0x10067278
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
cmp word [eax + 0x20], 0
jge 0x10067278
lea edx, [edi + 0x13]
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.1004f810
mov edx, dword [esp + 0x38]
mov esi, eax
mov ecx, dword [esp + 0xc]
push 0x6a
push ebx
push dword [esp + 0x3c]
call fcn.1007e980
mov edx, dword [edi + 0x88]
add esp, 0xc
mov dword [esp + 0x20], 1
test esi, esi
jns 0x10067233
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x49], 0
je 0x10067257
mov edi, dword [esp + 0x20]
mov eax, 0x10142c24
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov dword [edx + 0x1c], eax
jmp 0x10067845
mov eax, dword [edi + 0x58]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov dword [edx + 0x1c], eax
jmp 0x10067845
mov dword [esp + 0x24], 0
mov eax, 1
mov dword [esp + 0x1c], eax
test edi, edi
jle 0x10067369
xor esi, esi
test eax, eax
je 0x1006777c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0x9a
jne 0x100672ad
mov al, byte [ecx + 0x26]
cmp al, 0x9b
jne 0x100672ba
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
mov edi, edx
jmp 0x100672c5
cmp al, 0x78
jne 0x100672df
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
mov edi, dword [edx]
cmp edi, 1
jle 0x100672df
cmp bl, 0x78
je 0x100672db
cmp byte [ecx + 0x26], 0x78
je 0x100672db
mov ecx, dword [esi + eax + 4]
jmp 0x100672df
mov ecx, dword [esi + edx + 4]
mov eax, dword [esp + 0x54]
mov eax, dword [eax + esi + 4]
movsx edx, word [eax + 0x20]
test edx, edx
js 0x100672fe
mov eax, dword [esp + 0x40]
add edx, edx
mov eax, dword [eax + 4]
mov bl, byte [eax + edx*8 + 0xd]
jmp 0x10067300
mov bl, 0x44
call fcn.100644b0
test al, al
je 0x1006731e
test bl, bl
je 0x10067326
cmp al, 0x43
jge 0x1006731a
cmp bl, 0x43
jge 0x1006731a
mov al, 0x41
jmp 0x10067328
mov al, 0x43
jmp 0x10067328
test bl, bl
jne 0x10067326
mov al, 0x41
jmp 0x10067328
add al, bl
movsx eax, al
sub eax, 0x41
je 0x10067343
sub eax, 1
je 0x10067343
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x1c], eax
jmp 0x10067347
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add esi, 0x18
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x50]
jl 0x10067293
test eax, eax
je 0x1006777c
mov ebx, dword [esp + 0x40]
mov edi, dword [ebx + 8]
mov dword [esp + 0x10], edi
test edi, edi
je 0x1006777c
mov ebx, dword [esp + 0x50]
nop dword [eax]
cmp dword [esp + 0x20], 0
jne 0x10067264
movzx eax, word [edi + 0x34]
mov ecx, eax
cmp ecx, ebx
jl 0x10067761
cmp eax, 0x3f
jae 0x10067761
test byte [ebp + 8], 4
je 0x100673c2
movzx eax, word [edi + 0x32]
cmp eax, ebx
jg 0x10067761
cmp ecx, ebx
jle 0x100673c2
cmp byte [edi + 0x36], 0
je 0x10067761
mov dword [esp + 0x24], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x30], eax
test ebx, ebx
jle 0x100675a8
xor edi, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0x9a
jne 0x10067403
mov al, byte [edx + 0x26]
cmp al, 0x9b
jne 0x10067410
mov eax, dword [edx + 0x14]
mov ecx, dword [eax]
mov esi, ecx
jmp 0x1006741b
cmp al, 0x78
jne 0x10067435
mov eax, dword [edx + 0x14]
mov ecx, dword [eax]
mov esi, dword [ecx]
cmp esi, 1
jle 0x10067435
cmp bl, 0x78
je 0x10067431
cmp byte [edx + 0x26], 0x78
je 0x10067431
mov edx, dword [edi + eax + 4]
jmp 0x10067435
mov edx, dword [edi + ecx + 4]
test dword [edx + 4], 0x100
mov eax, dword [esp + 0x54]
mov esi, dword [eax + edi + 4]
je 0x10067457
mov ecx, dword [esp + 0xc]
call fcn.10064640
mov ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x1006749b
test esi, esi
je 0x10067477
test dword [esi + 4], 0x100
je 0x10067477
mov ecx, dword [esp + 0xc]
mov edx, esi
call fcn.10064640
mov ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x1006749b
mov ebx, dword [esp + 0xc]
mov ecx, ebx
call fcn.10064640
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1006749b
mov edx, esi
mov ecx, ebx
call fcn.10064640
mov ecx, eax
mov dword [esp + 0x1c], eax
movzx ebx, word [esi + 0x20]
xor edx, edx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x4c], eax
cmp word [eax], bx
jne 0x10067520
test ecx, ecx
je 0x1006753a
mov eax, dword [ecx]
mov ecx, dword [esi + 0x20]
mov bl, byte [eax]
mov edi, dword [ecx + edx*4]
movzx ecx, bl
movzx esi, byte [ecx + 0x1012d740]
movzx ecx, byte [edi]
movzx ecx, byte [ecx + 0x1012d740]
sub esi, ecx
jne 0x10067514
sub edi, eax
test bl, bl
je 0x1006750c
movzx ecx, byte [edi + eax + 1]
inc eax
mov bl, byte [eax]
movzx edx, byte [ecx + 0x1012d740]
movzx ecx, bl
movzx esi, byte [ecx + 0x1012d740]
sub esi, edx
je 0x100674e5
mov edx, dword [esp + 0x28]
jmp 0x10067514
mov edx, dword [esp + 0x28]
test esi, esi
je 0x1006753a
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc edx
add eax, 2
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], eax
cmp edx, dword [esp + 0x50]
jl 0x100674b4
mov ebx, dword [esp + 0x50]
cmp edx, ebx
je 0x100675a0
mov edi, dword [esp + 0x2c]
mov eax, edx
xor edx, edx
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
mov ecx, edx
cmovae esi, edx
and ecx, dword [esp + 0x30]
mov eax, esi
and eax, edi
or ecx, eax
jne 0x100675a0
or dword [esp + 0x30], edx
or edi, esi
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], edi
test edx, edx
je 0x10067588
mov eax, dword [esp + 0x28]
mov dword [edx + ecx*4], eax
mov edi, dword [esp + 0x58]
inc ecx
add edi, 0x18
mov dword [esp + 0x24], ecx
mov dword [esp + 0x58], edi
cmp ecx, ebx
jl 0x100673f1
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
xor ecx, ecx
xor edx, edx
mov eax, ebx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
cmp dword [esp + 0x30], ecx
jne 0x10067761
cmp esi, edx
jne 0x10067761
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 0x88]
cmp dword [eax + 0x30], esi
jg 0x10067600
push 0
push 0
push 0
mov edx, 0x14
call fcn.1004f760
add esp, 0xc
mov esi, eax
jmp 0x1006763a
lea eax, [esi + 1]
mov dword [ecx + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x58]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [edi]
push str.USING_INDEX__s_FOR_IN_OPERATOR
push 0
push dword [esp + 0x18]
call fcn.1004fc90
mov edx, dword [edi + 0x2c]
add esp, 0x10
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1006767e
push dword [esp + 0x34]
mov ecx, edi
push edx
push dword [esp + 0x40]
mov edx, 0x6a
call fcn.1004f760
add esp, 0xc
jmp 0x100676b0
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x6a
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
mov ecx, eax
mov edx, dword [esp + 0x10]
mov edi, dword [eax + 8]
call fcn.100764e0
mov edx, eax
test edx, edx
je 0x100676f5
mov ecx, dword [edi]
cmp byte [ecx + 0x49], 0
je 0x100676e0
push edx
mov edx, 0xfffffff7
call fcn.10050470
add esp, 4
jmp 0x100676f5
mov eax, dword [edi + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov eax, dword [edi + 0x1c]
movzx eax, byte [eax]
add eax, 3
mov dword [esp + 0x20], eax
test edx, edx
je 0x10067731
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov dword [edx], eax
cmp ebx, 1
jne 0x10067731
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
push eax
call fcn.10066f10
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x88]
test esi, esi
jns 0x10067742
lea esi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x49], 0
je 0x10067751
mov eax, 0x10142c24
jmp 0x1006775e
mov eax, dword [esp + 0x18]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x58]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edi, dword [edi + 0x14]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x10067380
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x10067268
mov ebx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x14]
test al, 1
je 0x100677eb
test dword [edx + 4], 0x800
jne 0x100677eb
mov esi, dword [edx + 0xc]
lea ecx, [esp + 0x60]
mov dword [edx + 0xc], 0
mov byte [esp + 0x74], 1
mov dword [esp + 0x64], fcn.10066930
mov dword [esp + 0x68], 0x10066880
mov dword [esp + 0x78], 0
call fcn.100621f0
cmp byte [esp + 0x74], 0
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], esi
je 0x100677da
mov eax, dword [edx + 0x14]
cmp dword [eax], 2
jg 0x100677e8
mov eax, dword [esp + 0x38]
mov edi, 5
mov dword [edx + 0x1c], eax
jmp 0x10067845
mov eax, dword [ebp + 8]
mov esi, dword [ebx + 0x84]
xor ecx, ecx
lea edi, [ecx + 2]
test al, 4
je 0x10067817
mov dword [ebx + 0x84], ecx
mov eax, dword [edx + 0xc]
cmp word [eax + 0x20], cx
jge 0x10067827
test dword [edx + 4], 0x800
jne 0x10067827
lea edi, [ecx + 1]
jmp 0x10067827
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10067827
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
mov dword [eax], ecx
xor eax, eax
cmp edi, 1
sete al
push eax
push ecx
mov ecx, ebx
call fcn.10067a90
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [ebx + 0x84], esi
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x100678e9
cmp edi, 3
je 0x100678e9
cmp edi, 4
je 0x100678e9
mov ecx, dword [edx + 0xc]
mov al, byte [ecx]
cmp al, 0x9a
jne 0x1006786f
mov al, byte [ecx + 0x26]
cmp al, 0x9b
jne 0x1006787a
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
jmp 0x1006788c
cmp al, 0x78
jne 0x10067887
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x1006788c
mov edx, 1
xor ecx, ecx
test edx, edx
jle 0x100678e9
cmp edx, 8
jb 0x100678dd
movaps xmm1, xmmword [0x10137610]
mov eax, edx
and eax, reloc.WS2_32.dll_getsockopt
jns 0x100678ac
dec eax
or eax, 0xfffffff8
inc eax
mov esi, edx
sub esi, eax
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebx + ecx*4], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebx + ecx*4 + 0x10], xmm0
add ecx, 8
cmp ecx, esi
jl 0x100678b0
cmp ecx, edx
jge 0x100678e9
mov dword [ebx + ecx*4], ecx
inc ecx
cmp ecx, edx
jl 0x100678e1
mov ecx, dword [esp + 0x7c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ae9aa
mov esp, ebp
pop ebp
ret