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

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, dword [ebp + 4]
cmp byte [esi], 0x2d
push edi
sete al
mov byte [esp + 0x17], al
test al, al
je 0x48c17f
inc esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], connect
jmp 0x48c18a
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push 0xa
push eax
push ecx
call fcn.00589610
mov dword [esp + 0x2c], ebx
mov ebx, dword [ebp + 8]
mov edi, edx
mov dword [esp + 0x28], ecx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
cmp esi, ebx
jae 0x48c21c
mov al, byte [esi]
inc esi
cmp al, 0x30
jl 0x48c259
cmp al, 0x39
jg 0x48c259
movsx ebp, al
sub ebp, 0x30
cmp ecx, edi
jb 0x48c203
ja 0x48c1df
cmp edx, dword [esp + 0x20]
jb 0x48c203
cmp ecx, edi
ja 0x48c259
jb 0x48c1eb
cmp edx, dword [esp + 0x20]
ja 0x48c259
cmp esi, ebx
jne 0x48c259
xor eax, eax
cmp eax, dword [esp + 0x2c]
ja 0x48c259
jb 0x48c1ff
cmp ebp, dword [esp + 0x28]
ja 0x48c259
mov edi, dword [esp + 0x24]
push 0
push 0xa
push ecx
push edx
call fcn.005896b0
mov ecx, edx
xor edx, edx
add eax, ebp
adc ecx, edx
mov edx, eax
cmp esi, ebx
jb 0x48c1ba
cmp byte [esp + 0x17], 0
je 0x48c291
cmp edx, dword [esp + 0x18]
jne 0x48c265
cmp ecx, dword [esp + 0x1c]
jne 0x48c265
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x50], esp
push connect
push 0
call fcn.0048f1d0
mov edi, dword [esp + 0x54]
call fcn.0048f4d0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
jmp 0x48c2d0
neg edx
adc ecx, 0
neg ecx
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x50], esp
push ecx
push edx
call fcn.0048f1d0
mov edi, dword [esp + 0x54]
call fcn.0048f4d0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
test ecx, ecx
ja 0x48c29f
jb 0x48c26c
cmp edx, 0x7fffffff
jbe 0x48c26c
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x50], esp
push ecx
push edx
call fcn.0048f200
mov edi, dword [esp + 0x54]
call fcn.0048f4d0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 0xc
push 0xffffffffffffffff
push 0x5b3bb4
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x62c930]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62c930]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x13c]
fldz
mov ebp, dword [esp + 0x140]
fstp qword [esp + 0x1c]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
cmp ecx, eax
je 0x48c359
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x110]
call fcn.00407990
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x13c], ebx
call fcn.0048cf90
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0x13c], 1
call fcn.0048ce00
mov edx, dword [eax]
mov ecx, dword [edx + 4]
test byte [ecx + eax + 8], 6
je 0x48c4c7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp ecx, eax
je 0x48c3c2
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00407990
lea edx, [esp + 0x28]
push edx
mov edi, 0x6048bc
lea esi, [esp + 0x64]
mov byte [esp + 0x138], 2
call fcn.0048e430
add esp, 4
push eax
mov edi, 0x6108e8
lea esi, [esp + 0x48]
mov byte [esp + 0x138], 3
call fcn.00432910
add esp, 4
mov edx, dword [esp + 0x18]
push ebx
push ebp
mov ecx, eax
mov byte [esp + 0x13c], 4
call fcn.0048ccc0
mov esi, 0x10
mov byte [esp + 0x17], al
cmp dword [esp + 0x5c], esi
jb 0x48c42b
mov eax, dword [esp + 0x48]
push eax
call fcn.005759d0
add esp, 4
mov edi, 0xf
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x78], esi
jb 0x48c44f
mov ecx, dword [esp + 0x64]
push ecx
call fcn.005759d0
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x40], esi
jb 0x48c46e
mov edx, dword [esp + 0x2c]
push edx
call fcn.005759d0
add esp, 4
lea ecx, [esp + 0xcc]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x134], bl
call fcn.0048d020
lea eax, [esp + 0xcc]
push eax
mov dword [esp + 0xd0], vtable.std::ios_base.0
call fcn.005a5a42
add esp, 4
cmp dword [esp + 0x120], esi
jb 0x48c4c1
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.005759d0
add esp, 4
mov al, byte [esp + 0x17]
jmp 0x48c540
fld qword [esp + 0x1c]
mov edi, dword [esp + 0x144]
sub esp, 0x18
mov eax, esp
mov byte [eax + 8], 3
fstp qword [eax]
and dword [eax + 8], 0xfffffeff
mov dword [esp + 0x30], esp
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
call fcn.0048f4d0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x134], bl
call fcn.0048d020
lea edx, [esp + 0xcc]
push edx
mov dword [esp + 0xd0], vtable.std::ios_base.0
call fcn.005a5a42
add esp, 4
cmp dword [esp + 0x120], 0x10
jb 0x48c53e
mov eax, dword [esp + 0x10c]
push eax
call fcn.005759d0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.005832f8
add esp, 0x124
ret 0xc