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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [ebp + 8]
add eax, 0x74
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x3c
push ecx
call fcn.00406519
add esp, 8
test eax, eax
je 0x49481f
push 0x6a4edc
mov edx, dword [ebp + 0xc]
add edx, 0x3c
push edx
call fcn.00406519
add esp, 8
test eax, eax
jne 0x494bba
mov dword [ebp - 4], 0xc8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x78], 2
je 0x494850
jmp 0x494d7f
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10a4]
mov dword [ebp - 0x20], ecx
push 0
push 0x6a4ef4
push 0x6a4ef4
mov edx, dword [ebp - 0x20]
push edx
call fcn.0040311b
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0
push 0x12
mov eax, dword [ebp - 0x20]
push eax
call fcn.00402d6a
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x24], 0
je 0x4948eb
cmp dword [ebp - 0xc], 0
je 0x4948eb
mov ecx, dword [ebp - 0x24]
add ecx, 0x20
push ecx
call fcn.00492e10
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4948eb
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x20]
cmp ecx, dword [eax + 0x14]
jae 0x4948d9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x20], edx
jmp 0x4948eb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x84]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00492e60
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x54]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
mov eax, dword [ecx + 0x5c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd4], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
cmp dword [eax + 0x20], 0
jne 0x49497f
mov dword [ebp - 0x58], 0x73baa4
mov dword [ebp - 0x54], 7
call fcn.00406a8c
cmp eax, 4
jl 0x494961
push str.Receiving_unsubscription_request__Expires0_.
mov ecx, dword [ebp + 8]
push ecx
call fcn.004034e5
add esp, 8
xor edx, edx
jne 0x494946
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 5
mov edx, dword [ebp + 8]
push edx
call fcn.00493110
add esp, 0x14
jmp 0x4949af
mov eax, dword [ebp + 8]
cmp dword [eax + 0x54], 0
jne 0x4949af
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x54], 2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x54]
mov ecx, dword [eax*8 + 0x739b30]
mov edx, dword [eax*8 + 0x739b34]
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], edx
lea ecx, [ebp - 0x80]
push ecx
call fcn.00495ab0
add esp, 4
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
je 0x494a06
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4c], 0
je 0x494a06
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
call edx
add esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
cmp dword [ecx + 0x20], 0
jne 0x494a06
mov dword [ebp - 4], 0xc8
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 0
cmp dword [ebp - 4], 0xc8
jge 0x494a33
push 0x893
push 0x73bae0
push 0x73bb74
call fcn.0040606e
add esp, 0xc
cmp dword [ebp - 4], 0xc8
jge 0x494a43
mov dword [ebp - 4], 0xc8
cmp dword [ebp - 4], 0x2bb
jle 0x494a63
push 0x896
push str.D:Programming_LibrariesPJSIPpjprojectpjsip_srcpjsip_simpleevsub.c
push str.st_code___699
call fcn.0040606e
add esp, 0xc
cmp dword [ebp - 4], 0x2bb
jle 0x494a73
mov dword [ebp - 4], 0x1f4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00493e40
add esp, 0x1c
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x494ae3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
push eax
call fcn.00407bf3
add esp, 8
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xd4]
push edx
call fcn.00492c60
add esp, 8
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
push eax
call fcn.004075c2
add esp, 0xc
mov eax, dword [ebp - 4]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x494b6b
mov edx, dword [ebp + 8]
cmp dword [edx + 0x54], 0
jne 0x494b19
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00493110
add esp, 0x14
mov edx, dword [ebp + 8]
cmp dword [edx + 0x54], 5
je 0x494b69
call fcn.00406a8c
cmp eax, 5
jl 0x494b4a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov edx, dword [ecx + 0x20]
push edx
push str.UAS_timeout_in__d_seconds
mov eax, dword [ebp + 8]
push eax
call fcn.00406d98
add esp, 0xc
xor ecx, ecx
jne 0x494b22
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
mov ecx, dword [eax + 0x20]
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.00492e90
add esp, 0xc
jmp 0x494b83
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x54], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 0x58], eax
mov dword [edx + 0x5c], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0xd0], 0
je 0x494bb5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004042fa
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0xd0], 0
jmp 0x494d7f
push 0x6a4ee8
mov ecx, dword [ebp + 0xc]
add ecx, 0x3c
push ecx
call fcn.00406519
add esp, 8
test eax, eax
jne 0x494d52
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x78], 4
jne 0x494c8d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x6c], 0x191
je 0x494bff
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x6c], 0x197
jne 0x494c8d
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x104]
cmp dword [edx + 0x42c], 0
je 0x494c1f
jmp 0x494d7f
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x104]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
add edx, 0x140
push edx
call fcn.00407649
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x494c69
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
push edx
call fcn.00406aff
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x494c88
mov eax, dword [ebp + 0xc]
add eax, 0x70
push eax
push 0
push 0
push 5
mov ecx, dword [ebp + 8]
push ecx
call fcn.00493110
add esp, 0x14
jmp 0x494d7f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x54], 5
jne 0x494c9b
jmp 0x494d7f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x6c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x494d50
mov dword [ebp - 8], 0
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x18], 3
jne 0x494d11
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x6c], 0x1e1
jne 0x494cd7
mov dword [ebp - 8], 1
jmp 0x494d0f
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x10a4]
mov dword [ebp - 0x44], ecx
push 0
push 0x6a4f2c
mov edx, dword [ebp - 0x44]
push edx
call fcn.00401aa0
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x494d0f
mov dword [ebp - 8], 1
jmp 0x494d2d
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 1
jne 0x494d2d
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x6c], 0x198
jne 0x494d2d
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
je 0x494d50
mov edx, dword [ebp + 0xc]
add edx, 0x70
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 5
mov ecx, dword [ebp + 8]
push ecx
call fcn.00493110
add esp, 0x14
jmp 0x494d7f
jmp 0x494d7f
call fcn.00406a8c
cmp eax, 4
jl 0x494d7b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x40]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x44]
push edx
push str.Unexpected_transaction_method__.s
mov eax, dword [ebp + 8]
push eax
call fcn.004034e5
add esp, 0x10
xor ecx, ecx
jne 0x494d52
mov esp, ebp
pop ebp
ret