Function at 0x10017309
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x14c
call fcn.1009a2a5
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x53
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x1001736b
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10017380
mov eax, 0x101e149e
push eax
push 1
mov ebx, 0x1009a8a0
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x11c
je 0x100173a8
jmp 0x10025521
push 0x80000301
push 0
push 0x90
push 0x80000301
push 0
push 0x69
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x100173d5
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009be80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100173ff
push ebx
call fcn.1009a2b7
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x24
push 0x80000301
push 0
push 0xf9
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10017430
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009be80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001745a
push ebx
call fcn.1009a2b7
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x21
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10017494
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x100174c8
and eax, 0xff
jmp 0x1001751d
cmp ecx, 0x80000201
jne 0x100174d3
cwde
jmp 0x1001751d
cmp ecx, 0x80000301
je 0x1001751d
cmp ecx, 0x80000401
je 0x1001751d
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x1001750d
cmp ecx, 0x80000601
je 0x10017512
push 0x125
push 0x4035edc
push 2
call fcn.1009a2ab
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x10017518
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.1000366c
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x25
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10017558
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x1001758c
and eax, 0xff
jmp 0x100175e1
cmp ecx, 0x80000201
jne 0x10017597
cwde
jmp 0x100175e1
cmp ecx, 0x80000301
je 0x100175e1
cmp ecx, 0x80000401
je 0x100175e1
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x100175d1
cmp ecx, 0x80000601
je 0x100175d6
push 0x18e
push 0x4035edc
push 2
call fcn.1009a2ab
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x100175dc
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.1000366c
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
cmp dword [ebx], eax
jne 0x1001760d
jmp 0x10025521
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp dword [ebx], 0
je 0x1001763b
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
je 0x1001763b
xor eax, eax
jmp 0x10017640
mov eax, 1
test eax, eax
je 0x1001764d
jmp 0x10025521
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x35
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10017683
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000004
jne 0x100176bb
test eax, eax
jne 0x100176cc
mov eax, 0x101e14a6
jmp 0x100176cc
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x100176cc
test eax, eax
jne 0x100176cc
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x80000004
je 0x100176fb
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x1001770b
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001770b
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x36
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10017749
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x1001777d
and eax, 0xff
jmp 0x100177d2
cmp ecx, 0x80000201
jne 0x10017788
cwde
jmp 0x100177d2
cmp ecx, 0x80000301
je 0x100177d2
cmp ecx, 0x80000401
je 0x100177d2
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x100177c2
cmp ecx, 0x80000601
je 0x100177c7
push 0x325
push 0x4035edc
push 2
call fcn.1009a2ab
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x100177cd
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.1000366c
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x3a
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1001780d
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x10017841
and eax, 0xff
jmp 0x10017896
cmp ecx, 0x80000201
jne 0x1001784c
cwde
jmp 0x10017896
cmp ecx, 0x80000301
je 0x10017896
cmp ecx, 0x80000401
je 0x10017896
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x10017886
cmp ecx, 0x80000601
je 0x1001788b
push 0x370
push 0x4035edc
push 2
call fcn.1009a2ab
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x10017891
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.1000366c
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x3e
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x100178d1
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000004
jne 0x10017909
test eax, eax
jne 0x1001791a
mov eax, 0x101e14a6
jmp 0x1001791a
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x1001791a
test eax, eax
jne 0x1001791a
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x80000004
je 0x10017949
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10017959
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10017959
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
mov byte [ebx], al
mov ebx, dword [ebp - 0xc]
add ebx, 0x1c
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x3f
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10017997
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000004
jne 0x100179cf
test eax, eax
jne 0x100179e0
mov eax, 0x101e14a6
jmp 0x100179e0
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x100179e0
test eax, eax
jne 0x100179e0
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x80000004
je 0x10017a0f
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10017a1f
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10017a1f
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x20
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x40
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10017a5d
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000004
jne 0x10017a95
test eax, eax
jne 0x10017aa6
mov eax, 0x101e14a6
jmp 0x10017aa6
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10017aa6
test eax, eax
jne 0x10017aa6
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x80000004
je 0x10017ad5
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10017ae5
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10017ae5
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x24
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x41
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10017b23
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x10017b57
and eax, 0xff
jmp 0x10017bac
cmp ecx, 0x80000201
jne 0x10017b62
cwde
jmp 0x10017bac
cmp ecx, 0x80000301
je 0x10017bac
cmp ecx, 0x80000401
je 0x10017bac
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x10017b9c
cmp ecx, 0x80000601
je 0x10017ba1
push 0x547
push 0x4035edc
push 2
call fcn.1009a2ab
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x10017ba7
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.1000366c
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x34
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x45
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10017be7
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x10017c1b
and eax, 0xff
jmp 0x10017c41
cmp ecx, 0x80000201
jne 0x10017c26
cwde
jmp 0x10017c41
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000301
je 0x10017c44
cmp ecx, 0x80000401
jne 0x10017c49
mov dword [ebp - 0x30], edx
fild qword [ebp - 0x34]
jmp 0x10017c75
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
jmp 0x10017c75
cmp ecx, 0x80000501
jne 0x10017c56
fld dword [ebp - 0x34]
jmp 0x10017c75
cmp ecx, 0x80000601
je 0x10017c7e
push 0x5c0
push 0x4035edc
push 2
call fcn.1009a2ab
add esp, 0xc
fstp qword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
fsub qword [0x101e1c96]
fstp qword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x80000004
je 0x10017ca7
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10017cb7
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10017cb7
push ebx
call fcn.1009a2b7
add esp, 4
fld qword [ebp - 0x3c]
call fcn.1000366c
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 0x49
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10017cfa
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009be80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10017d26
push ebx
call fcn.1009a2b7
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x40
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10017d6b
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000004
jne 0x10017da3
test eax, eax
jne 0x10017db4
mov eax, 0x101e14a6
jmp 0x10017db4
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10017db4
test eax, eax
jne 0x10017db4
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x80000004
je 0x10017de3
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10017df3
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10017df3
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x44
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10017e3a
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000004
jne 0x10017e72
test eax, eax
jne 0x10017e83
mov eax, 0x101e14a6
jmp 0x10017e83
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10017e83
test eax, eax
jne 0x10017e83
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x80000004
je 0x10017eb2
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10017ec2
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10017ec2
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10017f09
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000004
jne 0x10017f41
test eax, eax
jne 0x10017f52
mov eax, 0x101e14a6
jmp 0x10017f52
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10017f52
test eax, eax
jne 0x10017f52
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x80000004
je 0x10017f81
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10017f91
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10017f91
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x4c
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 6
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10017fd8
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000004
jne 0x10018010
test eax, eax
jne 0x10018021
mov eax, 0x101e14a6
jmp 0x10018021
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10018021
test eax, eax
jne 0x10018021
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x80000004
je 0x10018050
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10018060
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10018060
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x50
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 9
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x100180a7
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000004
jne 0x100180df
test eax, eax
jne 0x100180f0
mov eax, 0x101e14a6
jmp 0x100180f0
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x100180f0
test eax, eax
jne 0x100180f0
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x80000004
je 0x1001811f
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x1001812f
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1001812f
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x54
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 0xa
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10018176
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000004
jne 0x100181ae
test eax, eax
jne 0x100181bf
mov eax, 0x101e14a6
jmp 0x100181bf
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x100181bf
test eax, eax
jne 0x100181bf
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x80000004
je 0x100181ee
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x100181fe
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100181fe
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x58
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 0xd
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10018245
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000004
jne 0x1001827d
test eax, eax
jne 0x1001828e
mov eax, 0x101e14a6
jmp 0x1001828e
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x1001828e
test eax, eax
jne 0x1001828e
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x80000004
je 0x100182bd
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x100182cd
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100182cd
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x5c
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 0xe
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10018314
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000004
jne 0x1001834c
test eax, eax
jne 0x1001835d
mov eax, 0x101e14a6
jmp 0x1001835d
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x1001835d
test eax, eax
jne 0x1001835d
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x80000004
je 0x1001838c
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x1001839c
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1001839c
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x118
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x100183e6
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000101
jne 0x1001841a
and eax, 0xff
jmp 0x1001846f
cmp ecx, 0x80000201
jne 0x10018425
cwde
jmp 0x1001846f
cmp ecx, 0x80000301
je 0x1001846f
cmp ecx, 0x80000401
je 0x1001846f
mov dword [ebp - 0x38], eax
cmp ecx, 0x80000501
je 0x1001845f
cmp ecx, 0x80000601
je 0x10018464
push 0x9a3
push 0x4035edc
push 2
call fcn.1009a2ab
add esp, 0xc
fld dword [ebp - 0x38]
jmp 0x1001846a
mov dword [ebp - 0x34], edx
fld qword [ebp - 0x38]
call fcn.1000366c
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x11c
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 9
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x100184b6
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000101
jne 0x100184ea
and eax, 0xff
jmp 0x1001853f
cmp ecx, 0x80000201
jne 0x100184f5
cwde
jmp 0x1001853f
cmp ecx, 0x80000301
je 0x1001853f
cmp ecx, 0x80000401
je 0x1001853f
mov dword [ebp - 0x38], eax
cmp ecx, 0x80000501
je 0x1001852f
cmp ecx, 0x80000601
je 0x10018534
push 0x9f7
push 0x4035edc
push 2
call fcn.1009a2ab
add esp, 0xc
fld dword [ebp - 0x38]
jmp 0x1001853a
mov dword [ebp - 0x34], edx
fld qword [ebp - 0x38]
call fcn.1000366c
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x120
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 0xd
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10018586
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000101
jne 0x100185ba
and eax, 0xff
jmp 0x1001860f
cmp ecx, 0x80000201
jne 0x100185c5
cwde
jmp 0x1001860f
cmp ecx, 0x80000301
je 0x1001860f
cmp ecx, 0x80000401
je 0x1001860f
mov dword [ebp - 0x38], eax
cmp ecx, 0x80000501
je 0x100185ff
cmp ecx, 0x80000601
je 0x10018604
push 0xa4b
push 0x4035edc
push 2
call fcn.1009a2ab
add esp, 0xc
fld dword [ebp - 0x38]
jmp 0x1001860a
mov dword [ebp - 0x34], edx
fld qword [ebp - 0x38]
call fcn.1000366c
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x114
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 0x11
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10018656
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000101
jne 0x1001868a
and eax, 0xff
jmp 0x100186df
cmp ecx, 0x80000201
jne 0x10018695
cwde
jmp 0x100186df
cmp ecx, 0x80000301
je 0x100186df
cmp ecx, 0x80000401
je 0x100186df
mov dword [ebp - 0x38], eax
cmp ecx, 0x80000501
je 0x100186cf
cmp ecx, 0x80000601
je 0x100186d4
push 0xa9f
push 0x4035edc
push 2
call fcn.1009a2ab
add esp, 0xc
fld dword [ebp - 0x38]
jmp 0x100186da
mov dword [ebp - 0x34], edx
fld qword [ebp - 0x38]
call fcn.1000366c
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x110
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 0x19
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10018726
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000101
jne 0x1001875a
and eax, 0xff
jmp 0x100187af
cmp ecx, 0x80000201
jne 0x10018765
cwde
jmp 0x100187af
cmp ecx, 0x80000301
je 0x100187af
cmp ecx, 0x80000401
je 0x100187af
mov dword [ebp - 0x38], eax
cmp ecx, 0x80000501
je 0x1001879f
cmp ecx, 0x80000601
je 0x100187a4
push 0xaf3
push 0x4035edc
push 2
call fcn.1009a2ab
add esp, 0xc
fld dword [ebp - 0x38]
jmp 0x100187aa
mov dword [ebp - 0x34], edx
fld qword [ebp - 0x38]
call fcn.1000366c
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x100187e7
mov eax, 0x101e149e
push eax
push 2
mov ebx, 0x1009be40
call fcn.1009a2bd
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10018813
push ebx
call fcn.1009a2b7
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x60
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10018858
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000004
jne 0x10018890
test eax, eax
jne 0x100188a1
mov eax, 0x101e14a6
jmp 0x100188a1
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x100188a1
test eax, eax
jne 0x100188a1
mov eax, 0x101e149e
push ecx
push edx
push eax
push 1
mov ebx, 0x1009b480
call fcn.1009a2bd
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x80000004
je 0x100188d0
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x100188e0
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100188e0
push ebx
call fcn.1009a2b7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x64
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x3c
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10018927
mov eax, 0x101e149e
push eax
push 3
mov ebx, 0x1009bc80
call fcn.1009a2bd
add esp, 0x28
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000004
jne 0x1001895f
test eax, eax
jne 0x10018970
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10018970
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10025531
push ebx
call fcn.1009a2b7
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10025541
push ebx
call fcn.1009a2b7
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x3c
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10025558
push ebx
call fcn.1009a2b7
add esp, 4
pop ebx
call fcn.1009a2b7
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10025571
push ebx
call fcn.1009a2b7
add esp, 4
mov esp, ebp
pop ebp
ret 0x24