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

Disassembly:
sub esp, 0x50
mov eax, dword [0x5923b4]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
push ebx
mov ebx, dword [esp + 0x58]
push ebp
mov ebp, dword [esp + 0x68]
push esi
xor esi, esi
mov dword [esp + 0x10], eax
push esi
push 0x18
lea eax, [esp + 0x30]
mov dword [esp + 0x20], ebx
push esi
push eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], 0
call fcn.00414af0
push esi
push 0x18
lea eax, [esp + 0x58]
push esi
push eax
call fcn.00414af0
push dword [ebp]
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], 1
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 1
mov dword [esp + 0x64], 0xffffffff
call fcn.0054a8f0
mov ebp, eax
add esp, 0x24
test ebp, ebp
jne 0x496b17
push eax
push 1
call fcn.0053dde0
push str.Out_of_memory__n
call fcn.0053d620
add esp, 0xc
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00424604
add esp, 0x50
ret
push edi
push ebx
call fcn.004dfc60
add esp, 4
test eax, eax
je 0x496f64
lea esp, [esp]
mov edi, dword [esp + 0x68]
test edi, edi
jle 0x496f64
inc dword [0x59e9cc]
inc dword [0x59e9c8]
push esi
push ebx
call fcn.004dfd50
add esp, 8
test eax, eax
jne 0x496b65
inc esi
push esi
push ebx
call fcn.004dfd50
add esp, 8
test eax, eax
je 0x496b56
push esi
dec edi
push ebx
mov dword [esp + 0x70], edi
call fcn.004dfc70
mov eax, dword [esp + 0x2c]
add esp, 8
cmp esi, dword [eax]
jne 0x496ed0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 0
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.0054a950
add esp, 8
mov dword [esp + 0x2c], eax
call fcn.005463c0
test eax, eax
je 0x496bc3
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x40]
push 1
call fcn.00546200
add esp, 0x1c
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xffffffff
je 0x496d6a
mov eax, dword [0x59a8e8]
test eax, eax
jle 0x496be9
sub eax, dword [esp + 0x7c]
cmp dword [0x5a308c], eax
jge 0x496d6a
mov eax, dword [0x599b5c]
test eax, eax
je 0x496c4c
cmp eax, ecx
jge 0x496c4c
push 0
push 1
call fcn.0053dde0
push dword [esp + 0x34]
push str.Highest_file_descriptor_allowed___d__has_been_reached._n
call fcn.0053d620
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x496c29
push eax
call fcn.0050d560
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x496b90
push eax
call fcn.00451e43
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
jmp 0x496b90
mov eax, dword [0x59c53c]
mov eax, dword [eax + 0x1b0]
and dword [eax + 0x1cc0], 0x7fffffff
cmp esi, 0xffffffff
je 0x496b90
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x496b90
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 1
push ecx
push 0x8004667e
push eax
call fcn.004ded50
cmp dword [0x59a8ec], 0
jne 0x496ced
push str.TCP_NODELAY
push dword [0x59c53c]
mov dword [0x59a8ec], 1
call fcn.004c14d0
add esp, 8
push 0
push 1
test eax, eax
je 0x496cdb
call fcn.0053dde0
push str.TCP_NODELAY_enabled_n
call fcn.0053d620
add esp, 0xc
mov dword [0x59a8f0], 1
jmp 0x496cf6
call fcn.0053dde0
push str.TCP_NODELAY_NOT_enabled_n
call fcn.0053d620
add esp, 0xc
cmp dword [0x59a8f0], 0
je 0x496d12
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push eax
push 1
push 6
push dword [esp + 0x3c]
call fcn.004dee70
lea eax, [esp + 0x2c]
push 0xffffffffffffffff
push eax
call fcn.005419c0
push dword [esp + 0x18]
mov edi, eax
call fcn.0050d5b0
add esp, 0xc
test eax, eax
je 0x496d43
push dword [esp + 0x10]
call fcn.0050d5b0
push eax
push edi
call fcn.005492b0
add esp, 0xc
push dword [esp + 0x2c]
push ebx
call fcn.004dfd70
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x496b90
push eax
call fcn.0050d560
add esp, 4
jmp 0x496b84
push ebp
call fcn.0054abf0
mov ebx, dword [esp + 0x20]
add esp, 4
cmp eax, 0x2733
je 0x496f1a
cmp dword [esp + 0x2c], 0xffffffff
jne 0x496dad
cmp dword [0x59a8e8], 0
jne 0x496dff
push ebp
call fcn.0054abf0
add esp, 4
cmp eax, 0x2afa
je 0x496f1a
cmp dword [esp + 0x2c], 0xffffffff
je 0x496dff
mov eax, dword [0x59c53c]
test eax, eax
je 0x496de0
push 0
push 0xff
push 0
push 0
push 0x1c9
mov dword [eax + 0x80], 0xffffff96
push 0xffffffffffffff96
push dword [0x59c53c]
call fcn.004bbb10
add esp, 0x1c
cmp dword [0x59c538], 0
je 0x496dff
push 0xffffffffffffffff
push 1
call fcn.0053dde0
push str.Maxed_out____
call fcn.0053d620
add esp, 0xc
mov eax, dword [0x59c53c]
mov ecx, dword [eax + 0x1b0]
mov eax, dword [ecx + 0x1cc0]
test eax, eax
js 0x496e9b
or eax, 0x80000000
push 0
push 1
mov dword [ecx + 0x1cc0], eax
call fcn.0053dde0
push str.This_license_server_system_can_handle_no_more__n
call fcn.0053d620
push 0
push 1
call fcn.0053dde0
push str.concurrent_clients_since_it_is_out_of_file_descriptors._n
call fcn.0053d620
push 0
push 1
call fcn.0053dde0
push str.We_recommend_splitting_your_licenses_among_more_n
call fcn.0053d620
push 0
push 1
call fcn.0053dde0
push str.license_server_systems_and_using_a_license_file_list__n
call fcn.0053d620
push 0
push 1
call fcn.0053dde0
push str.so_FLEXenabled_applications_can_checkout_from_more_servers._n
call fcn.0053d620
push 0
push 1
call fcn.0053dde0
add esp, 0x44
push str.Although__more_license_server_systems_will_improve_response._n
call fcn.0053d620
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x496eb4
push eax
call fcn.0050d560
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x496f1a
push eax
call fcn.00451e43
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
jmp 0x496f1a
lea eax, [esp + 0x44]
mov dword [esp + 0x44], esi
push eax
call fcn.00541670
mov edi, eax
add esp, 4
test edi, edi
je 0x496f2d
lea eax, [esp + 0x20]
push eax
push edi
push dword [0x59c53c]
call fcn.00549340
add esp, 0xc
test eax, eax
jne 0x496f64
push dword [esp + 0x7c]
lea eax, [esp + 0x48]
push dword [esp + 0x24]
push edi
push dword [esp + 0x20]
push ebx
push eax
call fcn.00497130
add esp, 0x18
push ebx
call fcn.004dfc60
add esp, 4
test eax, eax
jne 0x496b30
jmp 0x496f64
cmp dword [0x59c538], 0
je 0x496f4c
push 0xffffffffffffffff
push 1
call fcn.0053dde0
push str.Dropped_connection____cant_find_client_n
call fcn.0053d620
add esp, 0xc
cmp esi, 0xffffffff
je 0x496f64
push esi
call fcn.004dec30
push esi
push dword [esp + 0x18]
call fcn.004dfc70
add esp, 8
push ebp
call fcn.0054abc0
mov ecx, dword [esp + 0x60]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00424604
add esp, 0x50
ret