Function at 0x10031450
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1017fa19
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
call fcn.1002e6f0
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
lea edi, [ebp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
xor ebx, ebx
lea ebx, [ebx]
cmp edi, ebx
lea eax, [ebp + 0x10]
mov ebp, dword [eax + 4]
je 0x100314ae
cmp edi, eax
je 0x100314b3
call fcn.10158fad
cmp esi, ebp
je 0x100315df
cmp edi, ebx
jne 0x100314c4
call fcn.10158fad
cmp esi, dword [edi + 4]
jne 0x100314ce
call fcn.10158fad
cmp dword [esi + 0x20], ebx
je 0x100315c5
mov ebp, 0xf
push ebp
push str.255.255.255.255
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.10005630
cmp esi, dword [edi + 4]
mov dword [esp + 0xe8], ebx
jne 0x10031508
call fcn.10158fad
lea ecx, [esp + 0x20]
push ecx
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x98]
call fcn.10036330
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0xd8]
push edx
add ecx, 4
mov byte [esp + 0xf0], 1
call fcn.1002bdd0
mov esi, 0x10
cmp dword [esp + 0xc4], esi
jb 0x10031558
mov eax, dword [esp + 0xb0]
push eax
call fcn.10158c57
add esp, 4
cmp dword [esp + 0xa8], esi
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
jb 0x10031586
mov ecx, dword [esp + 0x94]
push ecx
call fcn.10158c57
add esp, 4
cmp dword [esp + 0x38], esi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
mov dword [esp + 0xe8], 0xffffffff
jb 0x100315b9
mov edx, dword [esp + 0x24]
push edx
call fcn.10158c57
add esp, 4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
call fcn.1002a2e0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
jmp 0x100314a0
mov ebp, dword [esp + 0xf0]
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
jbe 0x100315f3
call fcn.10158fad
mov edi, dword [ebp + 8]
cmp dword [ebp + 4], edi
jbe 0x10031600
call fcn.10158fad
cmp esi, edi
je 0x10031702
cmp esi, dword [ebp + 8]
jb 0x10031612
call fcn.10158fad
cmp dword [esi + 0x14], ebx
je 0x100316f0
mov edi, 0xf
push edi
push str.255.255.255.255
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.10005630
cmp esi, dword [ebp + 8]
mov dword [esp + 0xe8], 2
jb 0x10031650
call fcn.10158fad
lea eax, [esp + 0x3c]
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.10036330
push eax
lea ecx, [esp + 0xcc]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov byte [esp + 0xf0], 3
call fcn.1002bdd0
cmp dword [esp + 0x8c], 0x10
jb 0x10031693
mov edx, dword [esp + 0x78]
push edx
call fcn.10158c57
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
jb 0x100316b9
mov eax, dword [esp + 0x5c]
push eax
call fcn.10158c57
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0xe8], 0xffffffff
jb 0x100316e4
mov ecx, dword [esp + 0x40]
push ecx
call fcn.10158c57
add esp, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp esi, dword [ebp + 8]
jb 0x100316fa
call fcn.10158fad
add esi, 0x1c
jmp 0x100315f3
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x1c], ebx
jne 0x10031748
lea esi, [edi + 0x30]
mov byte [edi + 0x24], 1
mov byte [edi + 0x25], bl
push esi
call dword [0x10199070]
mov edx, dword [edi + 0x4c]
push edx
mov byte [edi + 0x28], bl
call dword [0x10199098]
push esi
call dword [0x10199074]
lea eax, [edi + 0x20]
push eax
push ebx
push edi
push 0x10030930
push ebx
push ebx
call fcn.101598a9
add esp, 0x18
mov dword [edi + 0x1c], eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret 4