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

Disassembly:
jmp 0x1002c210
push 0xffffffffffffffff
push 0x1007f07e
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x100a0000]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100a0000]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov ecx, dword [edi + 8]
mov ebp, dword [esp + 0x184]
call fcn.1000139d
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
sub eax, 0x1f4
js 0x1002cb5f
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
sub eax, 0x1f4
cmp eax, 0x64
jg 0x1002cb5f
lea ecx, [esp + 0x1c]
call fcn.100022d4
mov dword [esp + 0x17c], 0
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
mov eax, dword [ebp]
push 0
mov ecx, ebp
mov byte [esp + 0x180], 2
call dword [eax + 0x18]
mov ebx, eax
test ebx, ebx
jne 0x1002c2fe
mov ecx, dword [edi + 8]
call fcn.1000139d
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
xor bl, bl
jmp 0x1002caf7
mov eax, dword [ebx]
push 0
push 0
push 0
mov ecx, ebx
call dword [eax + 8]
mov eax, dword [ebx]
push 0
mov eax, dword [eax + 0x14]
mov ecx, ebx
call eax
push eax
push 0
lea ecx, [esp + 0x28]
call fcn.100019dd
test al, al
jne 0x1002c344
mov ecx, dword [edi + 8]
call fcn.1000139d
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
xor bl, bl
jmp 0x1002caf7
mov esi, dword [ebx]
lea ecx, [esp + 0x1c]
call fcn.1000277f
push eax
lea ecx, [esp + 0x20]
call fcn.10003670
push eax
mov ecx, ebx
call dword [esi + 0xc]
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.1000277f
cmp esi, eax
je 0x1002c385
mov ecx, dword [edi + 8]
call fcn.1000139d
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
xor bl, bl
jmp 0x1002caf7
lea ecx, [esp + 0x1c]
call fcn.1000277f
mov esi, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esi + 0x54]
cmp eax, 1
jne 0x1002c3d9
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
call fcn.1000277f
push eax
lea ecx, [esp + 0x24]
call fcn.10003670
push eax
mov ecx, esi
call fcn.100028b5
test al, al
jne 0x1002ca54
mov ecx, dword [esi + 8]
call fcn.1000139d
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
jmp 0x1002ca54
cmp eax, 2
je 0x1002c3e7
cmp eax, 3
jne 0x1002ca54
cmp edi, 3
jge 0x1002c403
mov ecx, dword [esi + 8]
call fcn.1000139d
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
xor bl, bl
jmp 0x1002caf7
lea ecx, [esp + 0x1c]
call fcn.10003670
cmp dword [esi + 0x54], 3
mov ebx, eax
mov eax, 5
movzx ecx, byte [ebx]
cmove ecx, eax
movsx eax, cl
sub eax, 4
je 0x1002c74d
dec eax
jne 0x1002c3ec
cmp dword [esi + 0x58], 2
jne 0x1002ca54
movsx eax, byte [ebx + 1]
dec eax
je 0x1002c5ca
dec eax
jne 0x1002ca54
cmp byte [ebx + 2], al
jne 0x1002ca54
cmp edi, 5
jl 0x1002ca54
movsx eax, byte [ebx + 3]
dec eax
je 0x1002c568
sub eax, 2
je 0x1002c4f0
dec eax
jne 0x1002ca54
cmp edi, 0x16
jl 0x1002ca54
xorps xmm0, xmm0
mov dword [esp + 0x4c], eax
movq qword [esp + 0x34], xmm0
mov eax, 0x17
mov word [esp + 0x34], ax
mov ax, word [ebx + 0x14]
movq qword [esp + 0x3c], xmm0
movq qword [esp + 0x44], xmm0
movq xmm0, qword [ebx + 4]
mov word [esp + 0x36], ax
lea eax, [esp + 0x34]
push eax
movq qword [esp + 0x40], xmm0
movq xmm0, qword [ebx + 0xc]
lea eax, [esp + 0x114]
push eax
movq qword [esp + 0x4c], xmm0
call fcn.10001d16
add esp, 8
lea ecx, [esp + 0x68]
push eax
call fcn.10002545
lea ecx, [esp + 0x110]
call fcn.10002068
jmp 0x1002ca54
movsx ecx, byte [ebx + 4]
lea eax, [ecx + 7]
cmp edi, eax
jl 0x1002ca54
lea eax, [ecx + 5]
push 0
add eax, ebx
push eax
lea eax, [ebx + 5]
push eax
lea ecx, [esp + 0xec]
call fcn.10002144
push eax
lea ecx, [esp + 0x54]
call fcn.10002545
lea ecx, [esp + 0xe0]
call fcn.10002068
movsx eax, byte [ebx + 4]
movzx eax, word [eax + ebx + 5]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
push eax
push 0x100880a4
lea eax, [esp + 0x3c]
push 0xa
push eax
call fcn.1005699b
add esp, 0x10
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x6c]
call fcn.10003be8
jmp 0x1002ca54
cmp edi, 0xa
jl 0x1002ca54
xorps xmm0, xmm0
movq qword [esp + 0x34], xmm0
mov eax, 2
mov word [esp + 0x34], ax
mov eax, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov ax, word [ebx + 8]
mov word [esp + 0x36], ax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x144]
push eax
movq qword [esp + 0x44], xmm0
call fcn.10001d16
add esp, 8
lea ecx, [esp + 0x68]
push eax
call fcn.10002545
lea ecx, [esp + 0x140]
call fcn.10002068
jmp 0x1002ca54
cmp byte [ebx + 2], 0
jne 0x1002ca54
cmp edi, 5
jl 0x1002ca54
movsx eax, byte [ebx + 3]
dec eax
je 0x1002c6eb
sub eax, 2
je 0x1002c673
dec eax
jne 0x1002ca54
cmp edi, 0x16
jl 0x1002ca54
xorps xmm0, xmm0
mov dword [esp + 0x4c], eax
movq qword [esp + 0x34], xmm0
mov eax, 0x17
mov word [esp + 0x34], ax
mov ax, word [ebx + 0x14]
movq qword [esp + 0x3c], xmm0
movq qword [esp + 0x44], xmm0
movq xmm0, qword [ebx + 4]
mov word [esp + 0x36], ax
lea eax, [esp + 0x34]
push eax
movq qword [esp + 0x40], xmm0
movq xmm0, qword [ebx + 0xc]
lea eax, [esp + 0xb4]
push eax
movq qword [esp + 0x4c], xmm0
call fcn.10001d16
add esp, 8
lea ecx, [esp + 0x50]
push eax
call fcn.10002545
lea ecx, [esp + 0xb0]
call fcn.10002068
jmp 0x1002ca54
movsx ecx, byte [ebx + 4]
lea eax, [ecx + 7]
cmp edi, eax
jl 0x1002ca54
lea eax, [ecx + 5]
push 0
add eax, ebx
push eax
lea eax, [ebx + 5]
push eax
lea ecx, [esp + 0xd4]
call fcn.10002144
push eax
lea ecx, [esp + 0x54]
call fcn.10002545
lea ecx, [esp + 0xc8]
call fcn.10002068
movsx eax, byte [ebx + 4]
movzx eax, word [eax + ebx + 5]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
push eax
push 0x10088050
lea eax, [esp + 0x3c]
push 0xa
push eax
call fcn.1005699b
add esp, 0x10
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
call fcn.10003be8
jmp 0x1002ca54
cmp edi, 0xa
jl 0x1002ca54
xorps xmm0, xmm0
movq qword [esp + 0x34], xmm0
mov eax, 2
mov word [esp + 0x34], ax
mov eax, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov ax, word [ebx + 8]
mov word [esp + 0x36], ax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xfc]
push eax
movq qword [esp + 0x44], xmm0
call fcn.10001d16
add esp, 8
lea ecx, [esp + 0x50]
push eax
call fcn.10002545
lea ecx, [esp + 0xf8]
call fcn.10002068
jmp 0x1002ca54
movsx eax, byte [ebx + 1]
dec eax
je 0x1002c8d2
dec eax
jne 0x1002ca54
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], eax
mov byte [esp + 0x98], al
mov byte [esp + 0x17c], 4
cmp edi, 9
jge 0x1002c798
lea ecx, [esp + 0x98]
call fcn.10002068
xor bl, bl
jmp 0x1002caf7
mov esi, 8
cmp edi, esi
jle 0x1002c7c4
lea ecx, [esp + 0x1c]
call fcn.10003670
cmp byte [eax + esi], 0
je 0x1002c7b7
inc esi
cmp esi, edi
jl 0x1002c7a1
jmp 0x1002c7c4
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x20]
call fcn.10002d15
test dword [ebx + 4], 0xffffff
jne 0x1002c872
inc esi
cmp esi, edi
jge 0x1002c872
lea ebx, [ebx]
lea ecx, [esp + 0x1c]
call fcn.10003670
cmp byte [eax + esi], 0
je 0x1002c816
lea ecx, [esp + 0x1c]
call fcn.10003670
mov al, byte [eax + esi]
mov byte [esp + 0x14], al
push dword [esp + 0x14]
lea ecx, [esp + 0x9c]
push 1
call fcn.10002720
inc esi
cmp esi, edi
jl 0x1002c7e0
cmp dword [esp + 0xa8], 0
je 0x1002c872
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x5c]
call fcn.10003d1e
movzx eax, word [ebx + 2]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
push eax
push 0x10088018
lea eax, [esp + 0x3c]
push 0xa
push eax
call fcn.1005699b
add esp, 0x10
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x6c]
call fcn.10003be8
lea ecx, [esp + 0x98]
jmp 0x1002ca43
xorps xmm0, xmm0
movq qword [esp + 0x34], xmm0
mov eax, 2
mov word [esp + 0x34], ax
mov eax, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov ax, word [ebx + 2]
mov word [esp + 0x36], ax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x12c]
push eax
movq qword [esp + 0x44], xmm0
call fcn.10001d16
add esp, 8
lea ecx, [esp + 0x68]
push eax
call fcn.10002545
lea ecx, [esp + 0x128]
call fcn.10002068
lea ecx, [esp + 0x98]
jmp 0x1002ca43
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
mov byte [esp + 0x17c], 3
cmp edi, 9
jge 0x1002c910
lea ecx, [esp + 0x80]
call fcn.10002068
xor bl, bl
jmp 0x1002caf7
mov esi, 8
cmp edi, esi
jle 0x1002c943
lea esp, [esp]
lea ecx, [esp + 0x1c]
call fcn.10003670
cmp byte [eax + esi], 0
je 0x1002c936
inc esi
cmp esi, edi
jl 0x1002c920
jmp 0x1002c943
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x20]
call fcn.10002d15
test dword [ebx + 4], 0xffffff
jne 0x1002c9e8
inc esi
cmp esi, edi
jge 0x1002c9e8
lea esp, [esp]
lea ecx, [esp + 0x1c]
call fcn.10003670
cmp byte [eax + esi], 0
je 0x1002c996
lea ecx, [esp + 0x1c]
call fcn.10003670
mov al, byte [eax + esi]
mov byte [esp + 0x14], al
push dword [esp + 0x14]
lea ecx, [esp + 0x84]
push 1
call fcn.10002720
inc esi
cmp esi, edi
jl 0x1002c960
cmp dword [esp + 0x90], 0
je 0x1002c9e8
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x5c]
call fcn.10003d1e
movzx eax, word [ebx + 2]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
push eax
push 0x10087ff8
lea eax, [esp + 0x3c]
push 0xa
push eax
call fcn.1005699b
add esp, 0x10
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
call fcn.10003be8
jmp 0x1002ca3c
xorps xmm0, xmm0
movq qword [esp + 0x34], xmm0
mov eax, 2
mov word [esp + 0x34], ax
mov eax, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov ax, word [ebx + 2]
mov word [esp + 0x36], ax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x15c]
push eax
movq qword [esp + 0x44], xmm0
call fcn.10001d16
add esp, 8
lea ecx, [esp + 0x50]
push eax
call fcn.10002545
lea ecx, [esp + 0x158]
call fcn.10002068
lea ecx, [esp + 0x80]
mov byte [esp + 0x17c], 2
call fcn.10002068
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x18], 1
jne 0x1002caa1
cmp dword [esp + 0x60], 0
je 0x1002ca6e
mov ecx, dword [esi + 8]
lea eax, [esp + 0x50]
push eax
call fcn.10002284
cmp dword [esp + 0x78], 0
je 0x1002ca82
mov ecx, dword [esi + 8]
lea eax, [esp + 0x68]
push eax
call fcn.1000351c
lea ecx, [esp + 0x1c]
mov dword [esi + 0x60], 1
call fcn.1000277f
push eax
lea ecx, [esp + 0x20]
call fcn.10003670
push eax
push 0
jmp 0x1002cae6
cmp dword [esp + 0x60], 0
je 0x1002cab5
mov ecx, dword [esi + 8]
lea eax, [esp + 0x50]
push eax
call fcn.1000351c
cmp dword [esp + 0x78], 0
je 0x1002cac9
mov ecx, dword [esi + 8]
lea eax, [esp + 0x68]
push eax
call fcn.10002284
lea ecx, [esp + 0x1c]
mov dword [esi + 0x60], 1
call fcn.1000277f
push eax
lea ecx, [esp + 0x20]
call fcn.10003670
push eax
push 1
mov ecx, dword [esi + 8]
push 1
push esi
call fcn.10003878
cmp eax, 4
setne bl
cmp dword [esp + 0x7c], 0x10
jb 0x1002cb0a
push dword [esp + 0x68]
call fcn.10052462
add esp, 4
cmp dword [esp + 0x64], 0x10
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jb 0x1002cb32
push dword [esp + 0x50]
call fcn.10052462
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x17c], 0xffffffff
call fcn.100034ef
mov al, bl
jmp 0x1002cb61
xor al, al
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.10052ab4
add esp, 0x16c
ret 4