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

Disassembly:
push 0xffffffffffffffff
push 0x10167259
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x101e0cf8]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
cmp byte [esp + 0xc8], 6
mov ebp, dword [esp + 0xc4]
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebp
jne 0x1003ddb0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov edi, 0x101df770
mov dword [esp + 0x14], ebx
jmp 0x1003dc04
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x24], ebx
call fcn.100166e0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x98]
push ecx
mov ecx, eax
mov byte [esp + 0xc4], 1
call fcn.1003d790
add esp, 8
cmp dword [esp + 0x58], 0x10
mov ebp, eax
mov byte [esp + 0xbc], bl
jb 0x1003dc77
mov edx, dword [esp + 0x44]
push edx
call fcn.100bbe20
add esp, 4
cmp ebp, ebx
jne 0x1003dd47
push 7
push 0x10182744
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.10003750
mov edx, dword [edi + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x24]
push ecx
push edx
push edi
mov ecx, esi
mov byte [esp + 0xc8], 2
call eax
cmp dword [esp + 0x3c], 8
mov ebp, eax
mov byte [esp + 0xbc], bl
jb 0x1003dcd8
mov ecx, dword [esp + 0x28]
push ecx
call fcn.100bbe20
add esp, 4
cmp ebp, ebx
jne 0x1003dd6a
mov edx, dword [esi]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x94]
push eax
push edi
mov ecx, esi
call edx
mov ebp, eax
cmp ebp, ebx
jne 0x1003dd8d
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], eax
cmp dword [esp + 0xac], 0x10
mov dword [esp + 0xbc], 0xffffffff
jb 0x1003dd29
mov ecx, dword [esp + 0x98]
push ecx
call fcn.100bbe20
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0x20
add edi, 0x20
cmp eax, 0xa0
mov dword [esp + 0x14], eax
jb 0x1003dc00
jmp 0x1003e02f
cmp dword [esp + 0xac], 0x10
jb 0x1003e02f
mov edx, dword [esp + 0x98]
push edx
call fcn.100bbe20
add esp, 4
jmp 0x1003e02f
cmp dword [esp + 0xac], 0x10
jb 0x1003e02f
mov eax, dword [esp + 0x98]
push eax
call fcn.100bbe20
add esp, 4
jmp 0x1003e02f
cmp dword [esp + 0xac], 0x10
jb 0x1003e02f
mov ecx, dword [esp + 0x98]
push ecx
call fcn.100bbe20
add esp, 4
jmp 0x1003e02f
mov eax, dword [ebp + 0x14]
cmp eax, 2
jae 0x1003ddc2
mov eax, 0x80003004
jmp 0x1003e031
cmp dword [ebp + 0x18], 0x10
jb 0x1003ddcd
mov eax, dword [ebp + 4]
jmp 0x1003ddd0
lea eax, [ebp + 4]
movzx eax, word [eax]
rol ax, 8
push 0x10182744
lea ecx, [esp + 0x44]
movzx edi, ax
call fcn.10003950
push str.Error_Code
lea ecx, [esp + 0x28]
mov dword [esp + 0xc0], 3
call fcn.10003950
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x40]
push eax
push 2
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov byte [esp + 0xc8], 4
call edx
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x14], eax
jb 0x1003de36
mov eax, dword [esp + 0x28]
push eax
call fcn.100bbe20
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x58], 8
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
mov dword [esp + 0xbc], 0xffffffff
jb 0x1003de68
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100bbe20
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1003e031
push str.Error_Code
lea ecx, [esp + 0x44]
call fcn.10003950
mov edx, dword [esi]
mov edx, dword [edx + 0x40]
push edi
lea eax, [esp + 0x44]
push eax
mov ecx, esi
mov dword [esp + 0xc4], 5
call edx
cmp dword [esp + 0x58], 8
mov edi, eax
mov dword [esp + 0xbc], 0xffffffff
jb 0x1003debd
mov eax, dword [esp + 0x44]
push eax
call fcn.100bbe20
add esp, 4
cmp edi, ebx
je 0x1003dec8
mov eax, edi
jmp 0x1003e031
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
push 0xffffffffffffffff
push 2
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebp
mov dword [esp + 0xc8], 6
mov dword [esp + 0x20], ebx
call fcn.100166e0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x98]
push ecx
mov ecx, eax
mov byte [esp + 0xc4], 7
call fcn.1003d790
add esp, 8
lea ecx, [esp + 0x5c]
mov ebp, eax
mov byte [esp + 0xbc], 6
call fcn.100031d0
cmp ebp, ebx
jne 0x1003e023
mov ecx, dword [esp + 0x18]
push esi
lea edx, [esp + 0x98]
push edx
call fcn.1003da80
mov ebp, eax
cmp ebp, ebx
jne 0x1003e023
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add edi, 2
cmp dword [eax + 0x14], edi
jbe 0x1003e023
push 0x10182744
lea ecx, [esp + 0x28]
call fcn.10003950
push str.AttrAuths
lea ecx, [esp + 0x44]
mov byte [esp + 0xc0], 8
call fcn.10003950
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x24]
push eax
push reloc.WS2_32.dll_connect
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
mov byte [esp + 0xc8], 9
call edx
lea ecx, [esp + 0x40]
mov ebp, eax
call fcn.10003250
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 6
call fcn.10003250
cmp ebp, ebx
jne 0x1003e023
push str.AttrAuths
lea ecx, [esp + 0x60]
call fcn.10003950
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xc8], 0xa
call fcn.100166e0
mov edx, dword [esi]
mov edx, dword [edx + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, esi
mov byte [esp + 0xc4], 0xb
call edx
lea ecx, [esp + 0x78]
mov ebp, eax
call fcn.100031d0
lea ecx, [esp + 0x5c]
call fcn.10003250
lea ecx, [esp + 0x94]
call fcn.100031d0
mov eax, ebp
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.100bc9af
add esp, 0xac
ret 0xc