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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x623d6c
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x786f54]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx + 0x84]
mov eax, dword [ecx + 0x14]
cmp eax, 9
jge 0x49823b
xor edi, edi
add eax, 0xffffffff
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [ebp + 8], eax
jl 0x497b80
cmp eax, dword [ecx + 0x14]
jge 0x497b5f
mov ecx, dword [ecx + 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x497b61
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40c]
call eax
add eax, 1
and eax, reloc.WSOCK32.dll_getsockopt
jns 0x497b7c
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x24], eax
push 0x170
call sub.SCL.dll_Ordinal_5366
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov dword [esp + 0x78], edi
je 0x497ba4
mov ecx, eax
call fcn.004cb350
mov ebx, eax
jmp 0x497ba6
xor ebx, ebx
or esi, 0xffffffff
push 0x170
mov dword [esp + 0x7c], esi
call sub.SCL.dll_Ordinal_5366
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov dword [esp + 0x78], 1
je 0x497bd7
mov ecx, eax
call fcn.004cb350
mov dword [esp + 0x18], eax
jmp 0x497bdb
mov dword [esp + 0x18], edi
push 0x170
mov dword [esp + 0x7c], esi
call sub.SCL.dll_Ordinal_5366
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov dword [esp + 0x78], 2
je 0x497c05
mov ecx, eax
call fcn.004c8e50
mov edi, eax
push 0x170
mov dword [esp + 0x7c], esi
call sub.SCL.dll_Ordinal_5366
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x78], 3
je 0x497c31
mov ecx, eax
call fcn.004c8e50
mov esi, eax
jmp 0x497c33
xor esi, esi
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c4]
mov dword [esp + 0x78], 0xffffffff
call eax
push eax
lea ecx, [esp + 0x54]
call fcn.00497990
fldz
mov edx, dword [ebp + 8]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x14]
fld dword [0x70e1dc]
mov eax, dword [eax + 0x84]
fstp dword [esp + 0x34]
lea ecx, [edx + 1]
cmp ecx, dword [eax + 0x14]
mov dword [esp + 0x78], 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ecx
jge 0x497d4b
jmp 0x497c98
mov ecx, dword [esp + 0x20]
test ecx, ecx
jl 0x497cad
cmp ecx, dword [eax + 0x14]
jge 0x497cad
mov edx, dword [eax + 0x10]
mov eax, dword [edx + ecx*4]
mov dword [esp + 0x1c], eax
jmp 0x497cb5
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1bc]
lea eax, [esp + 0x30]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1bc]
lea eax, [esp + 0x30]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1bc]
lea eax, [esp + 0x30]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1bc]
lea eax, [esp + 0x30]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp dword [eax + 8], 0
je 0x497d2a
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x1bc]
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call edx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x84]
add ecx, 1
cmp ecx, dword [eax + 0x14]
mov dword [esp + 0x20], ecx
jl 0x497c94
mov edx, dword [ebp + 8]
fld dword [0x6f1104]
lea ecx, [edx + edx*2]
fstp dword [esp + 0x40]
lea edx, [ecx*8 + 0x44]
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
lea ecx, [esp + 0x40]
push ecx
fstp dword [esp + 0x2c]
mov ecx, ebx
fld dword [esp + 0x2c]
fstp dword [esp + 0x48]
fld dword [0x70e1d8]
fstp dword [esp + 0x4c]
fld dword [0x708558]
fstp dword [esp + 0x50]
mov eax, dword [ebx]
mov edx, dword [eax + 0x154]
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c0]
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0x14]
add eax, 0x4c
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x3dc]
push eax
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0x20]
add dword [esp + 0x1c], 4
add eax, 1
cmp eax, 8
mov dword [esp + 0x20], eax
jl 0x497dbc
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx]
mov edx, dword [eax + 0x408]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x358]
push 0x53504354
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
mov edx, dword [eax + 0x350]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1a4]
push 1
mov ecx, ebx
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x90]
mov edx, dword [ecx]
mov eax, dword [edx + 0x398]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1f4]
push ebx
call eax
fld dword [0x70e1d4]
mov ecx, dword [esp + 0x18]
fstp dword [esp + 0x40]
fld dword [esp + 0x28]
lea eax, [esp + 0x40]
fstp dword [esp + 0x44]
push eax
fld dword [0x70e1d0]
fstp dword [esp + 0x4c]
fld dword [0x708558]
fstp dword [esp + 0x50]
mov edx, dword [ecx]
mov edx, dword [edx + 0x154]
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c0]
lea edx, [esp + 0x50]
push edx
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x358]
push 0x53505754
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x350]
push eax
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1a4]
push 1
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x90]
mov edx, dword [ecx]
mov eax, dword [edx + 0x398]
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x1f4]
push ecx
mov ecx, eax
call edx
fld dword [0x70e1cc]
fstp dword [esp + 0x40]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*2 + 9]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
push 0x7987b0
push 0x7987a8
fstp dword [esp + 0x30]
push 0x7987a0
fld dword [esp + 0x34]
push 0x798798
fstp dword [esp + 0x54]
lea eax, [esp + 0x50]
fld dword [0x700d40]
push eax
fst dword [esp + 0x5c]
mov ecx, edi
fstp dword [esp + 0x60]
mov edx, dword [edi]
mov edx, dword [edx + 0x3d4]
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x36c]
push 0
mov ecx, edi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x350]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x358]
push 0x43425053
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x3c0]
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x1c]
call sub.SCL.dll_Ordinal_9804
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x94]
mov edx, dword [ecx]
mov edx, dword [edx + 0x300]
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x7c], 5
call edx
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
mov edx, dword [edx + 0x2fc]
push ecx
push eax
mov ecx, edi
mov byte [esp + 0x80], 6
call edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 5
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 4
call sub.SCL.dll_Ordinal_9807
mov eax, dword [edi]
mov edx, dword [eax + 0x1a4]
push 1
mov ecx, edi
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x90]
mov edx, dword [ecx]
mov eax, dword [edx + 0x398]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1f4]
push edi
call eax
fld dword [0x70e1c8]
fstp dword [esp + 0x40]
push 0x7987d0
fld dword [esp + 0x2c]
push 0x7987c8
fstp dword [esp + 0x4c]
push 0x7987c0
fld dword [0x700d40]
push 0x7987b8
fst dword [esp + 0x58]
lea eax, [esp + 0x50]
fstp dword [esp + 0x5c]
mov edx, dword [esi]
mov edx, dword [edx + 0x3d4]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x36c]
push 0
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 0x350]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x358]
push 0x43424d53
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x3c0]
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call edx
push 0x70e138
lea ecx, [esp + 0x2c]
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 7
call sub.SCL.dll_Ordinal_9804
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x80], 8
call sub.SCL.dll_Ordinal_5281
add esp, 8
mov ecx, dword [esp + 0x24]
mov edx, dword [esi]
mov edx, dword [edx + 0x2fc]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x80], 9
call edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 8
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 7
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 4
call sub.SCL.dll_Ordinal_9807
mov eax, dword [esi]
push 1
mov edx, dword [eax + 0x1a4]
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x90]
mov edx, dword [ecx]
mov eax, dword [edx + 0x398]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1f4]
push esi
call eax
push 0x50
call sub.SCL.dll_Ordinal_5366
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4981ba
fld dword [0x6f08dc]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x10], esi
fst dword [eax + 0x1c]
or esi, 0xffffffff
fstp dword [eax + 0x20]
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov byte [eax + 0x24], 1
mov byte [eax + 0x25], 1
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], esi
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], esi
mov dword [eax + 0x40], esi
mov dword [eax + 0x44], esi
mov byte [eax + 0x48], 1
mov byte [eax + 0x49], 1
mov byte [eax + 0x4a], 1
mov dword [eax + 0x4c], ecx
jmp 0x4981bf
xor eax, eax
or esi, 0xffffffff
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
push ecx
mov ecx, dword [edi + 0x84]
push eax
call sub.SCL.dll_Ordinal_4939
fldz
mov ecx, dword [edi + 0x90]
fstp dword [esp + 0x38]
fld dword [0x70e1dc]
lea eax, [esp + 0x38]
fstp dword [esp + 0x3c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c8]
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x35c]
push 0
mov ecx, ebx
call edx
push eax
push edi
push ebx
call sub.SCL.dll_Ordinal_8993
mov ecx, dword [edi + 0x90]
mov eax, dword [ecx]
mov edx, dword [eax + 0x398]
add esp, 0x10
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x218]
call eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], esi
call sub.SCL.dll_Ordinal_4111
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4