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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100382fa
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10045390]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x10045390]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x1004d410]
mov dword [esp + 0x1c], eax
mov eax, dword [0x1004d40c]
cmp eax, ecx
je 0x10008f37
mov dword [esp + 0x14], eax
mov ebx, ecx
mov esi, eax
push 1
xor edi, edi
call fcn.1000d2c7
add esi, 0x20
cmp esi, ebx
jne 0x10008f1e
mov eax, dword [esp + 0x14]
mov dword [0x1004d410], eax
mov eax, dword [0x10045344]
mov ecx, 0x10045344
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
xor edi, edi
mov dword [esp + 0x78], edi
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], ax
push str.192.168.1.199
lea eax, [esp + 0x4c]
mov byte [esp + 0x7c], 1
call fcn.1000d237
mov eax, dword [0x10047ff0]
mov dword [esp + 0x64], eax
mov eax, dword [0x1004d410]
cmp eax, dword [0x1004d414]
jne 0x10008f97
call fcn.1000d307
mov eax, dword [0x1004d410]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x78], 2
cmp eax, edi
je 0x10008fb6
lea esi, [esp + 0x48]
call fcn.1000e18b
mov eax, dword [0x1004d410]
add eax, 0x20
mov byte [esp + 0x78], 1
mov edx, dword [0x1004d40c]
lea ecx, [eax - 0x20]
mov dword [0x1004d410], eax
cmp edx, ecx
je 0x10008fdd
cmp ecx, eax
je 0x10008fdd
push ecx
mov ecx, eax
call fcn.1000e216
pop ecx
mov esi, dword [esp + 0x1c]
push 0x1003d614
xor ecx, ecx
call fcn.1000cd71
jmp 0x1000910d
push edi
lea eax, [esp + 0x28]
mov ecx, esi
push eax
mov eax, dword [esp + 0x24]
sub ecx, edi
call fcn.1000ce67
lea edi, [esp + 0x10]
mov byte [esp + 0x78], 3
call fcn.1000cbed
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.1000160d
add esi, 2
mov eax, edi
mov dword [esp + 0x20], esi
call fcn.1000cda4
mov ebx, dword [esp + 0x10]
cmp dword [ebx - 0xc], 0
jle 0x100090f7
push 0x3a
push ebx
call fcn.1001db9d
pop ecx
pop ecx
test eax, eax
je 0x100090f7
sub eax, ebx
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x100090f7
and dword [esp + 0x38], 0
xor eax, eax
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov eax, edi
mov byte [esp + 0x7c], 4
call fcn.1000cee3
mov byte [esp + 0x78], 5
push dword [eax]
lea eax, [esp + 0x2c]
call fcn.1000d237
mov byte [esp + 0x78], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.1000160d
inc esi
push esi
lea eax, [esp + 0x18]
push eax
mov eax, edi
call fcn.1000ce45
lea eax, [esp + 0x14]
mov byte [esp + 0x78], 6
call fcn.1000cda4
mov esi, dword [esp + 0x14]
push esi
call fcn.1001dea6
pop ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], eax
call fcn.1000cfbb
lea eax, [esi - 0x10]
call fcn.1000160d
push 1
xor edi, edi
lea esi, [esp + 0x2c]
mov byte [esp + 0x7c], 1
call fcn.1000d2c7
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push 0x1003d614
call fcn.1000cd71
mov edi, dword [esp + 0x20]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10008ff2
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
cmp edi, dword [ecx - 0xc]
jge 0x10009218
push edi
lea ecx, [esp + 0x1c]
push ecx
call fcn.1000ce45
lea edi, [esp + 0x10]
mov byte [esp + 0x78], 7
call fcn.1000cbed
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.1000160d
mov eax, edi
call fcn.1000cda4
mov ebx, dword [esp + 0x10]
cmp dword [ebx - 0xc], 0
jle 0x10009218
push 0x3a
push ebx
call fcn.1001db9d
pop ecx
pop ecx
test eax, eax
je 0x10009218
sub eax, ebx
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x10009218
and dword [esp + 0x38], 0
xor eax, eax
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov eax, edi
mov byte [esp + 0x7c], 8
call fcn.1000cee3
mov byte [esp + 0x78], 9
push dword [eax]
lea eax, [esp + 0x2c]
call fcn.1000d237
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.1000160d
inc esi
push esi
lea eax, [esp + 0x18]
push eax
mov eax, edi
call fcn.1000ce45
lea eax, [esp + 0x14]
mov byte [esp + 0x78], 0xa
call fcn.1000cda4
mov esi, dword [esp + 0x14]
push esi
call fcn.1001dea6
pop ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], eax
call fcn.1000cfbb
lea eax, [esi - 0x10]
call fcn.1000160d
push 1
xor edi, edi
lea esi, [esp + 0x2c]
call fcn.1000d2c7
push 1
xor edi, edi
lea esi, [esp + 0x4c]
call fcn.1000d2c7
lea eax, [ebx - 0x10]
call fcn.1000160d
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1001c645
mov esp, ebp
pop ebp
ret