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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48c
mov eax, dword [0x10032010]
xor eax, esp
mov dword [esp + 0x488], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
xor esi, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], esi
call fcn.10014fdc
mov dword [esp + 0x10], eax
shl dword [esp + 0x10], 0x10
call fcn.10014fdc
push dword [esp + 0x18]
or eax, dword [esp + 0x14]
push eax
push esi
push dword [ebp + 0xc]
mov dword [esp + 0x20], eax
push ebx
push str._s.1_x._x_x._s
mov ebx, 0x400
lea eax, [esp + 0xa8]
push ebx
push eax
call fcn.10014b26
lea eax, [esp + 0xb0]
push 0x64
push eax
call fcn.1000300b
add esp, 0x28
mov dword [esp + 0x14], 1
cmp dword [ebp + 0xc], esi
jbe 0x10002ff6
lea eax, [esi + 0x68]
xor ecx, ecx
cmp eax, dword [ebp + 0xc]
ja 0x100027bc
push 0x1a
pop ecx
push dword [esp + 0x18]
add esi, edi
push dword [esp + 0x14]
lea edi, [esp + 0x30]
push dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x98]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x94]
lea eax, [esp + 0x108]
push str._s.4_08x_08x_08x_08x_08x._08x_08x_08x_08x_08x_08x_08x._08x_08x_08x_08x_08x_08x_08x._08x_08x_08x_08x_08x_08x_08x._x_x._s
push ebx
push eax
call fcn.10014b26
add esp, 0x84
push 0x68
lea eax, [esp + 0x94]
pop ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000279c
movzx edx, word [0x100342a4]
mov edi, dword [esp + 0x24]
sub eax, esi
mov esi, dword [esp + 0x1c]
cmp eax, edx
jb 0x1000291f
lea eax, [esi + 0x54]
cmp eax, dword [ebp + 0xc]
ja 0x1000291b
push 0x15
pop ecx
push dword [esp + 0x18]
add esi, edi
push dword [esp + 0x14]
lea edi, [esp + 0x30]
push dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x84]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x80]
lea eax, [esp + 0xf4]
push str._s.3_08x_08x_08x_08x_08x_08x_08x._08x_08x_08x_08x_08x_08x_08x._08x_08x_08x_08x_08x_08x_08x._x_x._s
push ebx
push eax
call fcn.10014b26
mov edi, dword [esp + 0x94]
add esp, 0x70
push 0x54
pop ecx
mov esi, dword [esp + 0x1c]
test ecx, ecx
je 0x10002947
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000292d
movzx edx, word [0x100342a4]
sub eax, dword [esp + 0xc]
cmp eax, edx
jb 0x10002a1b
lea eax, [esi + 0x38]
cmp eax, dword [ebp + 0xc]
ja 0x10002a1b
push 0xe
pop ecx
push dword [esp + 0x18]
add esi, edi
push dword [esp + 0x14]
lea edi, [esp + 0x30]
push dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x68]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x64]
lea eax, [esp + 0xd8]
push str._s.2_08x_08x_08x_08x_08x_08x_08x._08x_08x_08x_08x_08x_08x_08x._x_x._s
push ebx
push eax
call fcn.10014b26
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
add esp, 0x54
push 0x38
pop ecx
test ecx, ecx
je 0x10002a47
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002a2d
movzx edx, word [0x100342a4]
sub eax, dword [esp + 0xc]
cmp eax, edx
jb 0x10002b07
lea eax, [esi + 0x30]
cmp eax, dword [ebp + 0xc]
ja 0x10002b07
push 0xc
pop ecx
push dword [esp + 0x18]
add esi, edi
push dword [esp + 0x14]
lea edi, [esp + 0x30]
push dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x60]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0xd0]
push str._s.2_08x_08x_08x_08x_08x_08x._08x_08x_08x_08x_08x_08x._x_x._s
push ebx
push eax
call fcn.10014b26
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
add esp, 0x4c
push 0x30
pop ecx
test ecx, ecx
je 0x10002b33
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002b19
movzx edx, word [0x100342a4]
sub eax, dword [esp + 0xc]
cmp eax, edx
jb 0x10002bdf
lea eax, [esi + 0x28]
cmp eax, dword [ebp + 0xc]
ja 0x10002bdf
push 0xa
pop ecx
push dword [esp + 0x18]
add esi, edi
push dword [esp + 0x14]
lea edi, [esp + 0x30]
push dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x58]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x58]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x58]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x58]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x58]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x58]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x58]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x58]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x58]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x58]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x54]
lea eax, [esp + 0xc8]
push str._s.2_08x_08x_08x_08x_08x._08x_08x_08x_08x_08x._x_x._s
push ebx
push eax
call fcn.10014b26
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
add esp, 0x44
push 0x28
pop ecx
test ecx, ecx
je 0x10002c0b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002bf1
movzx edx, word [0x100342a4]
sub eax, dword [esp + 0xc]
cmp eax, edx
jb 0x10002c99
lea eax, [esi + 0x1c]
cmp eax, dword [ebp + 0xc]
ja 0x10002c99
push 7
pop ecx
push dword [esp + 0x18]
add esi, edi
push dword [esp + 0x14]
lea edi, [esp + 0x30]
push dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x4c]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x4c]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x4c]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x4c]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x4c]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x4c]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x4c]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x48]
lea eax, [esp + 0xbc]
push str._s.1_08x_08x_08x_08x_08x_08x_08x._x_x._s
push ebx
push eax
call fcn.10014b26
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
add esp, 0x38
push 0x1c
pop ecx
test ecx, ecx
je 0x10002cc5
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002cab
movzx edx, word [0x100342a4]
sub eax, dword [esp + 0xc]
cmp eax, edx
jb 0x10002d45
lea eax, [esi + 0x18]
cmp eax, dword [ebp + 0xc]
ja 0x10002d45
push 6
pop ecx
push dword [esp + 0x18]
add esi, edi
push dword [esp + 0x14]
lea edi, [esp + 0x30]
push dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x48]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x48]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x48]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x48]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x48]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x48]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x44]
lea eax, [esp + 0xb8]
push str._s.1_08x_08x_08x_08x_08x_08x._x_x._s
push ebx
push eax
call fcn.10014b26
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x50]
add esp, 0x34
push 0x18
pop ecx
test ecx, ecx
je 0x10002d6d
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002d57
movzx edx, word [0x100342a4]
sub eax, dword [esp + 0xc]
cmp eax, edx
jb 0x10002de3
lea eax, [esi + 0x14]
cmp eax, dword [ebp + 0xc]
ja 0x10002de3
push 5
pop ecx
push dword [esp + 0x18]
add esi, edi
push dword [esp + 0x14]
lea edi, [esp + 0x30]
push dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x44]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x44]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x44]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x44]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x44]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xb4]
push str._s.1_08x_08x_08x_08x_08x._x_x._s
push ebx
push eax
call fcn.10014b26
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
add esp, 0x30
push 0x14
pop ecx
test ecx, ecx
je 0x10002e0b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002df5
movzx edx, word [0x100342a4]
sub eax, dword [esp + 0xc]
cmp eax, edx
jb 0x10002e76
lea eax, [esi + 0x10]
cmp eax, dword [ebp + 0xc]
ja 0x10002e76
push dword [esp + 0x18]
add esi, edi
push dword [esp + 0x14]
lea edi, [esp + 0x30]
push dword [esp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x40]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x40]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x40]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x40]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0xb0]
push str._s.1_08x_08x_08x_08x._x_x._s
push ebx
push eax
call fcn.10014b26
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
add esp, 0x2c
push 0x10
pop ecx
test ecx, ecx
je 0x10002e9e
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002e88
movzx edx, word [0x100342a4]
sub eax, dword [esp + 0xc]
cmp eax, edx
jb 0x10002efe
lea eax, [esi + 0xc]
cmp eax, dword [ebp + 0xc]
ja 0x10002efe
push dword [esp + 0x18]
add esi, edi
push dword [esp + 0x14]
lea edi, [esp + 0x30]
push dword [esp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x3c]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x3c]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x3c]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x38]
lea eax, [esp + 0xac]
push str._s.1_08x_08x_08x._x_x._s
push ebx
push eax
call fcn.10014b26
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
add esp, 0x28
push 0xc
pop ecx
test ecx, ecx
je 0x10002f26
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002f10
movzx edx, word [0x100342a4]
sub eax, dword [esp + 0xc]
cmp eax, edx
jb 0x10002f77
lea eax, [esi + 8]
cmp eax, dword [ebp + 0xc]
ja 0x10002f77
push dword [esp + 0x18]
mov eax, dword [edi + esi]
push dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [edi + esi + 4]
push dword [esp + 0x1c]
mov dword [esp + 0x38], eax
push eax
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x38]
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x34]
lea eax, [esp + 0xa8]
push str._s.1_08x_08x._x_x._s
push ebx
push eax
call fcn.10014b26
add esp, 0x24
push 8
pop ecx
test ecx, ecx
je 0x10002f9f
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002f89
movzx edx, word [0x100342a4]
sub eax, dword [esp + 0xc]
cmp eax, edx
jb 0x10002fd2
push dword [esp + 0x18]
mov eax, dword [edi + esi]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push eax
call sub.WS2_32.dll_htonl
push eax
push dword [esp + 0x30]
lea eax, [esp + 0xa4]
push str._s.1_08x._x_x._s
push ebx
push eax
call fcn.10014b26
add esp, 0x20
push 4
pop ecx
lea eax, [esp + 0x90]
add esi, ecx
push 0x64
push eax
mov dword [esp + 0x24], esi
call fcn.1000300b
inc dword [esp + 0x1c]
pop ecx
pop ecx
cmp esi, dword [ebp + 0xc]
jb 0x100025f8
mov ecx, dword [esp + 0x494]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100148e0
mov esp, ebp
pop ebp
ret