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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push str.SERVER:_initiating
mov dword [esp + 0x34], ebx
call fcn.0040f8f6
push dword [esp + 0x50]
mov esi, dword [esp + 0x50]
push esi
call fcn.0040e5c6
push dword [esp + 0x5c]
mov ebp, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], ebp
call fcn.0040faf3
add esp, 0x10
test eax, eax
jne 0x40ed43
push dword [esp + 0x50]
push str.The_given_GUID__s_is_not_valid
push ebx
call fcn.00408f70
mov edi, dword [esp + 0x78]
push eax
push edi
call fcn.004418a5
add esp, 0x14
jmp 0x40f4e9
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.0041699b
push eax
call fcn.0041f504
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.004169a7
push eax
call fcn.0041fc48
push ebx
push dword [esp + 0x34]
mov edi, eax
mov dword [esp + 0x2c], edi
call fcn.0041f329
push ebx
push edi
call fcn.0041fa3d
mov edi, dword [esp + 0x40]
push 2
push edi
call fcn.0041f65d
call fcn.004231bd
push eax
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.004702a9
add esp, 0x30
test eax, eax
je 0x40ee02
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.004231b3
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push ecx
push eax
call fcn.00421404
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x24], ebp
test ebp, ebp
jne 0x40edf3
push 0xf
call fcn.00408f70
push eax
push dword [esp + 0x18]
call fcn.0044171c
add esp, 0xc
test eax, eax
jne 0x40edf3
push dword [esp + 0x10]
mov edi, dword [esp + 0x70]
push edi
call fcn.00441858
pop ecx
jmp 0x40f4b7
lea eax, [esp + 0x10]
push eax
call fcn.0044162e
pop ecx
test ebp, ebp
jne 0x40ee61
call fcn.004232ae
push eax
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.004702a9
pop ecx
pop ecx
test eax, eax
je 0x40ee61
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
mov eax, dword [esi + 0xc]
push dword [esp + 0x6c]
push dword [eax]
call fcn.00423314
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x24], ebp
test ebp, ebp
jne 0x40ee54
push 0xf
call fcn.00408f70
push eax
push dword [esp + 0x18]
call fcn.0044171c
add esp, 0xc
test eax, eax
je 0x40eddf
lea eax, [esp + 0x10]
push eax
call fcn.0044162e
pop ecx
jmp 0x40ee81
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x6c]
push edi
call fcn.0041f51e
add esp, 0xc
cmp dword [esp + 0x10], ebx
jne 0x40eddf
test ebp, ebp
je 0x40eeb0
call fcn.004146ad
test eax, eax
je 0x40eebb
push ebp
call fcn.0041f130
mov esi, eax
push esi
push str.SERVER:_received_credentials__s
call fcn.0040f8f6
push esi
call fcn.00441dce
mov esi, dword [esp + 0x58]
add esp, 0x10
jmp 0x40eebb
push str.SERVER:_didnt_receive_any_credentials
call fcn.0040f8f6
pop ecx
call fcn.0041f0f5
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, ebx
mov dword [esp + 0x18], eax
sub eax, ebx
je 0x40f072
sub eax, 1
je 0x40efb6
push str.SERVER:_WaitingForBegin
call fcn.0040f8f6
pop ecx
push edi
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.0041699b
pop ecx
push eax
call fcn.0040f58c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f4a9
push esi
push str.SERVER:_WaitingForBegin__read__s
call fcn.0040f8f6
push str.BEGIN
push esi
call fcn.004486a3
add esp, 0x10
test eax, eax
je 0x40f3e0
push str.NEGOTIATE_UNIX_FD
push esi
call fcn.004486a3
pop ecx
pop ecx
push esi
test eax, eax
jne 0x40ef82
call fcn.00441dce
test byte [esp + 0x60], 1
pop ecx
je 0x40ef7b
or dword [esp + 0x34], 1
mov esi, str.AGREE_UNIX_FD_r_n
push esi
push str.SERVER:_writing__s
call fcn.0040f8f6
push edi
push dword [esp + 0x74]
push esi
push dword [esp + 0x28]
call fcn.0041fc83
add esp, 0x18
jmp 0x40efa9
mov esi, str.ERROR__fd_passing_not_offered__r_n
jmp 0x40ef5c
call fcn.00441dce
mov esi, str.ERROR__Unknown_Command__r_n
push esi
push str.SERVER:_writing__s
call fcn.0040f8f6
push edi
push dword [esp + 0x78]
push esi
push dword [esp + 0x2c]
call fcn.0041fc83
add esp, 0x1c
test eax, eax
je 0x40f4a9
jmp 0x40f114
push str.SERVER:_WaitingForData
call fcn.0040f8f6
push edi
push dword [esp + 0x70]
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x30]
call fcn.0040f542
mov ebp, eax
push ebp
push str.SERVER:_WaitingForData__read__s
call fcn.0040f8f6
add esp, 0x1c
test ebp, ebp
je 0x40f4a9
push 0x50168c
push ebp
call fcn.004bb3f0
pop ecx
pop ecx
test eax, eax
je 0x40f011
push str.DATA
push ebp
call fcn.00447b46
pop ecx
pop ecx
test eax, eax
je 0x40f3f0
lea eax, [ebp + 4]
mov dword [esp + 0x2c], ebx
push eax
call fcn.00447c7a
push ebp
mov esi, eax
call fcn.00441dce
push esi
call fcn.00447bce
push eax
call fcn.00447b9e
push edi
lea eax, [esp + 0x40]
push eax
push esi
call fcn.0040fa30
push esi
mov ebp, eax
call fcn.00441dce
add esp, 0x20
test ebp, ebp
je 0x40f409
push dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
push ebp
push esi
call fcn.0041dc1e
push ebp
call fcn.00441dce
mov ebp, dword [esp + 0x34]
add esp, 0x10
jmp 0x40f23a
push str.SERVER:_WaitingForAuth
call fcn.0040f8f6
push edi
push dword [esp + 0x70]
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x30]
call fcn.0040f542
mov esi, eax
push esi
push str.SERVER:_WaitingForAuth__read__s
call fcn.0040f8f6
add esp, 0x1c
test esi, esi
je 0x40f4a9
push 0x5017e8
push esi
call fcn.004486a3
pop ecx
pop ecx
test eax, eax
jne 0x40f11d
push 0x501514
push 0x5017f0
push str.REJECTED
push dword [esp + 0x60]
push dword [esp + 0x58]
call fcn.0040f9b7
push eax
push str.SERVER:_writing__s
mov dword [esp + 0x48], eax
call fcn.0040f8f6
push edi
push dword [esp + 0x88]
push dword [esp + 0x50]
push dword [esp + 0x3c]
call fcn.0041fc83
add esp, 0x2c
push dword [esp + 0x2c]
test eax, eax
je 0x40f416
call fcn.00441dce
push esi
call fcn.00441dce
pop ecx
pop ecx
mov eax, dword [esp + 0x18]
jmp 0x40f3d7
push str.AUTH
push esi
call fcn.00447b46
pop ecx
pop ecx
test eax, eax
je 0x40f48d
push ebx
push 0x501514
push esi
call fcn.004481b8
push eax
mov dword [esp + 0x28], eax
call fcn.00448312
add esp, 0x10
dec eax
sub eax, 1
je 0x40f167
sub eax, 1
jne 0x40f428
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
jmp 0x40f16f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ebx
push 4
pop ecx
push esi
mov eax, dword [ecx + eax]
mov dword [esp + 0x40], eax
call fcn.00441dce
mov esi, dword [esp + 0x40]
push esi
push dword [esp + 0x50]
call fcn.0040f97f
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
je 0x40f37d
cmp dword [esp + 0x54], ebx
jne 0x40f1b7
push str.ANONYMOUS
push esi
call fcn.004486a3
pop ecx
pop ecx
test eax, eax
je 0x40f37d
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40f1c6
push eax
call fcn.004760d1
pop ecx
mov eax, dword [esp + 0x48]
push ebx
push ebp
push str.credentials
mov eax, dword [eax + 0xc]
push dword [eax]
push str.stream
push dword [esp + 0x50]
call fcn.00475440
mov ecx, dword [esp + 0x44]
add esp, 0x18
mov dword [esp + 0x1c], eax
mov eax, ebx
mov dword [esp + 0x3c], eax
mov esi, ebx
test ecx, ecx
je 0x40f218
push edi
lea eax, [esp + 0x40]
push eax
push ecx
call fcn.0040fa30
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40f44f
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.0041dc51
push esi
call fcn.00441dce
push dword [esp + 0x28]
call fcn.00447f62
add esp, 0x14
mov esi, dword [esp + 0x1c]
push esi
call fcn.0041dc45
pop ecx
sub eax, 1
je 0x40f378
sub eax, 1
jne 0x40f2df
lea eax, [esp + 0x40]
push eax
push esi
call fcn.0041dc34
mov dword [esp + 0x34], eax
pop ecx
pop ecx
test eax, eax
je 0x40f23a
cmp dword [esp + 0x40], ebx
jne 0x40f27d
push str.DATA_r_n
call fcn.00447c7a
pop ecx
mov esi, eax
jmp 0x40f2a5
push dword [esp + 0x40]
push eax
call fcn.00414969
mov esi, eax
push esi
push str.DATA__s_r_n
call fcn.00447cb0
push esi
mov dword [esp + 0x50], eax
call fcn.00441dce
mov esi, dword [esp + 0x50]
add esp, 0x14
push dword [esp + 0x2c]
call fcn.00441dce
push esi
push str.SERVER:_writing__s
call fcn.0040f8f6
push edi
push dword [esp + 0x78]
push esi
push dword [esp + 0x2c]
call fcn.0041fc83
add esp, 0x1c
push esi
test eax, eax
je 0x40f3e9
call fcn.00441dce
pop ecx
jmp 0x40f236
sub eax, 1
je 0x40f371
cmp dword [esp + 0x58], ebx
je 0x40f30c
test ebp, ebp
je 0x40f468
push ebx
push dword [esp + 0x34]
push ebp
call fcn.0041f0d2
add esp, 0xc
test eax, eax
je 0x40f468
cmp dword [esp + 0x4c], ebx
je 0x40f330
mov eax, dword [esp + 0x48]
push ebp
mov eax, dword [eax + 0xc]
push dword [eax]
push dword [esp + 0x54]
call fcn.00415ffd
add esp, 0xc
test eax, eax
je 0x40f486
push dword [esp + 0x50]
push str.OK__s_r_n
call fcn.00447cb0
mov esi, eax
push esi
push str.SERVER:_writing__s
call fcn.0040f8f6
push edi
push dword [esp + 0x7c]
push esi
push dword [esp + 0x30]
call fcn.0041fc83
add esp, 0x20
push esi
test eax, eax
je 0x40f3e9
call fcn.00441dce
pop ecx
push 2
pop eax
jmp 0x40f3d3
push 0x501514
jmp 0x40f38d
xor eax, eax
inc eax
jmp 0x40f3d3
push dword [esp + 0x18]
call fcn.00447f62
mov dword [esp], 0x501514
push 0x5017f0
push str.REJECTED
push dword [esp + 0x60]
push dword [esp + 0x58]
call fcn.0040f9b7
mov esi, eax
push esi
push str.SERVER:_writing__s
call fcn.0040f8f6
push edi
push dword [esp + 0x88]
push esi
push dword [esp + 0x3c]
call fcn.0041fc83
add esp, 0x2c
test eax, eax
je 0x40f3e8
push esi
call fcn.00441dce
pop ecx
mov eax, ebx
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x48]
jmp 0x40eece
mov dword [esp + 0x28], 1
push esi
call fcn.00441dce
jmp 0x40f422
push ebp
push str.Unexpected_line__s_while_in_WaitingForData_state
push ebx
call fcn.00408f70
push eax
push edi
call fcn.004418a5
push ebp
jmp 0x40f4a1
push str.DATA_response_is_malformed:
push edi
call fcn.00441834
jmp 0x40f421
call fcn.00441dce
push esi
call fcn.00441dce
pop ecx
pop ecx
jmp 0x40f4a9
push esi
push str.Unexpected_line__s_while_in_WaitingForAuth_state
push ebx
call fcn.00408f70
push eax
push edi
call fcn.004418a5
push dword [esp + 0x2c]
call fcn.00447f62
push esi
call fcn.00441dce
add esp, 0x1c
jmp 0x40f4a9
push str.Initial_response_is_malformed:
push edi
call fcn.00441834
push dword [esp + 0x20]
call fcn.00447f62
add esp, 0xc
jmp 0x40f4a9
push str.User_IDs_must_be_the_same_for_peer_and_server
call fcn.00451b5b
pop ecx
push eax
push ebx
call fcn.00408f70
push eax
push edi
call fcn.004418d8
add esp, 0x10
jmp 0x40f4a9
push str.Cancelled_via_GDBusAuthObserver::authorize_authenticated_peer
jmp 0x40f46d
push esi
push str.Unexpected_line__s_while_in_WaitingForAuth_state
push ebx
call fcn.00408f70
push eax
push edi
call fcn.004418a5
push esi
call fcn.00441dce
add esp, 0x18
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40f4b8
push eax
call fcn.004760d1
pop ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40f4c7
push eax
call fcn.004760d1
pop ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40f4d6
push eax
call fcn.004760d1
pop ecx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40f4e5
push eax
call fcn.004760d1
pop ecx
mov ebp, dword [esp + 0x24]
test edi, edi
je 0x40f4f1
cmp dword [edi], ebx
jne 0x40f520
cmp dword [esp + 0x28], ebx
je 0x40f51c
mov eax, dword [esp + 0x60]
test eax, eax
je 0x40f505
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov esi, dword [esp + 0x64]
test esi, esi
je 0x40f51c
test ebp, ebp
je 0x40f51a
push ebp
call fcn.00475e17
pop ecx
mov ebx, eax
mov dword [esi], ebx
mov ebx, dword [esp + 0x28]
test ebp, ebp
je 0x40f52b
push ebp
call fcn.004760d1
pop ecx
push ebx
push str.SERVER:_Done__authenticated_d
call fcn.0040f8f6
pop ecx
pop ecx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x34
ret